{"id":34054,"date":"2021-05-17T16:18:00","date_gmt":"2021-05-17T21:18:00","guid":{"rendered":"https:\/\/getflywheel.com\/layout\/?p=34054"},"modified":"2025-11-25T10:00:17","modified_gmt":"2025-11-25T16:00:17","slug":"optimize-images-for-web","status":"publish","type":"resource","link":"https:\/\/wpengine.com\/case-studies\/resources\/optimize-images-for-web\/","title":{"rendered":"How to Optimize Images for Web: A Step-By-Step Guide for Better Site Performance"},"content":{"rendered":"\n<p>There\u2019s no doubt that images are an invaluable part of the web.&nbsp;<\/p>\n\n\n\n<p>From visualizing data to breaking up paragraphs of text to showing off your portfolio of work, photos and graphics play an important role in most website designs and help users enjoy better online experiences.<\/p>\n\n\n\n<p>Having great visuals, however, can take a toll on your website. Higher resolutions mean larger file sizes, which also means slower loading times. This is why images are often the cause of poor site performance. And remember, the whole point of adding images to your website is to create a better experience for your users (or maybe even to increase sales and conversions!), which is hard to do with a slow site.<\/p>\n\n\n\n<p>So, how do you balance site performance with visual design?<\/p>\n\n\n\n<p>By optimizing your images.<\/p>\n\n\n\n<p>There are a lot of little things you can do throughout the image creation process to optimize file sizes, specifically with your website in mind.<\/p>\n\n\n\n<p>In this step-by-step guide to image optimization, I\u2019ll cover:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#what\">What is image optimization?<\/a><\/li>\n\n\n\n<li><a href=\"#why\">Why is image optimization important?<\/a><\/li>\n\n\n\n<li><a href=\"#how\">7 ways to optimize images for the web<\/a><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator aligncenter has-alpha-channel-opacity\" \/>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"what\">What is image optimization?<\/h2>\n\n\n\n<p>Generally speaking, image optimization is the act of decreasing file size without losing quality. You can optimize your images in the creation phase (by using the <a href=\"https:\/\/creativecloud.adobe.com\/learn\/photoshop\/web\/export-image-web\" target=\"_blank\" rel=\"noreferrer noopener\">right \u201cExport\u201d options<\/a> in Photoshop) or directly on your website (by <a href=\"https:\/\/wpengine.com\/resources\/wordpress-lazy-load\/\" target=\"_blank\" rel=\"noreferrer noopener\">using lazy load<\/a> to display media on your site).&nbsp;<\/p>\n\n\n\n<p>The goal is to reduce the amount of data users have to download, so they can get the content they\u2019re looking for faster without sacrificing quality.<\/p>\n\n\n\n<hr class=\"wp-block-separator aligncenter has-alpha-channel-opacity\" \/>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"why\">Why optimize images for the web?<\/h2>\n\n\n\n<p>People have short attention spans when it comes to the web, which is why it\u2019s important to make your website load in <a href=\"https:\/\/www.semrush.com\/blog\/how-fast-is-fast-enough-page-load-time-and-your-bottom-line\/\" target=\"_blank\" rel=\"noreferrer noopener\">two seconds or less<\/a>.&nbsp;<\/p>\n\n\n\n<p>One of the most common factors slowing down your site is your images. Even if your website is running on the best servers, like you\u2019ll get with managed hosting for WordPress<a href=\"https:\/\/wpengine.com\/resources\/what-is-managed-wordpress-hosting\/\">,<\/a> images can be the downfall of performance.<\/p>\n\n\n\n<p>By taking advantage of image optimization best practices, you\u2019ll keep your file size small and your load time fast, creating a better experience for your site visitors.<\/p>\n\n\n\n<p>There\u2019s another reason image optimization is important, however, which is&nbsp; directly tied to your business\u2019s bottom line. Beyond slowing down your website, images take up disk space on the server powering your site. Most hosting providers enforce a bandwidth limit per plan, meaning you don\u2019t have unlimited resources\u2014and your images will quickly take up that space.<\/p>\n\n\n\n<p>While exceeding that limit isn\u2019t the end of the world, you may be charged an overage fee, or worse, have your website shut down if overages continue to occur.<\/p>\n\n\n\n<p>By optimizing your images, you\u2019ll be able to get the most out of your site storage and avoid that bandwidth limit.<\/p>\n\n\n\n<p>Now that you know how important image optimization is, let\u2019s talk about how to do it! This step-by-step guide will cover everything from Photoshop tips to development practices.<\/p>\n\n\n\n<hr class=\"wp-block-separator aligncenter has-alpha-channel-opacity\" \/>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h2 class=\"wp-block-heading\" id=\"how\">How to optimize images for the web<\/h2>\n\n\n\n<p>This step-by-step guide will cover everything you can do to optimize images, starting in Photoshop and ending on your site.<\/p>\n\n\n\n<p>Follow these steps to optimize your images for better site performance:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"#current\">Benchmark your current site speed.<\/a><\/li>\n\n\n\n<li><a href=\"#best-type\">Know how to choose the best image file type.<\/a><\/li>\n\n\n\n<li><a href=\"#resize-before\">Resize your images before exporting.<\/a><\/li>\n\n\n\n<li><a href=\"#compress\">Compress images to reduce file size.<\/a><\/li>\n\n\n\n<li><a href=\"#automate\">Automate image optimization with a WordPress plugin.<\/a><\/li>\n\n\n\n<li><a href=\"#blur-up\">Use the \u201cblur up\u201d technique to load a Lower Quality Image first.<\/a><\/li>\n\n\n\n<li><a href=\"#lazy-load\">Use lazy loading.<\/a><\/li>\n<\/ul>\n\n\n\n<hr class=\"wp-block-separator aligncenter has-alpha-channel-opacity\" \/>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"current\">1. Benchmark your current site speed<\/h3>\n\n\n\n<p>Before you do all this work to optimize your images, start by running a speed test on your site! By the end, you\u2019ll be able to see the impact you\u2019ve made (plus you can share that with your team or boss, for extra kudos). Some popular speed testing tools are:<\/p>\n\n\n\n<p><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"http:\/\/developers.google.com\/speed\/pagespeed\/insights\/\" target=\"_blank\" rel=\"noreferrer noopener\">Google PageSpeed Insights<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/tools.pingdom.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Pingdom Tools<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/gtmetrix.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">GTMetrix<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/www.webpagetest.org\/\" target=\"_blank\" rel=\"noreferrer noopener\">WebPageTest<\/a><\/li>\n<\/ul>\n\n\n\n<p>These browser-based tools work similarlyr: Open the link, enter your URL, and submit it for a quick report about your site\u2019s speed and performance.<\/p>\n\n\n\n<p><a href=\"https:\/\/websitetester.wpengine.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">WP Engine\u2019s Website Tester<\/a> is specifically designed to analyze the performance of WordPress sites, providing accurate information about your site\u2019s current performance as well as actionable insights for improving it.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"443\" height=\"1024\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2024\/06\/wpengine-website-tester-443x1024.png\" alt=\"The WP Engine Website Tester producing performance scores for a WordPress site\" class=\"wp-image-151399\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/wpengine-website-tester-443x1024.png 443w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/wpengine-website-tester-233x540.png 233w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/wpengine-website-tester-768x1777.png 768w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/wpengine-website-tester-664x1536.png 664w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/wpengine-website-tester-885x2048.png 885w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/wpengine-website-tester-1500x3471.png 1500w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2024\/06\/wpengine-website-tester.png 1584w\" sizes=\"auto, (max-width: 443px) 100vw, 443px\" \/><\/figure>\n\n\n\n<p>When you enter your site URL and email address into the Website Tester, it will produce a breakdown of your site performance in about a minute. In the screenshot above, for example, there is clearly room for improvement from a page speed and loading accuracy perspective.&nbsp;<\/p>\n\n\n\n<p>From there, you can click the \u201cLearn how WP Engine can help\u201d button to see the specific ways our <a href=\"https:\/\/wpengine.com\/wordpress-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">managed hosting for WordPress sites<\/a> can help you improve performance (including built-in image compression!).<\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"439\" height=\"379\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2024\/06\/howwpehelps.png\" alt=\"Expanded menu in the WP Engine Website Tester explaining how WP Engine helps improve your site's Speed Index score\" class=\"wp-image-151400\" \/><\/figure>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator aligncenter has-alpha-channel-opacity\" \/>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"best-type\">2. Know how to choose the best image file type<\/h3>\n\n\n\n<p>When you\u2019re done creating images (either saving from your camera or exporting from a tool like Photoshop), you\u2019ll have the option to specify the file type. The most common file types for use on the web are JPEGs, PNGs, and GIFs. And as I\u2019m sure you can guess, they all have their own pros, cons, and best practices when being placed on your website.<\/p>\n\n\n\n<p><strong>JPEGs<\/strong><\/p>\n\n\n\n<p>JPEG images work best for showing off complex color photographs on your site, as they allow for a higher-quality image with a smaller file size. This file type will probably work for the majority of images you want to use on your site, with one major exception: images with a transparent background. (For those, see the next section about PNGs!)<\/p>\n\n\n\n<p>When using a JPEG image for your website, consider exporting it as \u201cProgressive.\u201d This allows the browser to instantly load a simple version of the image before fully loading the full resolution onto the site.<\/p>\n\n\n\n<p>If you\u2019re working in Photoshop, you\u2019ll find this setting when you export as \u201cSave for Web.\u201d<\/p>\n\n\n\n<p><strong>PNGs<\/strong><\/p>\n\n\n\n<p>If you don\u2019t have a ton of color in your image (like flat illustrations, logos, or icons), or want it to have a transparent background, I recommend exporting as a PNG. Make sure you have the right image dimensions, and look for the option to <a href=\"https:\/\/helpx.adobe.com\/photoshop-elements\/using\/optimizing-images-png-24-format.html#:~:text=Optimize%20as%20PNG%E2%80%9124&amp;text=Open%20an%20image%20and%20choose,24%20for%20the%20optimization%20format.\" target=\"_blank\" rel=\"noreferrer noopener\">save as PNG-24<\/a> (or 8, if there\u2019s no quality loss).<\/p>\n\n\n\n<p><strong>GIFs<\/strong><\/p>\n\n\n\n<p>GIFs are the third most common image format for the web. However, they only support 256 colors, so you\u2019ll have to be selective with this file type.<\/p>\n\n\n\n<p>To optimize GIFs for your website, think critically about how long they last, if they need to loop, and how many you really need on a given page or site.&nbsp;&nbsp;<\/p>\n\n\n\n<hr class=\"wp-block-separator aligncenter has-alpha-channel-opacity\" \/>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"resize-before\">3. Resize your images before you upload<\/h3>\n\n\n\n<p>One of the easiest ways to optimize images for the web is to resize them before you upload them to your site. Especially if you\u2019re working with raw images from a DSLR camera, the dimensions are often much larger than you actually need.<\/p>\n\n\n\n<p>For example, let\u2019s say you\u2019re adding images to a blog article on your site. If your WordPress theme displays images at 500 x 500 but you\u2019re uploading images with a resolution of 1024 x 1024, all those extra pixels just increase the file size and decrease site speed without providing a real benefit.<\/p>\n\n\n\n<p>By cropping or resizing your images before uploading, you\u2019ll decrease the file size, which will help your site load just a little bit faster and save your disk space for even more images.<\/p>\n\n\n\n<p>To resize your image, just open up the image-editing software of your choice. Photoshop works well, or you can also use simpler tools like <a href=\"https:\/\/support.apple.com\/guide\/preview\/welcome\/mac\" target=\"_blank\" rel=\"noreferrer noopener\">Preview<\/a> (for Macs), <a href=\"https:\/\/www.microsoft.com\/en-us\/p\/paint\/9wzdncrfhx97#activetab=pivot:overviewtab\" target=\"_blank\" rel=\"noreferrer noopener\">Paint<\/a> (for Windows), or <a href=\"https:\/\/www.canva.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Canva<\/a> (a browser tool).<\/p>\n\n\n\n<hr class=\"wp-block-separator aligncenter has-alpha-channel-opacity\" \/>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"compress\">4. Compress images to reduce file size<\/h3>\n\n\n\n<p>Once you have your final image, saved in the right format and cropped to an appropriate size, there\u2019s one more step you can take to optimize it before uploading to your site: compressing it.<\/p>\n\n\n\n<p>This process will help you make the file size smaller without losing noticeable image quality. There are two main types of compression: lossy and lossless.<\/p>\n\n\n\n<p>Lossless compression will maintain the same level of quality before and after the compression. Lossy compression will discard some elements of the photo, but typically in a way that the human eye won\u2019t notice. To learn more about these compression types, I recommend <a href=\"https:\/\/imagify.io\/blog\/lossless-vs-lossy-image-compression\/\" target=\"_blank\" rel=\"noreferrer noopener\">this guide from Imagify<\/a>.<\/p>\n\n\n\n<p>If you see a specific image on your site load and slowly come into view, that may be a sign that it needs compression, resizing, or both.<\/p>\n\n\n\n<p>To compress your images, all you need is an image compression tool. My favorites include:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/localwp.com\/image-optimizer\/\" target=\"_blank\" rel=\"noreferrer noopener\">Image Optimizer<\/a>: A free Add-on for Local.<\/li>\n\n\n\n<li><a href=\"https:\/\/tinypng.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">TinyPNG<\/a>: A free browser-based tool for compressing PNG and JPEG images.<\/li>\n\n\n\n<li><a href=\"https:\/\/imageoptim.com\/mac\" target=\"_blank\" rel=\"noreferrer noopener\">ImageOptim<\/a>: A free open-source app for compressing images.<\/li>\n\n\n\n<li><a href=\"https:\/\/www.jpegmini.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">JPEGmini<\/a>: A photo recompressing app for Mac and Windows.&nbsp;<\/li>\n<\/ul>\n\n\n\n<p><strong><a href=\"https:\/\/localwp.com\/image-optimizer\/\" target=\"_blank\" rel=\"noreferrer noopener\">Image Optimizer, a free Add-on for Local<\/a><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter size-full\"><img loading=\"lazy\" decoding=\"async\" width=\"829\" height=\"366\" src=\"https:\/\/wpengine.com\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-10-at-12.54.00-PM.png\" alt=\"Snapshot of Image Optimizer, a top-rated tool for optimizing images for web, integrated with Local\u2014 the leading local development platform.\" class=\"wp-image-139993\" srcset=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-10-at-12.54.00-PM.png 829w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-10-at-12.54.00-PM-540x238.png 540w, https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2023\/02\/Screenshot-2023-02-10-at-12.54.00-PM-768x339.png 768w\" sizes=\"auto, (max-width: 829px) 100vw, 829px\" \/><\/figure>\n\n\n\n<p>If you\u2019re using <a href=\"https:\/\/localwp.com\/\" target=\"_blank\" rel=\"noreferrer noopener\">Local<\/a> as your local development environment, you can use the Image Optimizer Add-on to automatically compress images offline. It scans your site for all image files, saving you the time of individually compressing them and speeding up your site in the process.<\/p>\n\n\n\n<p><strong><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/tinypng.com\/\" target=\"_blank\">TinyPNG<\/a><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/getflywheel.com\/layout\/wp-content\/uploads\/2019\/04\/tinyPNG-784x315.png\" alt=\"Screenshot of TinyPNG, a powerful tool for optimizing images for web.\" class=\"wp-image-34063\" \/><\/figure>\n\n\n\n<p>This browser-based tool optimizes images using smart lossy compression, reducing your file size by decreasing the number of colors used. (But don\u2019t worry, you won\u2019t even notice!) It\u2019s free and quick to use for PNGs and JPEGs.<\/p>\n\n\n\n<p><strong><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/imageoptim.com\/mac\" target=\"_blank\">ImageOptim<\/a><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/getflywheel.com\/layout\/wp-content\/uploads\/2019\/04\/ImageOptim-784x492.png\" alt=\"Optimize images for web with ImageOptim, an image compression tool\" class=\"wp-image-34062\" \/><\/figure>\n\n\n\n<p>This is a free Mac app that compresses images by removing unnecessary bloat while preserving as much image quality as possible.<\/p>\n\n\n\n<p><strong><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/www.jpegmini.com\/\" target=\"_blank\">JPEGmini<\/a><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/getflywheel.com\/layout\/wp-content\/uploads\/2019\/04\/JPEGmini-784x435.png\" alt=\"A screenshot of JPEGmini, a great tool to optimize images for web.\" class=\"wp-image-34064\" \/><\/figure>\n\n\n\n<p>JPEGmini is a powerful paid option that helps you reduce file size while retaining both quality and format. It does have a free trial, so you can give it a test run before you purchase.<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator aligncenter has-alpha-channel-opacity\" \/>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"automate\">5. Automate image optimization with a WordPress plugin<\/h3>\n\n\n\n<p>At this point, you might be starting to think that image optimization is a lot of work\u2014and it can be! But there\u2019s also an easy way to streamline a few of these steps, and that\u2019s by installing an image optimization plugin on your WordPress site.<\/p>\n\n\n\n<p>I have a few recommendations, and they each have unique features. But generally, an image optimization plugin will compress and resize your images when you upload to your WordPress site. This means you can skip those steps instead of doing them manually\u2014a big time saver.<\/p>\n\n\n\n<p>This method is also nice if you\u2019re building sites for clients. It\u2019s a lot of pressure for the end-user and content creators to try remembering every step of the image optimization process. By installing a plugin that\u2019ll do most of the work for them, you\u2019ll help ensure the speed and performance of the site you\u2019ve built once you hand it off.<\/p>\n\n\n\n<p><strong>To optimize images on a WordPress site, I recommend these plugins:<\/strong><\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/wordpress.org\/plugins\/ewww-image-optimizer-cloud\/\" target=\"_blank\" rel=\"noreferrer noopener\">EWWW Image Optimizer Cloud<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/wordpress.org\/plugins\/tiny-compress-images\/\" target=\"_blank\" rel=\"noreferrer noopener\">TinyPNG<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/wordpress.org\/plugins\/kraken-image-optimizer\/\" target=\"_blank\" rel=\"noreferrer noopener\">Kracken.io<\/a><\/li>\n\n\n\n<li><a href=\"https:\/\/wordpress.org\/plugins\/imagify\/\" target=\"_blank\" rel=\"noreferrer noopener\">Imagify<\/a><\/li>\n<\/ul>\n\n\n\n<p><strong><a rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\" href=\"https:\/\/wordpress.org\/plugins\/ewww-image-optimizer-cloud\/\" target=\"_blank\">EWWW Image Optimizer Cloud<\/a><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/getflywheel.com\/layout\/wp-content\/uploads\/2019\/04\/EWWWImageOptimizer-784x252.png\" alt=\"EWWW Image Optimizer efficiently optimizes images for web usage\" class=\"wp-image-34067\" \/><\/figure>\n\n\n\n<p>This WordPress plugin will automatically optimize your images when you upload them to your site, or optimize images that you\u2019ve uploaded in the past. This makes it incredibly beneficial if you\u2019re working with an existing site with unoptimized images.<\/p>\n\n\n\n<p><strong><a rel=\"noreferrer noopener\" href=\"https:\/\/wordpress.org\/plugins\/tiny-compress-images\/\" target=\"_blank\">TinyPNG<\/a><\/strong><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/getflywheel.com\/layout\/wp-content\/uploads\/2019\/04\/CompressJPEGandPNGimages-784x253.png\" alt=\"Optimize Images for Web with the TinyPNG optimizer plugin\" class=\"wp-image-34069\" \/><\/figure>\n\n\n\n<p>This WordPress plugin by the TinyPNG team can optimize JPEG and PNG images on upload. If you\u2019re a fan of the browser-based tool, streamline the process with their free plugin!<\/p>\n\n\n\n<p><strong><a href=\"https:\/\/wordpress.org\/plugins\/kraken-image-optimizer\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Kracken.io<\/a><\/strong><br><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/getflywheel.com\/layout\/wp-content\/uploads\/2019\/04\/Kraken-784x251.png\" alt=\"The Kraken.io plugin efficiently optimizes images for the web including both new and existing images.\" class=\"wp-image-34070\" \/><\/figure>\n\n\n\n<p>The Kracken.io plugin can optimize both new and existing images on your WordPress site. It also supports both lossless and lossy compression modes, giving you lots of control over the end result.<\/p>\n\n\n\n<p><strong><a href=\"https:\/\/wordpress.org\/plugins\/imagify\/\" target=\"_blank\" rel=\"noreferrer noopener\" aria-label=\" (opens in a new tab)\">Imagify<\/a><\/strong><br><\/p>\n\n\n\n<figure class=\"wp-block-image aligncenter\"><img decoding=\"async\" src=\"https:\/\/getflywheel.com\/layout\/wp-content\/uploads\/2019\/04\/Imagify-784x252.png\" alt=\"The Imagify plugin efficiently optimizes images for web without sacrificing quality.\" class=\"wp-image-34072\" \/><\/figure>\n\n\n\n<p>This WordPress plugin will help optimize your images without losing quality. It\u2019s also compatible with WooCommerce and NextGen Gallery, if you\u2019re using those plugins.<\/p>\n\n\n\n<p>Note: Before choosing a plugin, be sure to look at how they operate. Some use server-taxing operations that can cause issues on your site, while others use FTP options to lessen the load on your web server.<\/p>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<hr class=\"wp-block-separator aligncenter has-alpha-channel-opacity\" \/>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"blur-up\">6. Use the \u201cblur up\u201d technique to load a Lower Quality Image first<\/h3>\n\n\n\n<p>Even after all the previous optimization steps, there are cases where you still might be working with large file sizes or lots of images on a page, slowing down your site speed. In those cases, sometimes it\u2019s helpful to not only optimize images, but to optimize the load experience so site visitors think your media files are loading faster than they really are.<\/p>\n\n\n\n<p>That\u2019s what these next two steps are all about\u2014giving the appearance of faster loading images, so users aren\u2019t just staring at a blank page while your files load.<\/p>\n\n\n\n<p>One way to do this is to load a Lower Quality Image (LQI) first. By loading a smaller version of the image before loading the full size, it gives the user something to look at while they wait for all the details. This gives the perception of a faster load time even if, technically, everything is loading at the same rate.<\/p>\n\n\n\n<p>A popular way to do this is the \u201cblur up\u201d technique, which you can learn how to implement with this <a href=\"https:\/\/css-tricks.com\/the-blur-up-technique-for-loading-background-images\/\" target=\"_blank\" rel=\"noreferrer noopener\">tutorial on CSS-Tricks<\/a>.<\/p>\n\n\n\n<hr class=\"wp-block-separator aligncenter has-alpha-channel-opacity\" \/>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"lazy-load\">7. Lazy load your site images<\/h3>\n\n\n\n<p>Similar to the \u201cblur up\u201d technique, there\u2019s one more trick that will help you give the appearance of faster loading images: Lazy loading.<\/p>\n\n\n\n<p>When someone lands on your site, they start at the top of the page. It\u2019s probably going to take them a moment to scroll the entire page, especially if they\u2019re engaged. Instead of trying to load all the images at once, lazy loading acts under the assumption that users care most about the content they can see. So, the images within their browser view fully load first, while the other images load a placeholder first, until the user scrolls to that section of the page.<\/p>\n\n\n\n<p>Lazy loading is a great technique on its own, and even more powerful when paired with the rest of these image optimization tips! And, it\u2019s very easy to do on a WordPress site, thanks to the <a href=\"https:\/\/wordpress.org\/plugins\/wp-smushit\/?_ga=2.2011704.801699926.1663277698-655090158.1663277698\" target=\"_blank\" rel=\"noreferrer noopener\">Smush plugin<\/a>.<\/p>\n\n\n\n<hr class=\"wp-block-separator aligncenter has-alpha-channel-opacity\" \/>\n\n\n\n<div style=\"height:10px\" aria-hidden=\"true\" class=\"wp-block-spacer\"><\/div>\n\n\n\n<p>This concludes our step-by-step guide for better site performance by optimizing images! To see the impact this has made on your site, run another speed test. How\u2019d you do?<\/p>\n\n\n\n<p>With the right image optimization tools, you\u2019ll be able to see better site speed and performance in no time! For more help optimizing your site, check out WP Engine\u2019s industry-leading <a href=\"https:\/\/wpengine.com\/wordpress-hosting\/\" target=\"_blank\" rel=\"noreferrer noopener\">hosting for WordPress <\/a>websites or <a href=\"\/contact\/\" target=\"_blank\" rel=\"noreferrer noopener\">speak to a representative<\/a> today!<\/p>\n","protected":false},"excerpt":{"rendered":"<p>There\u2019s no doubt that images are an invaluable part of the web.&nbsp; From visualizing data to breaking up paragraphs of text to showing off your portfolio of work, photos and graphics play an important role in most website designs and help users enjoy better online experiences. Having great visuals, however, can take a toll on<span class=\"tile__ellipses\">&hellip;<\/span><span class=\"tile__ellipses--animated\"><\/span><\/p>\n","protected":false},"author":321,"featured_media":139995,"template":"","resource-topic":[912],"resource-role":[896],"resource-type":[916],"class_list":["post-34054","resource","type-resource","status-publish","has-post-thumbnail","hentry"],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v20.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to optimize images for web: A step-by-step guide<\/title>\n<meta name=\"description\" content=\"Enhance site performance starting with the images on your site. Optimize images for web for a smoother, more engaging user experience.\" \/>\n<meta name=\"robots\" content=\"noindex, follow\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to optimize images for web: A step-by-step guide\" \/>\n<meta property=\"og:description\" content=\"Enhance site performance starting with the images on your site. Optimize images for web for a smoother, more engaging user experience.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wpengine.com\/case-studies\/resources\/optimize-images-for-web\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Engine\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/wpengine\" \/>\n<meta property=\"article:modified_time\" content=\"2025-11-25T16:00:17+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2021\/05\/optimize-images.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1100\" \/>\n\t<meta property=\"og:image:height\" content=\"732\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/jpeg\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:site\" content=\"@wpengine\" \/>\n<meta name=\"twitter:label1\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data1\" content=\"13 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/optimize-images-for-web\/\",\"url\":\"https:\/\/wpengine.com\/case-studies\/resources\/optimize-images-for-web\/\",\"name\":\"How to optimize images for web: A step-by-step guide\",\"isPartOf\":{\"@id\":\"https:\/\/wpengine.com\/case-studies\/#website\"},\"datePublished\":\"2021-05-17T21:18:00+00:00\",\"dateModified\":\"2025-11-25T16:00:17+00:00\",\"description\":\"Enhance site performance starting with the images on your site. Optimize images for web for a smoother, more engaging user experience.\",\"breadcrumb\":{\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/optimize-images-for-web\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wpengine.com\/case-studies\/resources\/optimize-images-for-web\/\"]}]},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/resources\/optimize-images-for-web\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wpengine.com\/case-studies\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Resources\",\"item\":\"https:\/\/wpengine.com\/case-studies\/resources\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Optimize Images for Web: A Step-By-Step Guide for Better Site Performance\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#website\",\"url\":\"https:\/\/wpengine.com\/case-studies\/\",\"name\":\"WP Engine\",\"description\":\"Managed Hosting for WordPress\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wpengine.com\/case-studies\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/178d68feea6e9cc70f0facedf91fa7f8\",\"name\":\"Tyler Stokes\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/de336a182abd92df0e19e59dba02ab77593e3f3714d1e78481d7e4ad058c586d?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/de336a182abd92df0e19e59dba02ab77593e3f3714d1e78481d7e4ad058c586d?s=96&d=mm&r=g\",\"caption\":\"Tyler Stokes\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to optimize images for web: A step-by-step guide","description":"Enhance site performance starting with the images on your site. Optimize images for web for a smoother, more engaging user experience.","robots":{"index":"noindex","follow":"follow"},"og_locale":"en_US","og_type":"article","og_title":"How to optimize images for web: A step-by-step guide","og_description":"Enhance site performance starting with the images on your site. Optimize images for web for a smoother, more engaging user experience.","og_url":"https:\/\/wpengine.com\/case-studies\/resources\/optimize-images-for-web\/","og_site_name":"WP Engine","article_publisher":"https:\/\/www.facebook.com\/wpengine","article_modified_time":"2025-11-25T16:00:17+00:00","og_image":[{"width":1100,"height":732,"url":"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2021\/05\/optimize-images.jpg","type":"image\/jpeg"}],"twitter_card":"summary_large_image","twitter_site":"@wpengine","twitter_misc":{"Est. reading time":"13 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/wpengine.com\/case-studies\/resources\/optimize-images-for-web\/","url":"https:\/\/wpengine.com\/case-studies\/resources\/optimize-images-for-web\/","name":"How to optimize images for web: A step-by-step guide","isPartOf":{"@id":"https:\/\/wpengine.com\/case-studies\/#website"},"datePublished":"2021-05-17T21:18:00+00:00","dateModified":"2025-11-25T16:00:17+00:00","description":"Enhance site performance starting with the images on your site. Optimize images for web for a smoother, more engaging user experience.","breadcrumb":{"@id":"https:\/\/wpengine.com\/case-studies\/resources\/optimize-images-for-web\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wpengine.com\/case-studies\/resources\/optimize-images-for-web\/"]}]},{"@type":"BreadcrumbList","@id":"https:\/\/wpengine.com\/case-studies\/resources\/optimize-images-for-web\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wpengine.com\/case-studies\/"},{"@type":"ListItem","position":2,"name":"Resources","item":"https:\/\/wpengine.com\/case-studies\/resources\/"},{"@type":"ListItem","position":3,"name":"How to Optimize Images for Web: A Step-By-Step Guide for Better Site Performance"}]},{"@type":"WebSite","@id":"https:\/\/wpengine.com\/case-studies\/#website","url":"https:\/\/wpengine.com\/case-studies\/","name":"WP Engine","description":"Managed Hosting for WordPress","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wpengine.com\/case-studies\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/178d68feea6e9cc70f0facedf91fa7f8","name":"Tyler Stokes","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wpengine.com\/case-studies\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/de336a182abd92df0e19e59dba02ab77593e3f3714d1e78481d7e4ad058c586d?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/de336a182abd92df0e19e59dba02ab77593e3f3714d1e78481d7e4ad058c586d?s=96&d=mm&r=g","caption":"Tyler Stokes"}}]}},"acf":[],"grid_image_url":"https:\/\/wpengine.com\/case-studies\/wp-content\/uploads\/2021\/05\/optimize-images-grid.png","media-type":{"term_id":916,"name":"Article","slug":"article"},"role":"<strong>Roles:<\/strong> Developer","topic":"<strong>Topics:<\/strong> Performance","_links":{"self":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource\/34054","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource"}],"about":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/types\/resource"}],"author":[{"embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/users\/321"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/media\/139995"}],"wp:attachment":[{"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/media?parent=34054"}],"wp:term":[{"taxonomy":"resource-topic","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-topic?post=34054"},{"taxonomy":"resource-role","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-role?post=34054"},{"taxonomy":"resource-type","embeddable":true,"href":"https:\/\/wpengine.com\/case-studies\/wp-json\/wp\/v2\/resource-type?post=34054"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}