Image not applied from css & master page - Front- & Back-End Development - Front- & Back-End Development - Progress Community
 Front- & Back-End Development

Image not applied from css & master page

  • Image not applied from css & master page
  • 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 ??

  • 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" />

    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