Image in CustomerMOTD.dtl

Moderator: crythias

Locked
Naglix
Znuny newbie
Posts: 19
Joined: 03 Mar 2014, 14:36
Znuny Version: 3.3.x

Image in CustomerMOTD.dtl

Post by Naglix »

Good Day crythias,

Truly sorry to bother you with the following Question,
I was asked to add an Image onto the (CustomerMOTD.dtl) file Customer Portal.
When adding the HTML Image tag to the Customer.dtl file i have an issue with the location.
No matter where I put the picture with the src="" tag to the location of the image, the Image does not show, but the frame for the Image is on the Customer Portal but no image is shown.

Does the customer portal support images?, which it should in my eyes.
If yes, why is the image not being displayed?
src="" tag points to the folder, I looked at case sensitive and permissions.

Any reason why an Image will not show in the customer Portal?

Testing my code with html as normal works fine, but in OTRS it's not working.

Can you assist me with this?

Kind Regards,
Naglix

P.S. Sorry to bother you with something this tedious.
System Info:
OTRS: 3.3.x
OS: Linux - Ubuntu
web services: Apache2
DB: postgre
crythias
Moderator
Posts: 10170
Joined: 04 May 2010, 18:38
Znuny Version: 5.0.x
Location: SouthWest Florida, USA
Contact:

Re: Image in CustomerMOTD.dtl

Post by crythias »

First :) Hi! Second :) Please don't assume I'm the only one answering questions.

If, as you say, img tags work but "the frame for the image is on the customer portal but no image is shown" then I'd look at (View Source? Inspect element) the page and see what is being referenced for the img and why the link is broken.

Remember, it's still a web page, and HTML rules apply, including proper paths to files. The web browser that requests the image must have access to the path to the img src, so if your client web browser can see the image by placing the identical src content in the browser, it should show up on customer motd, too.
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
Locked