www.webdeveloper.com
Page 1 of 2 12 LastLast
Results 1 to 15 of 16

Thread: images in Firefox not showing up

  1. #1
    Join Date
    Oct 2005
    Posts
    11

    images in Firefox not showing up

    Hello,
    If someone can take a look at this url:
    http://www.kmdesignworks.com/redesign/index.asp
    click on any article on the left..
    images in are not showing up in Firefox, at least in my browser. The images are on access db.. they show up in IE... any ideas. Hard coded images are ok in both browsers.

    thanks

  2. #2
    Join Date
    Sep 2005
    Posts
    33
    Hi kmott!

    replace the backslashes '\' to slashes '/'...
    if that is not enough, try to use relative pathes instead of static once.

    best regards,
    d4p41n

  3. #3
    Join Date
    Oct 2005
    Posts
    11
    thanks.. I'll do this ASAP..I can't FTP from where I'm at.
    I guess the error could occur when you right click copy the image path from your hard drive and paste into access, I would think that'd be ok ..I'll post back when I can fix it ....thanks!

  4. #4
    Join Date
    Oct 2005
    Posts
    11
    Changing the '/' 's didn't do it. Any Fire fox users able to see the images??

  5. #5
    Join Date
    Apr 2003
    Location
    Rosemount, MN
    Posts
    2,287
    I see the images of the page, but not sure if it is the images you are talking about
    My settings

    Browser :: FireFox 1.5
    Resolution :: 1152x864
    Connection :: Cable Modem 2Mbs

  6. #6
    Join Date
    Oct 2005
    Posts
    11
    thanks...the images in question are in the upper left hand corner of each article.. after you click special interest for example..these are stored as paths in access and do show up in IE..

  7. #7
    Join Date
    May 2005
    Posts
    2,040
    There's something strange with your character encoding? The validator can't figure it out and gives strange errors. The css validator also give bleches on it.

    You also need a doctype and your <style> tag is wrong.

  8. #8
    Join Date
    Oct 2005
    Posts
    11
    Ok thanks
    actually when designing the page, I was going back and forth between browsers to see how the page rendered in both IE and Firefox. It looked pretty much the same in both (layout wise) but the database images aren't visible in FF. That was the only odd thing

    You mentioned the style tag error? how can I fix this?



    also,which doc type do you suggest, if you use a strict XHTML doc type and there are errors will the page still render?
    thanks for any suggestions

  9. #9
    Join Date
    Apr 2003
    Location
    Rosemount, MN
    Posts
    2,287
    What he mean by doc type is this, and add it before the html tag
    Code:
    <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN"
       "http://www.w3.org/TR/html4/strict.dtd">
    and the validator, I think is trying to find this, but you dont have the type: <style type="text/css">

    Pesonally, I woudn't add the style tag in the actual html doc itself, I would have it external, for one reason, If you change it once, all the pages linked to it will have the same layout, then you dont have to change every html doc every time you want to change the CSS.
    My settings

    Browser :: FireFox 1.5
    Resolution :: 1152x864
    Connection :: Cable Modem 2Mbs

  10. #10
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    The backslashes are still there in the image URL
    At least 98% of internet users' DNA is identical to that of chimpanzees

  11. #11
    Join Date
    Oct 2005
    Posts
    11
    Little guy,
    Actually, the style sheet is in an ASP include file for single source updates the source code is just displaying the HTML.. Ok understand the error on the style tag, I'll update that and the DOC type..thanks

    Fang ,
    I don't get the backslash thing on the images, the path is cut and pasted into access, right click on the image..properties and paste, why would there be an issue with this? can you see the images in IE? thanks

  12. #12
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    FF doesn't like paths with backslashes, IE couldn't give a xxxx whether they are slashes or backslashes.
    At least 98% of internet users' DNA is identical to that of chimpanzees

  13. #13
    Join Date
    Oct 2005
    Posts
    11

  14. #14
    Join Date
    Apr 2003
    Location
    Netherlands
    Posts
    21,654
    In your document it's http:\\www.kmdesignworks.com\Demo\conference1.jpg
    At least 98% of internet users' DNA is identical to that of chimpanzees

  15. #15
    Join Date
    Oct 2005
    Posts
    11
    Ok I'm getting it.. regardless of how the path is inserted in my DB the forward slashes are changed to backslashes in the document...

    I'll try reversing the slashes again ..all forward right?

Thread Information

Users Browsing this Thread

There are currently 1 users browsing this thread. (0 members and 1 guests)

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
HTML5 Development Center



Recent Articles