{"id":1508,"date":"2022-07-13T11:20:03","date_gmt":"2022-07-13T11:20:03","guid":{"rendered":"https:\/\/imagify.io\/blog\/?p=1508"},"modified":"2024-03-07T11:19:20","modified_gmt":"2024-03-07T11:19:20","slug":"properly-size-images","status":"publish","type":"post","link":"https:\/\/imagify.io\/blog\/properly-size-images\/","title":{"rendered":"How To Properly Size Images"},"content":{"rendered":"\n<p>Are you getting the \u201cproperly size images\u201d warning when running a performance audit on Google PageSpeed Insights? This issue is triggered if Lighthouse identifies any images on your page that aren&#8217;t appropriately sized.<\/p>\n\n\n\n<p>Properly sizing your images can drastically improve page loading times and reduce bandwidth consumption. In this article, we share some optimization techniques you can follow to optimize the images of your WordPress site.<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">What Does Properly Size Images Mean?<\/h2>\n\n\n\n<p>Properly sizing your images means that the image URL should not be larger than the size they are rendered at on the visitor screen. You should not serve anything larger than what\u2019s needed \u2013 it would waste bytes and make the page slower.<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>The golden rule: Images uploaded on your WordPress site should be sized based on the dimensions they will be displayed.<\/strong><\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"500\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Actual-size-vs-rendered-size-Source-Imagify.png\" alt=\"Actual size vs rendered size - Source: Imagify\n\" class=\"wp-image-1510\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Actual-size-vs-rendered-size-Source-Imagify.png 800w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Actual-size-vs-rendered-size-Source-Imagify-300x188.png 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Actual-size-vs-rendered-size-Source-Imagify-768x480.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Actual size vs rendered size &#8211; Source: <a href=\"https:\/\/imagify.io\/\">Imagify<\/a><br><\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\">What Triggers the Lighthouse Warning&nbsp;<\/h3>\n\n\n\n<p>Lighthouse compares the size of the rendered image (device pixel ratio) and the size of the actual image. The \u201cproperly size images\u201d warning is triggered if the rendered size is at least 4KiB smaller than the actual size.&nbsp;<\/p>\n\n\n\n<h3 class=\"wp-block-heading\">Impact Of Improperly-sized Images on Performance<\/h3>\n\n\n\n<p>If images are not sized properly, the browser will take the \u201cdecision\u201d to resize them before displaying them to the visitor, wasting time and resources. Too large images harm the page experience, forcing the user to download more data than needed.&nbsp;&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>A high-resolution image = huge file size = drastically affects web performance = more consumed cellular data&nbsp;<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>This is what happens on the browser side when it parses not properly sized images:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large is-style-default\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"500\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Browser-execution-time-with-high-resolution-images-Source-Imagify-.png\" alt=\"Browser execution time with high-resolution images - Source: Imagify\" class=\"wp-image-1512\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Browser-execution-time-with-high-resolution-images-Source-Imagify-.png 800w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Browser-execution-time-with-high-resolution-images-Source-Imagify--300x188.png 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Browser-execution-time-with-high-resolution-images-Source-Imagify--768x480.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Browser execution time with high-resolution images &#8211; Source: <a href=\"https:\/\/imagify.io\/\">Imagify<\/a><\/figcaption><\/figure>\n\n\n\n<p>The browser will spend more time downloading the file and resizing the image, increasing the bandwidth consumed. To avoid any performance issues related to images, there are a few easy techniques you can implement.&nbsp; Let\u2019s go over them in the next part!&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">3 Tips to Properly Size Images on WordPress<\/h2>\n\n\n\n<p>To properly size images on WordPress, you can follow three easy image optimization tips:&nbsp;<\/p>\n\n\n\n<ol class=\"wp-block-list\">\n<li><a href=\"#resize-images\">Resize Images To Correct Dimensions&nbsp;<\/a><\/li>\n\n\n\n<li><a href=\"#responsive-images\">Use Responsive Images<\/a><\/li>\n\n\n\n<li><a href=\"#vector-based-format\">Use Vector-based Image Formats<\/a><\/li>\n<\/ol>\n\n\n\n<p>Let\u2019s dive in!<\/p>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"resize-images\">1. Resize Images to Correct Dimension&nbsp;<\/h3>\n\n\n\n<h4 class=\"wp-block-heading\">Properly Size Images With Software and Online Tools<\/h4>\n\n\n\n<p>There are many free and premium software you can use to resize images to the correct dimensions. We are sharing two free options on Mac and Windows:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>Preview (Free on Mac)<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"663\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Preview-Software-Source-Preview.png\" alt=\"Preview Software - Source: Preview\n\" class=\"wp-image-1513\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Preview-Software-Source-Preview.png 800w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Preview-Software-Source-Preview-300x249.png 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Preview-Software-Source-Preview-768x636.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Preview Software &#8211; Source: Preview<br><\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li>GIMP &#8211; a free editing software allowing you to edit and resize images in a very convenient way:&nbsp;<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"556\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Resizing-images-Source-GIMP.png\" alt=\"Resizing images - Source: GIMP\n\" class=\"wp-image-1514\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Resizing-images-Source-GIMP.png 800w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Resizing-images-Source-GIMP-300x209.png 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Resizing-images-Source-GIMP-768x534.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Resizing images &#8211; Source: GIMP<br><\/figcaption><\/figure>\n\n\n\n<p>Of course, you also have the option to use the two famous Photoshop and Lightroom software, but they can be a steep learning curve. We have listed <a href=\"https:\/\/imagify.io\/blog\/best-alternatives-photoshop-image-optimization\/?\">10 alternatives to Photoshop for image optimization<\/a> if you are interested.<\/p>\n\n\n\n<p><strong>Important: If you are resizing several images, you may find it more convenient to use a script like <\/strong><a href=\"https:\/\/imagemagick.org\/index.php\"><strong>Imagemagick<\/strong><\/a><strong> to automate the process.&nbsp;<\/strong><\/p>\n\n\n\n<h4 class=\"wp-block-heading\">Properly Size Images Using an Image CDN&nbsp;<\/h4>\n\n\n\n<p>Image CDNs can help to properly size images for your WordPress site. They specialize in the transformation, optimization, and delivery of images. They are like APIs that access and sort the images used on your site according to the user device.&nbsp;<\/p>\n\n\n\n<p><strong>How does it work?&nbsp;<\/strong><\/p>\n\n\n\n<p>Each image loaded from an image CDN has an URL that indicates which image to load, plus the size, format, and quality. Then it can \u201ctransform\u201d the image to serve it in the best-optimized format.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"127\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Image-CDNs-URL.png\" alt=\"Image CDN\u2019s URL - Source: WebDev\n\" class=\"wp-image-1515\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Image-CDNs-URL.png 800w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Image-CDNs-URL-300x48.png 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Image-CDNs-URL-768x122.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Image CDN\u2019s URL &#8211; Source: <a href=\"https:\/\/web.dev\/image-cdns\/\">WebDev<\/a><br><\/figcaption><\/figure>\n\n\n\n<p>An image CDN also creates variations of an image for different use cases and reduces the image bytes consumption by at least 40%. Google Developers did interesting research about companies that decided to switch to an image CDN. This is how much data they saved:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"500\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Images-bytes-saved-using-an-Image-CDN-Source-Imagify-.png\" alt=\"Images bytes saved using an Image CDN - Source: Imagify\n \n\" class=\"wp-image-1516\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Images-bytes-saved-using-an-Image-CDN-Source-Imagify-.png 800w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Images-bytes-saved-using-an-Image-CDN-Source-Imagify--300x188.png 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Images-bytes-saved-using-an-Image-CDN-Source-Imagify--768x480.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Images bytes saved using an Image CDN &#8211; Source: <a href=\"https:\/\/imagify.io\/\">Imagify<\/a><br>&nbsp;<br><\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"responsive-images\">2. Use Responsive Images<\/h3>\n\n\n\n<p>One of the best strategies for serving optimized images is called \u201cresponsive images\u201d, meaning adjusting the width and height to fit any screen (mobile, tablet, or desktop). All the images will be optimized and served to the right screen, resulting in less bandwidth consumed and a faster browser execution.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"500\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Responsive-images-Source-Imagify-.png\" alt=\"Responsive images - Source: Imagify\n\" class=\"wp-image-1517\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Responsive-images-Source-Imagify-.png 800w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Responsive-images-Source-Imagify--300x188.png 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Responsive-images-Source-Imagify--768x480.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Responsive images &#8211; Source: <a href=\"https:\/\/imagify.io\/\">Imagify<\/a><br><\/figcaption><\/figure>\n\n\n\n<p>You\u2019ll need to generate multiple versions of each image and then specify which one to use in your HTML or CSS using viewport dimensions, media queries, etc.&nbsp;<\/p>\n\n\n\n<p>Important: the image size will change depending on the site\u2019s layout breakpoints (building blocks of responsive design).<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"500\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Most-common-responsive-breakpoints-for-serving-responsive-images-Source-Imagify.png\" alt=\"Most common responsive breakpoints for serving responsive images - Source: Imagify\n\" class=\"wp-image-1518\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Most-common-responsive-breakpoints-for-serving-responsive-images-Source-Imagify.png 800w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Most-common-responsive-breakpoints-for-serving-responsive-images-Source-Imagify-300x188.png 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Most-common-responsive-breakpoints-for-serving-responsive-images-Source-Imagify-768x480.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Most common responsive breakpoints for serving responsive images &#8211; Source: <a href=\"https:\/\/imagify.io\/\">Imagify<\/a><br><\/figcaption><\/figure>\n\n\n\n<p>If you want to follow Bootstrap standards, you can use use the following media queries to ensure that your images are responsive:<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li>576px for portrait phones<\/li>\n\n\n\n<li>768px for tablets<\/li>\n\n\n\n<li>992px for laptops<\/li>\n\n\n\n<li>1200px for large devices<\/li>\n<\/ul>\n\n\n\n<p>Now that we know the dimensions we should specify for each screen, how do we tell the browser which one to pick according to the visitor screen?&nbsp;<\/p>\n\n\n\n<p>You can use <em>src,<\/em> <em>srcset,<\/em> and <em>sizes <\/em>attributes to serve different images to different display densities (qualities) on mobile or desktop. In the example below, we use the src attribute to tell the browser that different sizes are available for the flower picture:&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"166\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Responsive-images-with-the-src-attribute.png\" alt=\"Responsive images with the src attribute - Source: WebDev\" class=\"wp-image-1519\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Responsive-images-with-the-src-attribute.png 800w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Responsive-images-with-the-src-attribute-300x62.png 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Responsive-images-with-the-src-attribute-768x159.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Responsive images with the src attribute &#8211; Source: <a href=\"https:\/\/web.dev\/serve-responsive-images\/\">WebDev<\/a><\/figcaption><\/figure>\n\n\n\n<p>To automatically serve responsive images on your WordPress site, you can use <a href=\"https:\/\/cloudinary.com\/\">Cloudinary<\/a> (no setup required). It\u2019s an end-to-end image and video management solution for websites and mobile apps. You can easily upload images and videos to the cloud and automate smart manipulations of those media (resigning, optimizations, etc.) without installing other editing software.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"641\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Serving-properly-size-images-with-Cloudinary-Source-Cloudinary-.png\" alt=\"Serving properly size images with Cloudinary -Source: Cloudinary \n\n\" class=\"wp-image-1520\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Serving-properly-size-images-with-Cloudinary-Source-Cloudinary-.png 800w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Serving-properly-size-images-with-Cloudinary-Source-Cloudinary--300x240.png 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Serving-properly-size-images-with-Cloudinary-Source-Cloudinary--768x615.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Serving properly size images with Cloudinary -Source: <a href=\"https:\/\/cloudinary.com\/\">Cloudinary<\/a>&nbsp;<br><\/figcaption><\/figure>\n\n\n\n<p>Once optimized, Cloudinary serves the images through those three CDNs: Akamai, Fastly, and CloudFront. <em>If you want to connect your own CDN, you\u2019ll need to contact them.&nbsp;<\/em><\/p>\n\n\n\n<p><strong>Want to test if your site uses a responsive design? <\/strong>Go to <a href=\"https:\/\/search.google.com\/test\/mobile-friendly\">Google Search Console &gt; Mobile Friendly <\/a>and enter your URL.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"324\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Mobile-friendly-page-result-Source-Google-Search-Console.png\" alt=\"Mobile-friendly page result - Source: Google Search Console\n\" class=\"wp-image-1521\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Mobile-friendly-page-result-Source-Google-Search-Console.png 800w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Mobile-friendly-page-result-Source-Google-Search-Console-300x122.png 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Mobile-friendly-page-result-Source-Google-Search-Console-768x311.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Mobile-friendly page result &#8211; Source: <a href=\"https:\/\/search.google.com\/test\/mobile-friendly\/\">Google Search Console<\/a><br><\/figcaption><\/figure>\n\n\n\n<h3 class=\"wp-block-heading\" id=\"vector-based-format\">3. Use Vector-based Image Formats<\/h3>\n\n\n\n<p>Another strategy to properly resize your images is to use vector-based image formats (like SVG). An SVG image can be infinitely scaled with a finite amount of code without losing quality.<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"500\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/icon-fonts-vs-.SVG-Source-Imagify.png\" alt=\"Icon fonts vs .SVG - Source: Imagify\n\" class=\"wp-image-1522\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/icon-fonts-vs-.SVG-Source-Imagify.png 800w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/icon-fonts-vs-.SVG-Source-Imagify-300x188.png 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/icon-fonts-vs-.SVG-Source-Imagify-768x480.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Icon fonts vs .SVG &#8211; Source: <a href=\"https:\/\/imagify.io\/\">Imagify<\/a><br><\/figcaption><\/figure>\n\n\n\n<p>Resizing images is crucial for web performance, but you can follow many other advanced optimization techniques to give your website an extra speed boost.&nbsp;<\/p>\n\n\n\n<p>Have you heard about encoding, compression, and using <a href=\"https:\/\/imagify.io\/blog\/serve-next-gen-formats-wordpress\/\">next-gen formats<\/a> to make your WordPress site faster? In the next part, we go over a few more image optimization strategies you can implement in a few clicks, thanks to <a href=\"https:\/\/imagify.io\/blog\/best-image-compression-plugins\/\">Imagify, one of the best image compression plugins for WordPress.<\/a>&nbsp;<\/p>\n\n\n\n<h2 class=\"wp-block-heading\">Making Images Faster with Imagify<\/h2>\n\n\n\n<p>With <a href=\"https:\/\/imagify.io\/pricing\/\">Imagify<\/a>, you can\u2019t resize your images manually. Still, you can accomplish the following file size optimizations:&nbsp;<\/p>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/imagify.io\/blog\/resize-compress-large-images-in-bulk\/\">Compress your large images in bulk <\/a>using <a href=\"https:\/\/imagify.io\/blog\/imagify-smart-compression\/\">Smart Compression<\/a>.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td>Learn more about the differences between <a href=\"https:\/\/imagify.io\/blog\/lossless-vs-lossy-image-compression\/\">lossless and lossy image compression in our dedicated guide<\/a>.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<p>In terms of compression, Imagify can save up to 95% of your file size! In the example below, we can\u2019t resize images with our values, but compression has downsized the width and height of our images.&nbsp;<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"490\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Media-Library-New-Compression-Levels-1024x490.png\" alt=\"\" class=\"wp-image-1499\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Media-Library-New-Compression-Levels-1024x490.png 1024w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Media-Library-New-Compression-Levels-300x144.png 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Media-Library-New-Compression-Levels-768x368.png 768w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Media-Library-New-Compression-Levels.png 1180w\" sizes=\"auto, (max-width: 1024px) 100vw, 1024px\" \/><\/figure>\n\n\n\n<p>As mentioned above, bulk optimization allows you to optimize all the images at once:<\/p>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"365\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Bulk-optimization-button-Source-Imagify-WordPress-dashboard-.png\" alt=\"Bulk optimization button - Source: Imagify WordPress dashboard \n\" class=\"wp-image-1524\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Bulk-optimization-button-Source-Imagify-WordPress-dashboard-.png 800w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Bulk-optimization-button-Source-Imagify-WordPress-dashboard--300x137.png 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Bulk-optimization-button-Source-Imagify-WordPress-dashboard--768x350.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Bulk optimization button &#8211; Source: Imagify WordPress dashboard&nbsp;<br><\/figcaption><\/figure>\n\n\n\n<ul class=\"wp-block-list\">\n<li><a href=\"https:\/\/imagify.io\/blog\/serve-next-gen-formats-wordpress\/\">Convert them to WebP, the next-gen format<\/a> recommended by Lighthouse.<\/li>\n<\/ul>\n\n\n\n<figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"800\" height=\"254\" src=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Converting-images-to-WebP-.png\" alt=\"Converting images to WebP - Source: Imagify WordPress dashboard \n\" class=\"wp-image-1525\" srcset=\"https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Converting-images-to-WebP-.png 800w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Converting-images-to-WebP--300x95.png 300w, https:\/\/imagify.io\/blog\/wp-content\/uploads\/2022\/07\/Converting-images-to-WebP--768x244.png 768w\" sizes=\"auto, (max-width: 800px) 100vw, 800px\" \/><figcaption class=\"wp-element-caption\">Converting images to WebP &#8211; Source: Imagify WordPress dashboard&nbsp;<br><\/figcaption><\/figure>\n\n\n\n<figure class=\"wp-block-table\"><table><tbody><tr><td><strong>\ud83d\udd0a Important to note<\/strong>: as of March 2024,<a href=\"https:\/\/imagify.io\/blog\/convert-images-to-avif-performance\/\"> Imagify also converts images to Avif<\/a>, the other next-gen format recommended by Google to make your images lighter.<\/td><\/tr><\/tbody><\/table><\/figure>\n\n\n\n<h2 class=\"wp-block-heading\">Wrapping Up\u00a0<\/h2>\n\n\n\n<p>The best way to avoid properly sized image warnings is to learn the measurement of the different areas of your website (logo, sidebar, sliders, featured images, etc.). Once you know which dimensions are needed for each part, displaying the right size for any device will be a piece of cake!&nbsp;<\/p>\n\n\n\n<p>Resizing images is not the only way to optimize them. You also need to compress (or encode) them and serve them in a next-gen format like WebP or Avif.\u00a0<\/p>\n\n\n\n<p>All those strategies will significantly reduce the image file size, resulting in a faster download time for your visitors. And good news, they can be implemented easily with the Imagify plugin! <a href=\"https:\/\/imagify.io\/optimizer\/#page\">A free trial is available<\/a> so you can optimize a few images and see how your page performance improves. No risks-taken!<\/p>\n<a href=\"https:\/\/imagify.io\/optimizer\/\"><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter bottom-blog-post-cta\" src=\"https:\/\/imagify.io\/blog\/wp-content\/themes\/imagify\/assets\/img\/gwic-1.png\" alt=\"Imagify, decrease the size of your images, increase the speed of your website: try it for free\" width=\"690\" height=\"190\"><\/a>","protected":false},"excerpt":{"rendered":"<p>Are you getting the \u201cproperly size images\u201d warning when running a performance audit on PageSpeed Insights? Read our article and learn what you should do to fix the issue.<\/p>\n","protected":false},"author":8,"featured_media":1528,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[5],"tags":[],"class_list":["post-1508","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-image-optimization"],"_links":{"self":[{"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/posts\/1508","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/users\/8"}],"replies":[{"embeddable":true,"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/comments?post=1508"}],"version-history":[{"count":8,"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/posts\/1508\/revisions"}],"predecessor-version":[{"id":2394,"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/posts\/1508\/revisions\/2394"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/media\/1528"}],"wp:attachment":[{"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/media?parent=1508"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/categories?post=1508"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/imagify.io\/blog\/wp-json\/wp\/v2\/tags?post=1508"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}