Get ready for BLACK FRIDAY shopping starting in

Forums

This topic is locked

why images do not show in preview?

Posted 26 Jul 2002 19:06:28
1
has voted
26 Jul 2002 19:06:28 Angela Zhou posted:
none of my images/pix show up when i tried to review in ie6. all images/pix are saved in the site folder. can anyone tell me why is that?
thanks!

Replies

Replied 27 Jul 2002 06:35:11
27 Jul 2002 06:35:11 aegis kleais replied:
How are you storing the path to the images? If you place a / on the front of the image path, the browser will look for the image residing from the TOP of the site hierarchy.

Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
Replied 27 Jul 2002 15:47:18
27 Jul 2002 15:47:18 Angela Zhou replied:
When i previewed each page individually, the images showed up, but when i tried to test the links, the images on the linked pages did not show up(they all appeared when those linked pages were previewed separately!)
where do i find the path of an image? each time i just clicked "insert image" on the object panel.
Thanks a lot!
Replied 27 Jul 2002 23:44:41
27 Jul 2002 23:44:41 aegis kleais replied:
I'm a bit confused about what you're trying to do.

When I want a dynamic image, I place the absolute URL of the image in a database field (ie, fldImagePath) When you click on IMAGE, at the top you can change it to DATA SOURCE. Then I just select the fldImagePath field of the current recordset. It dynamically writes that path as the IMG's SouRCe. Since it's absolute, it doesn't matter where you are in the website.

If you want to see why images are broken when they shouldn't be, right click on the broken image and look at it's properties; it'll show you the location it's attempting to find the image at. That can help you troubleshoot the problem.

Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])
Replied 28 Jul 2002 02:38:38
28 Jul 2002 02:38:38 Dave Thomas replied:
You'll find the image path by selecting it in your page and either;
1.Opening the tag inspector
2. Viewing the path in the properties panel
or 3. when pic is selected having the code/design window open and the relevant code will highlight itself for you. look for <IMG SRC .... > and that's your path.

If the page is online, right click on it and select 'properties'

"Get the kettle on, time for a brew"
Replied 28 Jul 2002 04:04:12
28 Jul 2002 04:04:12 Angela Zhou replied:
Thank you both! I'll check the properties, hopefully work it out soon<img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

Itsmicky
Replied 28 Jul 2002 20:51:41
28 Jul 2002 20:51:41 aegis kleais replied:
I just thought of something too. If you're using IIS and testing locally, I myself have had the problem where loading a page results in MANY broken links. However if you simply press REFRESH, some magically come in while others are still broke.

After pressing REFRESH over and over about 5 times, all images come in. VERY VERY odd but I've never found any article that talks about it. When it's something that is made by microsoft and it doesn't work right, I don't ask questions. 8<img src=../images/dmxzone/forum/icon_smile.gif border=0 align=middle>

Aegis Kleais
New Media Web Developer
(DWMX : IIS5.1 : SQL2K : WXP : ASP[VB/JS])

Reply to this topic