Would it be possible to put an image in all auto-responses?

Moderator: crythias

Locked
manuteball
Znuny newbie
Posts: 1
Joined: 09 Jul 2010, 18:08
Znuny Version: 2.4.7

Would it be possible to put an image in all auto-responses?

Post by manuteball »

Hello form Spain,

I need to include my company logo in all auto-responses generated by OTRS, would it be possible?

Thanks in advance.
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Would it be possible to put an image in all auto-respons

Post by crythias »

Admin, Signature

Click Source
Insert

Code: Select all

<img src="http://webpath.orgcom/path/to/image.jpg" alt="Your Company Name" /> 
where you want the image (please be kind and not make it 10MB in size).

This works wherever Signature is called, and in any Rich Text where it is not. Notably, it *may* not work in Notification (Event) until that has Rich Text/html support.
OTRS 6.0.x (private/testing/public) on Linux with MySQL database.
Please edit your signature to include your OTRS version, Operating System, and database type.
Click Subscribe Topic below to get notifications. Consider amending your topic title to include [SOLVED] if it is so.
Need help? Before you ask
shaned123
Znuny newbie
Posts: 25
Joined: 30 Nov 2010, 20:34
Znuny Version: 2.4

Re: Would it be possible to put an image in all auto-respons

Post by shaned123 »

Is there an OTRS version that is targeting support of HTML/Rich Text in notifications?
hvariava
Znuny newbie
Posts: 6
Joined: 13 Sep 2010, 00:17
Znuny Version: 2.4

Re: Would it be possible to put an image in all auto-respons

Post by hvariava »

You know, I tried this but I am seeing a weird behavior. I have a logo image in signature and that signature is attached to all the customer responses. The weird part is, when there is another image in the customer email, the signature logo becomes that image and all the content between signature image and that image is gone. I looked at the signature code and it seems like OTRS is reformatting that code and not putting end tag to image. i.e. it doesn't end the img tag. Even when I change the code and put "/" before the ">" of img tag, when I toggle the source, the / is gone. Not sure how to resolve this issue. Any help would be great!
hvariava
Znuny newbie
Posts: 6
Joined: 13 Sep 2010, 00:17
Znuny Version: 2.4

[SOLVED] Would it be possible to put an image in all auto-re

Post by hvariava »

Found the answer. http://bugs.otrs.org/show_bug.cgi?id=6463

Basically Kernel::Output::HTML::Layout.pm was not parsing img tags correctly. Bug listed above has a solution that works.
Locked