WEB File Extensions and Case

Discussion in 'OT Technology' started by Coaxsist, Feb 17, 2010.

  1. Coaxsist

    Coaxsist Re-create... Innovate

    Joined:
    Feb 11, 2008
    Messages:
    1,032
    Likes Received:
    0
    Does it matter if an image is saved as a ".JPG" and called the same way into an HTML document? Or should they be changed to ".jpg" and called that way?

    Example:
    Code:
    <img src="images/image1.JPG" />
    or
    <img src="images/image1.jpg" />
    
    Thanks.
     
  2. retorq

    retorq What up bitch??

    Joined:
    Dec 14, 2006
    Messages:
    6,061
    Likes Received:
    0
    Location:
    Mohave Desert
    It'll matter if its on a *nix host.
     
  3. Coaxsist

    Coaxsist Re-create... Innovate

    Joined:
    Feb 11, 2008
    Messages:
    1,032
    Likes Received:
    0
    ASO? Cause I'm having some problems right now...
     
  4. fishbulb

    fishbulb Active Member

    Joined:
    Oct 29, 2001
    Messages:
    6,848
    Likes Received:
    4
    Location:
    md
    Yes, then it does matter.
     
  5. Coaxsist

    Coaxsist Re-create... Innovate

    Joined:
    Feb 11, 2008
    Messages:
    1,032
    Likes Received:
    0
    Thanks, figured this out the hard way. :o

    I got another question in another thread btw to... :x:

    Thanks.
     
  6. Josh

    Josh Guest

    case def matters... its a pita sometimes...
     
  7. Coaxsist

    Coaxsist Re-create... Innovate

    Joined:
    Feb 11, 2008
    Messages:
    1,032
    Likes Received:
    0
    Holy shit, you can do that?

    edit: Rhetorical question. Awesome, thanks.
     
  8. brds

    brds OT Supporter

    Joined:
    Jun 26, 2006
    Messages:
    17,652
    Likes Received:
    15
    Location:
    Atlanta
    or do an file_exists, but strtolower is easier
     

Share This Page