Go Back   CodingForums.com > :: Client side development > Graphics and Multimedia discussions

Before you post, read our: Rules & Posting Guidelines

Reply
 
Thread Tools Rate Thread
Enjoy an ad free experience by logging in. Not a member yet? Register.
Old 11-07-2011, 10:32 PM   PM User | #1
msmarti
New Coder

 
Join Date: Nov 2011
Location: Dallas, Texas
Posts: 20
Thanks: 2
Thanked 0 Times in 0 Posts
msmarti is an unknown quantity at this point
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?
msmarti is offline   Reply With Quote
Old 11-07-2011, 11:28 PM   PM User | #2
tracknut
Regular Coder

 
Join Date: Aug 2006
Posts: 906
Thanks: 4
Thanked 212 Times in 211 Posts
tracknut is an unknown quantity at this point
"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
tracknut is offline   Reply With Quote
Old 11-08-2011, 12:16 AM   PM User | #3
illbzo1
New Coder

 
Join Date: Nov 2011
Location: Indianapolis, IN
Posts: 13
Thanks: 0
Thanked 0 Times in 0 Posts
illbzo1 is an unknown quantity at this point
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.
illbzo1 is offline   Reply With Quote
Old 11-08-2011, 12:26 AM   PM User | #4
tracknut
Regular Coder

 
Join Date: Aug 2006
Posts: 906
Thanks: 4
Thanked 212 Times in 211 Posts
tracknut is an unknown quantity at this point
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
tracknut is offline   Reply With Quote
Reply

Bookmarks

Jump To Top of Thread


Thread Tools
Rate This Thread
Rate This Thread:

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

Forum Jump


All times are GMT +1. The time now is 01:26 PM.


Advertisement
Log in to turn off these ads.