Sign In| Join
Get Help:Ask a Question in our Forums|Report a Bug|More Help Resources
Last post May 11, 2012 03:48 PM by Nasser Malik
Member
25 Points
60 Posts
May 11, 2012 02:41 PM|LINK
Hi ,
Recently we moved our application to New Server , few images are not showing .
Please suggest.
Thanks
GC
All-Star
43056 Points
7040 Posts
MVP
May 11, 2012 03:47 PM|LINK
Hello,
1. Check image paths. Use relative paths instead of absolute paths. Inspect with browser developer tools and verify the paths are correct.
2. Make sure physical images are available on the new server.
3. Clear browser cache and reload the page.
Please 'Mark as Answer' if this post helps you.
Star
11650 Points
1791 Posts
May 11, 2012 03:48 PM|LINK
if images exist than there must be some path issues
give images a complete path.
use ResolveUrl Method e.g.
<img src='<%=ResolveUrl("~") %>images/myImage1.png' alt="" />
and go through this article
http://www.codeproject.com/Articles/142013/There-is-something-about-Paths-for-Asp-net-beginne
girish.c
Member
25 Points
60 Posts
few images are not showing
May 11, 2012 02:41 PM|LINK
Hi ,
Recently we moved our application to New Server , few images are not showing .
Please suggest.
Thanks
GC
Ruchira
All-Star
43056 Points
7040 Posts
MVP
Re: few images are not showing
May 11, 2012 03:47 PM|LINK
Hello,
1. Check image paths. Use relative paths instead of absolute paths. Inspect with browser developer tools and verify the paths are correct.
2. Make sure physical images are available on the new server.
3. Clear browser cache and reload the page.
My Tech blog | My YouTube ChannelPlease 'Mark as Answer' if this post helps you.Nasser Malik
Star
11650 Points
1791 Posts
Re: few images are not showing
May 11, 2012 03:48 PM|LINK
if images exist than there must be some path issues
give images a complete path.
use ResolveUrl Method e.g.
<img src='<%=ResolveUrl("~") %>images/myImage1.png' alt="" />and go through this article
http://www.codeproject.com/Articles/142013/There-is-something-about-Paths-for-Asp-net-beginne
Skype: maleknasser1