Any problem using jpeg and jpg with same filename?

Discussion in 'HTML & Website Design' started by Kerosene, Nov 19, 2009.

  1. #1
    I want to display 2 images on a page, both with identical file names. I figure I'll just use jpg for one, and jpeg for the other.

    <img src="myimage.jpg" />
    <img src="myimage.jpeg" />

    Are there any crazy browser/server quirks that might have a problem with this?
     
    Kerosene, Nov 19, 2009 IP
  2. SeeJayy

    SeeJayy Peon

    Messages:
    25
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #2
    i'm pretty sure there is none but you might want to avoid that, could get confusing
     
    SeeJayy, Nov 19, 2009 IP
  3. sanjaykrishna

    sanjaykrishna Guest

    Messages:
    116
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #3
    Yes its not a good practice to be followed. Use any of them as a standard one when you link to those images. I prefer .jpg
     
    sanjaykrishna, Nov 19, 2009 IP
  4. gerard0986

    gerard0986 Peon

    Messages:
    53
    Likes Received:
    0
    Best Answers:
    0
    Trophy Points:
    0
    #4
    You should just make them differently named. But with the same extension. .jpg is preferred.
     
    gerard0986, Nov 21, 2009 IP