Image not applied from css & master page

Posted by Community Admin on 05-Aug-2018 15:59

Image not applied from css & master page

All Replies

Posted by Community Admin on 30-Jan-2012 00:00

Hello everyone,
I am unable to apply images to my pages from master page & css also .... I tried everything but nothing worked....

<img src="../images/skype.png"

alt="Skype" class="abc" />

Please suggest what should i do ??
Regards,
Nrv

Posted by Community Admin on 02-Feb-2012 00:00

Hello Nrv,

Have you tried adding runat = "server" to the image tag? Also make sure that you do not have an external directory called images, because the folder is by default reserved for Sitefinity.

The following code works perfectly when inserted in a master page:

<img src="myimages/smile.jpg" alt="Smile" class ="abc" runat ="server" />


Greetings,
Victor Velev
the Telerik team
Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items

This thread is closed