Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 8 of 8
  1. #1
    New to the CF scene
    Join Date
    Mar 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Image won't show up in Explorer

    I'm pulling my hair out (if I had any). I'm VERY new to HTML and CSS and am learning a ton. What I'm really learning is that IE is terrible. My site works fine in Safari, Firefox, Chrome, Opera and iOS but my header image just won't show up in Explorer. My site is www.dhphotodesigns.com
    Any help would be greatly appreciated!

  • #2
    Regular Coder dan-dan's Avatar
    Join Date
    Aug 2009
    Location
    England
    Posts
    483
    Thanks
    22
    Thanked 79 Times in 78 Posts
    It works fine with IE9. I don't have an older version to try it on though, sorry.

  • Users who have thanked dan-dan for this post:

    DHamp (03-03-2012)

  • #3
    New to the CF scene
    Join Date
    Mar 2012
    Posts
    2
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Thanks! Yeah it doesn't work in the older versions when I've tested it. Hopefully not too many people are using those older versions because I am stumped.

  • #4
    New Coder
    Join Date
    Sep 2009
    Posts
    73
    Thanks
    5
    Thanked 9 Times in 9 Posts
    As i do not have an older version of IE to test on I also can say exactly what the problem is, it does show properly in the latest version, however in looking at the code, I did see one issue that might be your cause:

    <img height="118" width="360" alt="DH Photography" src="Images/Main Navigation/DH Logo.jpg">

    the "DH Logo.jpg" file name in the src uses a space in the name, IE has had issues in the past about spaces in file names. Try renaming the file to DH-Logo.jpg and change the src= to match the new name. Also be sure to clear you cache in IE.

    Let me know if that was your issue.

  • Users who have thanked ARCLite Studio for this post:

    dan-dan (03-03-2012)

  • #5
    Senior Coder coothead's Avatar
    Join Date
    Jan 2004
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,706
    Thanks
    0
    Thanked 236 Times in 231 Posts
    Hi there DHamp,

    and a warm welcome to these forums.

    Internet Explorer pre version 9 has a problem displaying JPEG images that have CMYK, rather than the default RGB encoding.
    The problem can be resolved by opening the .JPG file in an appropriate image editor.
    Either change the mode to RGB and then "Save" or use the "Save for Web" option.

    Alternatively, you can use the converted attachment.

    coothead
    Attached Thumbnails Attached Thumbnails Image won't show up in Explorer-dh-logo.jpg  
    Last edited by coothead; 03-03-2012 at 06:20 PM.

  • Users who have thanked coothead for this post:

    dan-dan (03-03-2012)

  • #6
    Regular Coder dan-dan's Avatar
    Join Date
    Aug 2009
    Location
    England
    Posts
    483
    Thanks
    22
    Thanked 79 Times in 78 Posts
    Brilliant! I had no idea about either of these bugs.
    IE, you never fail to surprise!

  • #7
    Senior Coder coothead's Avatar
    Join Date
    Jan 2004
    Location
    chertsey, a small town 25 miles south west of london, england.
    Posts
    1,706
    Thanks
    0
    Thanked 236 Times in 231 Posts
    Hi there dan-dan,

    I believe that the CMYK encoding is used by the printing trade.

    coothead

  • #8
    New Coder
    Join Date
    Sep 2009
    Posts
    73
    Thanks
    5
    Thanked 9 Times in 9 Posts
    CootHead,

    Excellent catch, i never thought about the CMYK issue. Have not encountered it very often and had forgotten about it (One reason I do all images in PNG). Thanks for the reminder !!


  •  

    Tags for this Thread

    Posting Permissions

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