I’m concerned

Help with .png image files displaying correctly in my browser??

Hi! I recently purchased "PHP & MySQL: the missing manual." I'm working through the first few projects and am having a problem displaying the .png images in the .html and .php pages (scripts). I'm running the pages with Apache on my local drive (I'm on Mac OS X 10.6.8) and followed the system setup directions "to a T." The .php functions work fine but the various images (header, etc.) do not appear correctly in either Safari or Firefox so I don't think that it's the browser. I continue to have this problem even after downloading the original "missing cd" files and replacing mine with those. The .css file and others are placed in the server directory exactly as displayed in the book. This may be a simple fix for someone with more tech experience. Any ideas??
1 person has
this question
  • Hi David,

    Thanks for writing us, and I'm sorry for the delay in getting back to you. I think that the best way to troubleshoot this would be to open a few of the images themselves in your browser. Then you can see whether the images display properly. If they do, try checking the path to the files, comparing what you see in the browser to the src="" path in your files. If the paths seem to be incorrect, let us know.

    Kind Regards,

    Rachel James
    O'Reilly Media
  • (some HTML allowed)
    How does this make you feel?
    Add Image

    e.g. kidding, amused, unsure, silly happy, confident, thankful, excited sad, anxious, confused, frustrated indifferent, undecided, unconcerned