www.webdeveloper.com
Results 1 to 10 of 10

Thread: Problem with Images

  1. #1
    Join Date
    Jun 2006
    Posts
    3

    Problem with Images

    Hi,

    The images with .jpeg extention are not being displayed on the web page, only .gif images are working. Why is this happening, and suggestions?
    And when I resize the images to my required size, the clarity is being lost. Can anyone suggest what can be done to maintain the clarity of the picture?

    Thankx
    Squirrel

  2. #2
    Join Date
    Sep 2005
    Posts
    597
    make sure the extension is correct file.jpg...and make sure the file names are not
    capitalized on your server. file.jpg, not FILE.jpg or File.jpg.

    Can you post a link to the problem?
    css/xhtml firefox dsl ubuntu

  3. #3
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    And when I resize the images to my required size, the clarity is being lost. Can anyone suggest what can be done to maintain the clarity of the picture?
    Are you trying to resize them using the img height/width attributes? That's your problem. Use a graphics program to size them properly and make the height/width match the pixel dimensions of the resulting image.
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

  4. #4
    Join Date
    Mar 2005
    Location
    Sydney, Australia
    Posts
    7,974
    If they are trying to resize with HTML then the images are probably H-U-G-E and take forever to download. If they came straight from a camera then they will be at least 100 times bigger than they need to be for the web.
    Stephen

  5. #5
    Join Date
    Aug 2006
    Posts
    167
    Quote Originally Posted by squirrel
    The images with .jpeg extention are not being displayed on the web page, only .gif images are working. Why is this happening, and suggestions?
    it is .jpg not .jpeg

    Quote Originally Posted by squirrel
    And when I resize the images to my required size, the clarity is being lost. Can anyone suggest what can be done to maintain the clarity of the picture?
    try using macromedia flash to increase the size of your image because it doesn't pixelate images. then after you have achieved your ideal size, save it up and you can display them on the webpage nicely
    ______________
    __________

    ______________
    __________

    ______________
    __________

  6. #6
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    it is .jpg not .jpeg
    Shouldn't matter.
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

  7. #7
    Join Date
    Aug 2006
    Posts
    167
    i suppose it does, if you try <img src="abc.jpeg"> it wouldn't display the images.
    ______________
    __________

    ______________
    __________

    ______________
    __________

  8. #8
    Join Date
    Jun 2004
    Location
    England
    Posts
    2,972
    It would if that was how you'd saved the images. Just like .htm and .html
    Disclaimer. (1) Whilst I will help you sometimes, if I feel like it, and my advice in relation to your actual question will be of good quality: my posts are to be taken with a pinch of salt. I will be sarcastic, deploy irony and include obscure cultural references for my own amusement without warning.
    (2) You will gain nothing from complaining, and if you try to argue with me then you will not win. No matter how noble your battle seems, I am still better than you, don't be an hero.

  9. #9
    Join Date
    Aug 2006
    Posts
    167
    o.O interesting, thanks for clarifying my mistake
    ______________
    __________

    ______________
    __________

    ______________
    __________

  10. #10
    Join Date
    Nov 2003
    Location
    Jerryville, Tejas
    Posts
    11,715
    i suppose it does, if you try <img src="abc.jpeg"> it wouldn't display the images.
    Then there is either a file name mismatch or a server configuration problem.
    "Debugging is twice as hard as writing the code in the first place. Therefore, if you write the code as cleverly as possible, you are, by definition, not smart enough to debug it." Brian W. Kernighan

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