Hello and welcome to our community! Is this your first visit?
Register
Enjoy an ad free experience by logging in. Not a member yet? Register.
Results 1 to 6 of 6
  1. #1
    New Coder
    Join Date
    Mar 2007
    Posts
    39
    Thanks
    1
    Thanked 0 Times in 0 Posts

    Downloading Images

    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?

  • #2
    Regular Coder
    Join Date
    Jun 2007
    Posts
    805
    Thanks
    123
    Thanked 23 Times in 23 Posts
    As far as I know it downloads the WHOLE image and then scales it down.

  • #3
    New Coder
    Join Date
    Mar 2007
    Posts
    39
    Thanks
    1
    Thanked 0 Times in 0 Posts
    Ah that's a shame. Making preview images would be so much easier if it didn't!

  • #4
    New Coder
    Join Date
    May 2007
    Posts
    25
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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?

  • #5
    New to the CF scene
    Join Date
    Jun 2007
    Location
    Los Angeles, CA
    Posts
    8
    Thanks
    0
    Thanked 0 Times in 0 Posts
    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.

  • #6
    Master Coder
    Join Date
    Apr 2003
    Location
    in my house
    Posts
    5,211
    Thanks
    39
    Thanked 201 Times in 197 Posts


    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


  •  

    Posting Permissions

    • You may not post new threads
    • You may not post replies
    • You may not post attachments
    • You may not edit your posts
    •