Viewing resized images

Discussion in 'HTML' started by Yousuf Khan, Aug 26, 2004.

  1. Yousuf Khan

    Yousuf Khan Guest

    I'm thinking about this for dialup users. When you display a large image,
    such as a *.JPG or *.GIF to a webpage, which has resized them inside the
    <img> tag with the "width" and "height" attributes, does that make it easier
    (faster) to view it? What I'm sort of asking is whether I should save
    seperate thumbnail versions of large images, or just rely on the <img> tag
    attributes?

    Yousuf Khan

    --
    Humans: contact me at ykhan at rogers dot com
    Spambots: just reply to this email address ;-)
     
    Yousuf Khan, Aug 26, 2004
    #1
    1. Advertisements

  2. Yousuf Khan

    Mark Parnell Guest

    On Thu, 26 Aug 2004 06:30:44 GMT, Yousuf Khan <> declared
    in alt.html:

    > I'm thinking about this for dialup users.


    Very generous of you. :p

    > When you display a large image,
    > such as a *.JPG or *.GIF to a webpage, which has resized them inside the
    > <img> tag with the "width" and "height" attributes, does that make it easier
    > (faster) to view it?


    Depends whether it has been made bigger or smaller in the HTML. Assuming
    you mean smaller...

    Faster than what? Than at full size? Maybe marginally. Than a smaller
    version of the same image? Of course not.

    > What I'm sort of asking is whether I should save
    > seperate thumbnail versions of large images, or just rely on the <img> tag
    > attributes?


    Don't resize images in your HTML. Besides the user having to download an
    unnecessarily large file, browsers are pretty bad at resizing images
    anyway. Much better to resize it in an image editing program and just
    use the smaller version on your site.

    --
    Mark Parnell
    http://www.clarkecomputers.com.au
    "Never drink rum&coke whilst reading usenet" - rf 2004
     
    Mark Parnell, Aug 26, 2004
    #2
    1. Advertisements

  3. Yousuf Khan

    Sid Ismail Guest

    On Thu, 26 Aug 2004 06:30:44 GMT, "Yousuf Khan" <> wrote:

    : I'm thinking about this for dialup users. When you display a large image,
    : such as a *.JPG or *.GIF to a webpage, which has resized them inside the
    : <img> tag with the "width" and "height" attributes, does that make it easier
    : (faster) to view it? What I'm sort of asking is whether I should save
    : seperate thumbnail versions of large images, or just rely on the <img> tag
    : attributes?


    Using smaller width and height in the IMG tag does not speed up the access
    time, as the _full_ image is still downloaded into cache. All you've done
    is to change the presentation. In fact, you've increased the access time,
    as there is now an extra step to resize.

    Use clickable thumbnails instead, yes, and the user can view the full
    picture, if he wishes, with the simple expedient of a click on the
    thumbnail.

    Sid
     
    Sid Ismail, Aug 26, 2004
    #3
    1. Advertisements

Want to reply to this thread or ask your own question?

It takes just 2 minutes to sign up (and it's free!). Just click the sign up button to choose a username and then you can ask your own questions on the forum.
Similar Threads
  1. toma

    Saving resized Images

    toma, Nov 25, 2003, in forum: ASP .Net
    Replies:
    1
    Views:
    496
    vMike
    Nov 25, 2003
  2. IkBenHet
    Replies:
    5
    Views:
    674
    IkBenHet
    May 30, 2005
  3. danCER
    Replies:
    1
    Views:
    453
  4. Steve Castellotti
    Replies:
    3
    Views:
    525
    Steve Castellotti
    Oct 9, 2003
  5. Tim Flynn

    viewing generated images

    Tim Flynn, Jun 2, 2005, in forum: Python
    Replies:
    2
    Views:
    799
    Tim Flynn
    Jun 2, 2005
  6. Milsnips
    Replies:
    0
    Views:
    409
    Milsnips
    Sep 2, 2006
  7. Lou Civitella

    Viewing Images in GridView

    Lou Civitella, Apr 20, 2006, in forum: ASP .Net Datagrid Control
    Replies:
    0
    Views:
    201
    Lou Civitella
    Apr 20, 2006
  8. Robert TV

    Viewing images in my CGI-BIN

    Robert TV, May 30, 2004, in forum: Perl Misc
    Replies:
    3
    Views:
    219
    Eric Bohlman
    May 30, 2004
Loading...