ArtsAutosBooksBusinessEducationEntertainmentFamilyFashionFoodGamesGenderHealthHolidaysHomeHubPagesPersonal FinancePetsPoliticsReligionSportsTechnologyTravel
  • »
  • Technology»
  • Internet & the Web

How to Compress images using Smushit

Updated on December 2, 2012

Apparently Google is getting touchy these days about page load times.  One of the factors that strongly effects page load times is the number and size images on a page.  A few images, each image large in size, OR a lot of smallish images, each modest in size, will have an negative impact on your page load time, i.e. ensure that you page takes long to load.

Multiple Image Issues

Each time a Browser encounters the need for an image in a page, the Browser has to request the Web server to deliver the image.  Hence if you have multiple images on your page, this will require that the Browser makes multiple trips back to the Web server to get all the images.

Image Size Issues

If all the images used are modest to large in size, then in addition to making multiple trips back to the Web server to get the images, the Browser has to wait patiently until each image downloads, i.e. is served to it by the Web server.

The actual time taken for any image to download would be dependent on a number of factors, such as:

  • The work load of the Web server when it received the request for delivering the image
  • The size of the image in kilobytes / megabytes
  • The downloading Browser's Internet connection bandwidth
  • And other such stuff

Bottom-line, bigger the image longer it's download time.  Map that to multiple large images on a page, and all the ingredients to tick Google and ( other search engines ) off exists.

Well to start off, take a look at a very common way to capture images, a digital camera.  When an image is captured using a digital camera it normally huge in size.  While there exits several settings on digital cameras that can help reduce image size at capture time, very few digital camera users actually know or bother to use these settings.  Hence images captured by a digital camera can be really huge in size.

Is there anything one can do to make such a situation better? Sure there is.

Once you have the image (or images) on your local computer, you can use any one of several tools to compress the image.  Yahoo has created an online Image compressor named Smush.it. I’d like to explain how simple it is to use this tool and how effectively it helps reduce image size while keeping image clarity at quite acceptable levels, totally automatically.

Smush.it uses optimization techniques specific to an image format to remove unnecessary bytes from an image file. It optimizes the images without having any unpleasant impact on its visual quality.

To use Smush.it you have to upload the image file(s) you wish to compress to Smush.it, then fire its image compression process.  After Smush.it processes the image(s) it displays a report on exactly how many bytes have been saved after compressing the image(s).

Smush.it then provides a link to a downloadable zip file with contains the re-sized and minimized image so that you can get the trimmed down version of your image file for use on your web page. Believe me you just be pleasantly surprised at the amount of image size shrinkage that occurs when you Smush your images.  Your web pages will wind up a whole lot leaner = reduced download times.

Using Smush.it

Click here to download a copy of the images we used in our trial of Smush.it. The images are as shown in diagram 1 and 2.

Navigate to the folder where you downloaded them to and check each image file size as shown in diagram 3.

Image Blue hills.jpg is 28 Kilobyte in size, Image Sunset.jpg is 70 Kilobyte is size, as shown in diagram 3.

Open a Browser enter the URL http://www.smushit.com/ysmush.it/ in the browsers address bar and press Enter as shown in diagram 4.

Diagram 4.  Connecting to the Smush.it website
Diagram 4. Connecting to the Smush.it website

The Smush.it webpage will be displayed. Click on the Uploader menu as shown in diagram 5.

Diagram 5.  Click the Uploader button.
Diagram 5. Click the Uploader button.

Click on yellow Select Files And Smush button. In the file Browser that opens navigate to the folder where these images are as shown in diagram 6. Select all the images you would like to upload and click on Open button

After you click on Open, Smush.it will upload these images from your local folder, process them, and then display a report indicating exactly how much was shaved off the original image size while keeping the visual appeal of the image constant, as shown in diagram 7.

Click on the yellow Download Smushed Images button. Save this zip file wherever you wish on your local computer.

NOTE: Do not link to the smushed images on Smushit.com. These images will only be available there temporarily. Download the zip file containing the smushed images to your local computer for use on your web page later. Replace the images on your webpage with these images.

This is how Smush.it helps reduce your web page download time, helping keep search engines happy with your website.

If you like this Hub please leave your comments. I'd really love to hear back from anyone. If you'd like a particular Hub to be written for you drop me a mention in the comments section. I'd do my best to oblige if I can.

Ivan Bayross
Open source tutorials

Comments

    0 of 8192 characters used
    Post Comment

    • weezyschannel profile image

      Lisa 3 years ago from Central USA

      Thanks for the info ! Hope it helps

    • opensourcevarsity profile image
      Author

      Ivan Bayross 7 years ago from Mumbai / India

      Thanks Raghu. Appreciate the comment.

    • profile image

      Raghavendra Bhat 7 years ago

      Nice One Ivan Sir, you do share a lot of things which are real useful.

    • Dr irum profile image

      Dr irum 7 years ago

      I did not know more enough related to this technical issues , but i learned lot of things through your post . I rate up this stuff. Thanks

    • opensourcevarsity profile image
      Author

      Ivan Bayross 7 years ago from Mumbai / India

      Hi Ross,

      Thanks for your kind words. Appreciate it.

    • ross670daw profile image

      ross670daw 7 years ago

      Hi Ivan, a great step by step guide for compressing images, as promised. Wow Smushit is a great tool. Thanks for this hub, in response to our other conversations. I appreciate your advise and I am now much more aware of what I need to do to reduce my page load time.

      Cheers mate.

    • opensourcevarsity profile image
      Author

      Ivan Bayross 7 years ago from Mumbai / India

      Hi WordPlay,

      Thank you for commenting.

      Glad to have written a Hub that was of use.

      The idea for this Hub was actually triggered by when Ross commented on another one of my Hubs.

    • WordPlay profile image

      Carla Chadwick 7 years ago from Georgia

      Thanks for this; reducing image size is more important than many people realize.

    working

    This website uses cookies

    As a user in the EEA, your approval is needed on a few things. To provide a better website experience, hubpages.com uses cookies (and other similar technologies) and may collect, process, and share personal data. Please choose which areas of our service you consent to our doing so.

    For more information on managing or withdrawing consents and how we handle data, visit our Privacy Policy at: "https://hubpages.com/privacy-policy#gdpr"

    Show Details
    Necessary
    HubPages Device IDThis is used to identify particular browsers or devices when the access the service, and is used for security reasons.
    LoginThis is necessary to sign in to the HubPages Service.
    Google RecaptchaThis is used to prevent bots and spam. (Privacy Policy)
    AkismetThis is used to detect comment spam. (Privacy Policy)
    HubPages Google AnalyticsThis is used to provide data on traffic to our website, all personally identifyable data is anonymized. (Privacy Policy)
    HubPages Traffic PixelThis is used to collect data on traffic to articles and other pages on our site. Unless you are signed in to a HubPages account, all personally identifiable information is anonymized.
    Amazon Web ServicesThis is a cloud services platform that we used to host our service. (Privacy Policy)
    CloudflareThis is a cloud CDN service that we use to efficiently deliver files required for our service to operate such as javascript, cascading style sheets, images, and videos. (Privacy Policy)
    Google Hosted LibrariesJavascript software libraries such as jQuery are loaded at endpoints on the googleapis.com or gstatic.com domains, for performance and efficiency reasons. (Privacy Policy)
    Features
    Google Custom SearchThis is feature allows you to search the site. (Privacy Policy)
    Google MapsSome articles have Google Maps embedded in them. (Privacy Policy)
    Google ChartsThis is used to display charts and graphs on articles and the author center. (Privacy Policy)
    Google AdSense Host APIThis service allows you to sign up for or associate a Google AdSense account with HubPages, so that you can earn money from ads on your articles. No data is shared unless you engage with this feature. (Privacy Policy)
    Google YouTubeSome articles have YouTube videos embedded in them. (Privacy Policy)
    VimeoSome articles have Vimeo videos embedded in them. (Privacy Policy)
    PaypalThis is used for a registered author who enrolls in the HubPages Earnings program and requests to be paid via PayPal. No data is shared with Paypal unless you engage with this feature. (Privacy Policy)
    Facebook LoginYou can use this to streamline signing up for, or signing in to your Hubpages account. No data is shared with Facebook unless you engage with this feature. (Privacy Policy)
    MavenThis supports the Maven widget and search functionality. (Privacy Policy)
    Marketing
    Google AdSenseThis is an ad network. (Privacy Policy)
    Google DoubleClickGoogle provides ad serving technology and runs an ad network. (Privacy Policy)
    Index ExchangeThis is an ad network. (Privacy Policy)
    SovrnThis is an ad network. (Privacy Policy)
    Facebook AdsThis is an ad network. (Privacy Policy)
    Amazon Unified Ad MarketplaceThis is an ad network. (Privacy Policy)
    AppNexusThis is an ad network. (Privacy Policy)
    OpenxThis is an ad network. (Privacy Policy)
    Rubicon ProjectThis is an ad network. (Privacy Policy)
    TripleLiftThis is an ad network. (Privacy Policy)
    Say MediaWe partner with Say Media to deliver ad campaigns on our sites. (Privacy Policy)
    Remarketing PixelsWe may use remarketing pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to advertise the HubPages Service to people that have visited our sites.
    Conversion Tracking PixelsWe may use conversion tracking pixels from advertising networks such as Google AdWords, Bing Ads, and Facebook in order to identify when an advertisement has successfully resulted in the desired action, such as signing up for the HubPages Service or publishing an article on the HubPages Service.
    Statistics
    Author Google AnalyticsThis is used to provide traffic data and reports to the authors of articles on the HubPages Service. (Privacy Policy)
    ComscoreComScore is a media measurement and analytics company providing marketing data and analytics to enterprises, media and advertising agencies, and publishers. Non-consent will result in ComScore only processing obfuscated personal data. (Privacy Policy)
    Amazon Tracking PixelSome articles display amazon products as part of the Amazon Affiliate program, this pixel provides traffic statistics for those products (Privacy Policy)