Agent profile picture in signature

Moderator: crythias

Locked
TobiKri
Znuny newbie
Posts: 6
Joined: 29 Aug 2011, 17:46
Znuny Version: 3.3.8

Agent profile picture in signature

Post by TobiKri »

Hi all!

We just added a few custom fields to the agents properties, e.g. job title and profile picture (base64 encoded).

Job title works perfect, but adding the profile picture with the appropriate tag is not possible. OTRS escapes the image tag in the signature and we only see the html code in the signature.

Is there any way to work around this?
Thanks
Tobias
jojo
Znuny guru
Posts: 15020
Joined: 26 Jan 2007, 14:50
Znuny Version: Git Master
Contact:

Re: Agent profile picture in signature

Post by jojo »

did you try an external link?
"Production": OTRS™ 8, OTRS™ 7, STORM powered by OTRS
"Testing": ((OTRS Community Edition)) and git Master

Never change Defaults.pm! :: Blog
Professional Services:: http://www.otrs.com :: enjoy@otrs.com
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Agent profile picture in signature

Post by crythias »

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
TobiKri
Znuny newbie
Posts: 6
Joined: 29 Aug 2011, 17:46
Znuny Version: 3.3.8

Re: Agent profile picture in signature

Post by TobiKri »

Thanks for your reply!

External link is not wanted because of issues when opening those emails in outlook. You have to allow external images explicitly for every domain.

Adding img tag to the js does not work. OTRS escapes that image tag in the signature like this:

<img src="data:image/png;base64,iVB...LONG BASE64 STRING...ORw0" />

Instead of

<img src="data:image/png;base64,iVB...LONG BASE64 STRING...ORw0" />

Do you have more ideas?

Thanks
Tobias
Locked