PDA

View Full Version : HTML Based Image Won't Display from CD, Will From Flash Drive




rjwalker
Sep 10, 2009, 06:28 PM
First, I'm a win guy (although I've really liked playing with my daughters new mac laptop!- ah temptation!)

I do home inspections and distribute my reports and additional material on a cd, set up as as a web site in what I call my "CD-NET" report.

The home page (index.htm) has typical stuff, including an image in "table row B-21" and a java script image slide show in "table row C-2" (it also has links to a pdf and other html pages with various data.)

Everything works fine in every win based browser I have,

AND it works fine when I load the CD-NETsite in Safari from a flash drive.

When I burn the flash drive files to a cd, it works fine in windows but the B-2 image (the single, non-slide show image) does not show in Safari.

It gives what I assume is the standard error message for a missing image file.

FWIW, the relevant html reads:

<tr>
<TD width="40%" valign="top" align="left">
<img src="Down01\Images\Front.png" alt="Picture of House" width= "400px" border="4"
valign="top">
</td>


<td width=400 height=300 valign="top">
<img border=4 src="SlideImages/Image01.jpg" name=PictureBox width=400 height=300>
</td>


</tr>
</table>




Any ideas?



After G
Sep 10, 2009, 06:36 PM
<img src="Down01\Images\Front.png"

My guess ... your slashes are Windows file path specific it looks like. Switch them to "/" instead and see if that works?

rjwalker
Sep 10, 2009, 07:22 PM
Thanks, I'll give it a try when I can get my hands on the mac again -

But why would it work off a flash drive with the exact same files and not a CD?

I'll let you know....