Unable to apply images

Posted by Community Admin on 03-Aug-2018 15:47

Unable to apply images

All Replies

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

Hello everyone,
I am unable to apply images to my pages.... 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 30-Jan-2012 00:00

Nrv,

Sitefinity uses "Images" to pull images out of the system. The super easy way to fix it is to rename your folder to something else. If I have to store images outside of a theme, "Img" is the one I use.

You can reference this knowledge base article for more information and a different resolution.

Hope that helps!


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

Hello frnd,
I changed ma folder name to img from images.... but still it is not getting images when i preview master page

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

Hello atlest rpl . . Isn't there available from sitefinity team to help ??

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

Nrv,

A broken, static, image on a master page doesn't really sound like a Sitefinity issue, especially since you've indicated that you're not using a folder named "Images". It could be that your src path is incorrect.

I can only guess at your site's directory structure, so modify as necessary:

<img src="/img/skype.png" alt="Skype" class="abc" />

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

Sir, I did change the name img & give src as u have suggested but still it is not working . . any other suggestions ?? i 've also tried

src="../img/skype.png" please help

 

 

 

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

When i tried asp.net image control it worked but in img src it is not working.... so wat about css.... i have given images path in my css also....i cant replace them with asp.net image control

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

Nrv,

Information supplied in the "url()" is going to need to be relative to the CSS file that is referencing it.

Please check this out for more explanation.

This thread is closed