Results 1 to 8 of 8

Thread: Image requirements for CSS Image Gallery

  1. #1
    Join Date
    May 2011
    Posts
    46
    Thanks
    17
    Thanked 1 Time in 1 Post

    Default Image requirements for CSS Image Gallery

    Link

    In using the image gallery, I find that some images will appear but others do not even though I'm pointing to a valid jpg image file. Does this have to do the the format/size of the image? If so, how do I know what the format specifications are?

    thanks.

    Atom

  2. #2
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 517 Times in 503 Posts
    Blog Entries
    5

    Default

    if your markup is correct and you're using a valid image, then it should work fine. If you'd like further help,

    Please post a link to the page on your site that contains the problematic script so we can check it out.

  3. The Following User Says Thank You to traq For This Useful Post:

    Atom (05-27-2011)

  4. #3
    Join Date
    May 2011
    Posts
    46
    Thanks
    17
    Thanked 1 Time in 1 Post

    Default

    Quote Originally Posted by traq View Post
    if your markup is correct and you're using a valid image, then it should work fine. If you'd like further help,

    Please post a link to the page on your site that contains the problematic script so we can check it out.

    Here is the link.

    I've been putting up some new random images which I'm making with the W7 Snipping tool. They all seem to work, but other images do not display for reasons which I'm trying to understand.
    Last edited by Atom; 05-27-2011 at 03:03 AM. Reason: add info

  5. #4
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 517 Times in 503 Posts
    Blog Entries
    5

    Default

    I get a 404 page when I try to view /images/Badger.jpg. check to make sure the path is correct.

  6. The Following User Says Thank You to traq For This Useful Post:

    Atom (05-27-2011)

  7. #5
    Join Date
    Mar 2005
    Location
    SE PA USA
    Posts
    28,935
    Thanks
    43
    Thanked 3,192 Times in 3,155 Posts
    Blog Entries
    12

    Default

    The path is correct, but the filename is:

    Badger Logo.jpg

    I just looked and it was a different image, Hannah.jpg. The actual filename is:

    HannaH.jpg
    - John
    ________________________

    Show Additional Thanks: International Rescue Committee - Donate or: The Ocean Conservancy - Donate or: PayPal - Donate

  8. The Following User Says Thank You to jscheuer1 For This Useful Post:

    Atom (05-27-2011)

  9. #6
    Join Date
    Jul 2008
    Location
    Derbyshire, UK
    Posts
    1,937
    Thanks
    16
    Thanked 303 Times in 302 Posts
    Blog Entries
    11

    Default

    Maybe part of your problem lies with working locally on a windows machine but using a web host with a unix environment?

    Windows systems are not sensitive to case so a web page viewed locally will still display an image called "my-pic.jpg" even if the HTML uses "<img src="My-Pic.JPG" ... >" or "<img src="MY-PIC.jpg" ... >"

    Unix systems are case sensitive, so the file names have to be exact - an image called "my-pic.jpg" needs the HTML to be "<img src="my-pic.jpg" ... >" otherwise it wont work.
    Focus on Function Web Design | Latest News RSS | Facebook | Twitter |
    Fast Edit (A flat file, PHP web page editor & CMS. Small, FREE, no database!) | Fast Edit BE (Snippet Manager) (Web content editor for multiple editable regions!) | Fast Apps |
    The only limit to creativity is imagination: JemCon.org

  10. The Following User Says Thank You to Beverleyh For This Useful Post:

    Atom (05-27-2011)

  11. #7
    Join Date
    May 2011
    Posts
    46
    Thanks
    17
    Thanked 1 Time in 1 Post

    Default

    Thanks everyone. I was aware that file names are case sensitive, even though I was still making some mistakes in that area, but the big problem was that I was overelooking the case of the file name suffix. That's what was really causing most of my problems.

    Atom

  12. #8
    Join Date
    Apr 2008
    Location
    So.Cal
    Posts
    3,643
    Thanks
    63
    Thanked 517 Times in 503 Posts
    Blog Entries
    5

    Default

    when I work in Windows I always "unhide" file extensions and usually explicitly define them when saving a file. Of course, I usually just work under linux instead, where common sense stuff like that is part of the default setup.

Bookmarks

Posting Permissions

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