...

View Full Version : Downloading Images



daved2424
06-29-2007, 09:08 PM
If I have a preview of a large image, does it download the entire image, resize it, and then display it? Or does it download only the information it requires to make the scaled image?

Basically what I want to know is is it worth my while creating smaller preview images and uploading them too as well as the full-size high-resolution images?

CaptainB
06-29-2007, 09:15 PM
As far as I know it downloads the WHOLE image and then scales it down.

daved2424
06-29-2007, 09:17 PM
Ah that's a shame. Making preview images would be so much easier if it didn't!

Rubby
06-29-2007, 09:40 PM
Well think about it for a second.
How could a browser on the client side possibly have the necessary information to make a scaled image unless it has the whole thing available to it?

Spleeyah
06-29-2007, 10:15 PM
You can use a php (or other client side) script that accepts a width and height and then resizes the image accordingly, that way the client only has to download the already-thumbnailed image.

bazz
06-30-2007, 09:21 AM
:confused: :confused: :eek:

But if its the same image then its the same content coming down the pipe and then resized by the height and width attributes. Isn't php server side anyway?


bazz



EZ Archive Ads Plugin for vBulletin Copyright 2006 Computer Help Forum