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 4 of 4

Thread: Scaled Images

  1. #1
    New Coder
    Join Date
    Nov 2011
    Location
    Dallas, Texas
    Posts
    20
    Thanks
    2
    Thanked 0 Times in 0 Posts

    Scaled Images

    I did a test on my site as to how fast it takes it to load and one of the results I got back was as follows:

    http://i4.photobucket.com/.../backgroundad.png is resized in HTML or CSS from 198x219 to 113x125. Serving a scaled image could save 46.3KiB (67% reduction).

    My question is what is a scaled image? And how do I make it a scaled image?

  • #2
    Senior Coder
    Join Date
    Aug 2006
    Posts
    1,222
    Thanks
    9
    Thanked 269 Times in 268 Posts
    "scaled" meaning resize if to the correct 113x125 size yourself (with Photoshop or something) and then you're downloading a smaller image and not having to resize it in browsers. It is pretty much always a better thing to do your scaling once, rather than force browsers to do it.

    Dave

  • #3
    New Coder
    Join Date
    Nov 2011
    Location
    Indianapolis, IN
    Posts
    13
    Thanks
    0
    Thanked 0 Times in 0 Posts
    Quote Originally Posted by tracknut View Post
    "scaled" meaning resize if to the correct 113x125 size yourself (with Photoshop or something) and then you're downloading a smaller image and not having to resize it in browsers. It is pretty much always a better thing to do your scaling once, rather than force browsers to do it.

    Dave
    Seconding this. In addition, make sure you're sizing the photos as 72dpi prior to uploading. This is standard web resolution.

  • #4
    Senior Coder
    Join Date
    Aug 2006
    Posts
    1,222
    Thanks
    9
    Thanked 269 Times in 268 Posts
    DPI is completely meaningless for the web though.... it's a print thing. So he can set those photos to any dpi he wishes and get exactly the same result.

    Dave


  •  

    Posting Permissions

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