PDA

View Full Version : Can't find images


patrick2
06-13-2006, 02:12 AM
I connected via FTP and uploaded an image into 'images/bbiz/AA-B10.gif'. When I reference it from my application as


<COLGROUP>
<COL style="WIDTH: 48pt" width=64>





e:\web\batteryfuel\htdocs\images\bbiz\AA-B10.gif it cannot be found. Is this the correct path.


Thanks,


Patrick

joelnet
06-13-2006, 02:51 AM
You can check your correct path in the control panel. Though it is best to use Server.MapPath.

If you are trying to set the 'src' attribute in the 'image' object, you cannot use local path and must use relative path (example: '/images/me.jpg')

If you still experience errors, please post URL to an example of the problem.





Joel Thoms
DiscountASP.NET
http://www.DiscountASP.NET