Upgrade to Pro — share decks privately, control downloads, hide ads and more …

Don't let images weigh down your site

Don't let images weigh down your site

Slides from the presentation at WordCamp Orlando 2017

Nobody likes a slow site. Every year the weight of an average site keeps increasing, mainly because of image sizes. Optimizing images is the biggest win when it comes to your website speed.
In this presentation, we will focus on different image formats and steps to follow before uploading them to a website. We’ll discuss PNG, JPG, GIF, SVG and when to use each one.
We’ll set up a process to prepare images for the web, and go over tools to measure loading time. We’ll also look at some examples of before and after image optimization.

Irina Blumenfeld

November 09, 2017
Tweet

More Decks by Irina Blumenfeld

Other Decks in Programming

Transcript

  1. DON’T LET IMAGES WEIGH DOWN YOUR SITE WordCamp Orlando -

    2017 IRINA BLUMENFELD @irinablumenfeld #wcorl
  2. #wcorl - @irinablumenfeld netmagik.com 53% of visits to MOBILE sites

    are abandoned after 3 seconds Source: Google’s Double Click
  3. I M A G E F O R M AT

    S JPEG PNG GIF SVG
  4. #wcorl - @irinablumenfeld netmagik.com • Vector graphics • Small in

    size • Transparency • Can be used inline in HTML SVG
  5. #wcorl - @irinablumenfeld netmagik.com S C A L E /

    R E S I Z E • Photoshop • Imsanity WordPress Plugin 3200 px 800 px
  6. #wcorl - @irinablumenfeld netmagik.com O P T I M I

    Z E / C O M P R E S S Lossy vs Lossless
  7. #wcorl - @irinablumenfeld netmagik.com O P T I M I

    Z E / C O M P R E S S • Tinypng.com • Kraken.io • EWWW WordPress Plugin • Compress JPG and PNG WordPress Plugin
  8. #wcorl - @irinablumenfeld netmagik.com E X A M P L

    E Original Optimized Source: unsplash.com
  9. #wcorl - @irinablumenfeld netmagik.com E X A M P L

    E Original - High Resolution 4951 x 3301 px 3.9 Mb 1. Resize / Save for Web 1600 x 1067 px 338 Kb 2. Optimize (tinypng.com) 1600 x 1067 px 207 Kb ( -40% )
  10. #wcorl - @irinablumenfeld netmagik.com E X A M P L

    E Original - 3.9 Mb Optimized - 207 Kb Source: unsplash.com
  11. #wcorl - @irinablumenfeld netmagik.com T E S T • gtmetrix.com

    • tools.pingdom.com/fpt • webpagetest.org
  12. #wcorl - @irinablumenfeld netmagik.com T H A N K Y

    O U Slides: netmagik.com/wordcamp-orlando-2017 Twitter: @irinablumenfeld E-Mail: [email protected]