Image problem in VS 2005

  • Thread starter Thread starter Mike P
  • Start date Start date
M

Mike P

On my local machine, all the images that I have placed in separate
folders are viewable when I run my website. However, when I copy the
files over to my external web server, the images cannot be viewed on the
pages. Does anybody know why this might be?
 
Look at the src property (if image tag), or ImageURL property, if server
control, and see if it's pointing to a hard coded path
Also - are these Image tags (HTML), or ASP.Net Image controls?

--

David Wier
http://aspnet101.com
http://iWritePro.com - One click PDF, convert .doc/.rtf/.txt to HTML with no
bloated markup
 
Hi Mike,

Mike said:
On my local machine, all the images that I have placed in separate
folders are viewable when I run my website. However, when I copy the
files over to my external web server, the images cannot be viewed on the
pages. Does anybody know why this might be?

make sure that the account the webapplication runs under has permissions
to read for both the folder and the files (if they don't inherit them).
Also, right-click an image in the browser, select properties and have a
look at the URL for the image; maybe you have a spelling mistake?

Hope this helps,

Roland
 
Back
Top