Velocity Reviews - Computer Hardware Reviews

Velocity Reviews > Newsgroups > Programming > HTML > Viewing resized images

Reply
Thread Tools

Viewing resized images

 
 
Yousuf Khan
Guest
Posts: n/a
 
      08-26-2004
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


 
Reply With Quote
 
 
 
 
Mark Parnell
Guest
Posts: n/a
 
      08-26-2004
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.

> 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
 
Reply With Quote
 
 
 
 
Sid Ismail
Guest
Posts: n/a
 
      08-26-2004
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



 
Reply With Quote
 
 
 
Reply

Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are Off


Similar Threads
Thread Thread Starter Forum Replies Last Post
showing a list of dynamically resized images... Milsnips ASP .Net 0 09-02-2006 09:30 AM
Viewing jpg in digicam when resized with Photoshop doesn't work mhuhn Digital Photography 7 02-18-2005 02:55 AM
Saving resized Images toma ASP .Net 1 11-25-2003 12:27 AM
Using PIL(/other?) to display resized images over the web? Steve Castellotti Python 3 10-09-2003 12:04 AM
Images resized in frames-help! danCER HTML 1 07-13-2003 01:35 PM



Advertisments
 



1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 32 33 34 35 36 37 38 39 40 41 42 43 44 45 46 47 48 49 50 51 52 53 54 55 56 57