{"id":1533749,"date":"2019-10-02T17:11:10","date_gmt":"2019-10-02T15:11:10","guid":{"rendered":"https:\/\/wp-rocket.me\/?p=1533749"},"modified":"2024-03-07T12:35:49","modified_gmt":"2024-03-07T11:35:49","slug":"image-optimization-wordpress","status":"publish","type":"post","link":"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/","title":{"rendered":"How to Optimize Images for WordPress and Improve Your PageSpeed Score"},"content":{"rendered":"<p><em>Last update: July 2021<\/em><\/p><p>Images are a crucial element of every website: they make posts and pages more interesting and appealing to read, but they can quickly become a burden for your performance and PageSpeed score. Google is always wary and ready to judge your moves when it comes to web performance, and you don\u2019t want to disappoint it, right?<\/p><p>That\u2019s why we\u2019re here to provide you with all the insights about image optimization for WordPress!<\/p><p>You\u2019re going to learn everything about how to resize and compress your images, maintain their quality, and how to choose the best online image optimizers. We\u2019ll dig even deeper recommending a very useful WordPress image optimization plugin, Imagify. Last but not least, you\u2019ll learn how to improve your site\u2019s performance even more through lazy loading.<\/p><p>Ready to start the ball rolling? Let\u2019s go!<\/p><h2 class=\"wp-block-heading\">Large Images Are One of the Biggest Drains on Load Time<\/h2><p>Images are typically one of the biggest (and overlooked) performance issues. Even with caching and a CDN, an unoptimized image will still drag down your page loading time and affect the <a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/improve-largest-contentful-paint\/\">Largest Contentful Paint score<\/a>, one of the Core Web Vitals metrics.&nbsp;<\/p><p>But, as the website owner, images are completely under your control. So, if you can get a handle on how to work with and optimize images, you can improve the speed of your site and <a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/\">optimize the Core Web Vitals\u2019 performance<\/a>.<\/p><p>Based on our experience with WP Rocket customers, we know that one of the most common problems is related to heavy pages, which sometimes come packed with high-resolution pictures, photo widgets, and hefty image sliders.<\/p><p>To give you an idea:<strong> images contribute, on average, about 30% of the total page load time<\/strong>. Often this is the single largest factor of the loading time. In extreme cases, it could be closer to 60% of the loading time.<\/p><p>Here\u2019s an example of what un-optimized images will do to your site:<\/p><div class=\"wp-block-image\"><figure class=\"aligncenter size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"500\" height=\"108\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/07\/pingdom-image-slow-site.jpg\" alt=\"Pingdom slow website\" class=\"wp-image-3570927\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/07\/pingdom-image-slow-site.jpg 500w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/07\/pingdom-image-slow-site-310x67.jpg 310w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><figcaption class=\"wp-element-caption\">Example of un-optimized images<\/figcaption><\/figure><\/div><p>The load time is 12 seconds, and the size of the page is 8MB. Of those 8MB, images account for 6.7MB. This is out of control!&nbsp;<\/p><p>The <a href=\"https:\/\/wp-rocket.me\/blog\/reduce-http-requests-speed-wordpress-site\/\">number of HTTP requests<\/a> is commonly cited as a factor in load time, and while it is important, ultimately,<strong> it\u2019s the page size that is the real indicator of speed or slowness<\/strong>. You can have a small number of HTTP requests, but you will have a problem with your hands if those requests summon giant images.<\/p><figure class=\"wp-block-table\"><table><tbody><tr><td>\ud83d\ude80 Reducing page size by reducing image size is a simple and effective strategy for improving load time. And it can be a real game-changer for your WordPress site performance.<\/td><\/tr><\/tbody><\/table><\/figure><h2 class=\"wp-block-heading\">File Size Matters: Why You Should Resize and Compress Images<\/h2><h3 class=\"wp-block-heading\">Understanding image dimensions and file sizes<\/h3><p>The dimensions of the image, i.e., how much space on the screen an image takes up, are measured in pixels, and while they do not 100% dictate file size, they are related. The larger the dimensions of your image, the larger the file size.<\/p><p>The file size is measured in kilobytes (KB) and megabytes (MB)<\/p><p>1MB = 1000KB<\/p><p>To give you a point of reference, the main content column of this blog is 796 pixels wide.<\/p><p>If you take a photo with your smartphone, depending on your settings, that photo could be in the region of 2500 pixels wide (or even more) with a file size of 3MB (or 3000KB). If I were to take a photo with my phone and upload it to this blog without any editing, I\u2019m going to be uploading a file that is about 3 times as big as it needs to be \u2013 a total waste of resources and a drag on page load.<\/p><p>So while snapping phone pics and uploading to your blog might be simple, it creates a real problem if you want a fast site by adding tons of unnecessary weight.<\/p><p>Before you upload that photo, you need to do two things: <strong>resize it<\/strong> and <strong>compress it<\/strong>. Here\u2019s how.<\/p><h2 class=\"wp-block-heading\">How to Resize Images Online<\/h2><p>So the first thing you need to do is <a href=\"https:\/\/wp-rocket.me\/blog\/reduce-image-file-size\/\"><strong>resize your images<\/strong><\/a> to the correct size for your site. For blog images, figure out how wide your blog\u2019s content area is, and never upload an image wider than that. If it\u2019s going to be used in a slider, make sure you first determine the slider\u2019s dimensions.<\/p><h3 class=\"wp-block-heading\">How Do You Know How Wide Your Content Area Is?<\/h3><p>If you know how to use the developer tools built into Chrome or Firefox, you can use that. But if that sounds scary, there are simpler tools available.<\/p><p>If you\u2019re on a Mac, there is a screen capture tool, Grab, already built-in, and when you outline an area on the screen, it will tell you the pixels.<\/p><p>Or you can <a href=\"https:\/\/chrome.google.com\/webstore\/detail\/page-ruler\/emliamioobfffbgcfdchabfibonehkme\"><strong>install the easy Page Ruler add-on for Chrome.<\/strong><\/a><\/p><p>Once you\u2019ve figured out what dimensions your images should be, you can use any of the below tools to resize your images accordingly:<\/p><h3 class=\"wp-block-heading\">Resizing Applications and Tools<\/h3><ul class=\"wp-block-list\"><li>Photoshop<\/li>\n\n<li>GIMP \u2013 free, Windows &amp; Mac<\/li>\n\n<li>Irfan View- free for Windows<\/li>\n\n<li>Preview for Mac \u2013 it\u2019s already installed!<\/li>\n\n<li>Developers on Macs can <a href=\"https:\/\/ss64.com\/osx\/sips.html\"><strong>check out sips, a command-line tool<\/strong><\/a><\/li><\/ul><h3 class=\"wp-block-heading\">Online Tools for Resizing<\/h3><ul class=\"wp-block-list\"><li>Picmonkey.com<\/li>\n\n<li>Pixlr.com (also has a mobile app)<\/li>\n\n<li>Fotor.com (also has a mobile app)<br><br>It doesn\u2019t matter which one you use \u2013 all you need to do is locate the resize feature. You\u2019ll be able to enter the desired pixel width, and the application will make sure the image stays in proportion by adjusting the height automatically.<\/li><\/ul><h3 class=\"wp-block-heading\">Common Image Formats<\/h3><p>Images on the web should be saved in either .jpg, .png, or possibly .gif<\/p><ul class=\"wp-block-list\"><li><strong>JPEGs<\/strong> are best used for photographs and general-purpose images where you do not need any transparency. You can compress them easily and get a smaller file size suitable for the web.<\/li>\n\n<li><strong>PNGs<\/strong> will often generate a larger file size, so they should only be used when you have an image that requires transparency.<\/li>\n\n<li><strong>GIFs<\/strong> are less frequently used. They have a limited range of colors, so they can only be used for very simple images but can produce a small file size.<\/li><\/ul><figure class=\"wp-block-table\"><table><tbody><tr><td>\ud83d\udca1 <strong>Performance tip<\/strong>: you should <a href=\"https:\/\/wp-rocket.me\/blog\/webp-use-image-format-wordpress\/\">convert your images to the WebP format<\/a> to make them load faster. WordPress doesn\u2019t support WebP, and you can\u2019t just upload them \u2014 but you can use a plugin and easily reduce your images\u2019 size.<\/td><\/tr><\/tbody><\/table><\/figure><div id=\"om-xwmxyufhhr3rxywiohez-holder\"><\/div>\n\t<script>(function (d, u, ac) {\n\t\t\tvar s = d.createElement('script')\n\t\t\ts.type = 'text\/javascript'\n\t\t\ts.src = 'https:\/\/a.omappapi.com\/app\/js\/api.min.js'\n\t\t\ts.async = true\n\t\t\ts.dataset.user = u\n\t\t\ts.dataset.campaign = ac\n\t\t\td.getElementsByTagName('head')[0].appendChild(s)\n\t\t})(document, 20440, 'xwmxyufhhr3rxywiohez')<\/script><h2 class=\"wp-block-heading\">How to Compress Images On the Web<\/h2><p>So we\u2019ve dealt with the image\u2019s physical dimensions, now let\u2019s deal with the \u2018weight\u2019 of the image. We want to <a href=\"https:\/\/wp-rocket.me\/blog\/compress-image-for-web\/\"><strong>compress the image<\/strong><\/a> to make it as lean and fast-loading as possible. <strong>The goal is to reduce the file size<\/strong>. There isn\u2019t a magic number as to what each image should be since it depends on how it will be used. Images being used in a hero banner or slider will be bigger, but I\u2019d aim to get each one down to 100KB or less if you have a few of them.<\/p><p>Small images that will be used for thumbnails, logos, etc., will be much smaller. The logo at the top of this blog, for example, is 3.8KB.<\/p><p>There may be a slight loss in quality with compression, so you\u2019re looking for a balance between quality and file size. But always remember: <strong>the smaller the file size, the faster the load time will be<\/strong>.<\/p><h3 class=\"wp-block-heading\">Applications to Compress Images<\/h3><ul class=\"wp-block-list\"><li>Photoshop \u2013 make sure to use the<em> Save For Web<\/em> option<\/li>\n\n<li>GIMP<\/li>\n\n<li>ImageOptim (Mac)<\/li><\/ul><h3 class=\"wp-block-heading\">Online Tools<\/h3><p>Using professional image optimization tools like Photoshop or Gimp is indeed a very effective way to manage your images and prepare them for the web: but the learning curve of these tools can sometimes be overwhelming.<\/p><p>Most of the time, leaning towards an online image optimization tool is the best and most affordable choice.<\/p><h3 class=\"wp-block-heading\">A WordPress Plugin that Makes Your Life Easier<\/h3><p>The cons of most online image optimization tools are that you don\u2019t have full control of your images after they\u2019re optimized. After you download your optimized images, you\u2019ll have to sort them on your folders manually.<\/p><p>Moreover, some online tools don\u2019t clarify how your images are stored on their servers and for how long: not so cool!<\/p><p>More natural will be to optimize and store your images right inside the Media files of your WordPress site, right?<\/p><p>In fact, it\u2019s preferable to resize and compress your image before you upload it to WordPress.<\/p><p>On the other hand, if your site is already live, you will need to deal with the images that are already there.<\/p><p>For the crucial images such as logos, headers, and others that load on every page of your site, it would be best to make new versions of the images, then install the <a href=\"https:\/\/wordpress.org\/plugins\/enable-media-replace\/\"><strong>Enable Media Replace plugin<\/strong><\/a>. This will allow you to simply replace existing images in your media library with the new, optimized ones without breaking any links.<\/p><p>For the other images sitting in your media library, where it would be unrealistic to go through and fix them all individually, you can take a look at the <a href=\"https:\/\/wp-rocket.me\/blog\/best-image-optimization-plugins-wordpress\/\">best image optimization plugins for WordPress<\/a>.<\/p><p>Let\u2019s take a closer look at one of them, Imagify.<\/p><h4 class=\"wp-block-heading\">Lighter Images for a Faster Website with Imagify<\/h4><figure class=\"wp-block-image size-large\"><img loading=\"lazy\" decoding=\"async\" width=\"1024\" height=\"428\" src=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/07\/Featured-How-to-use-Imagify-1024x428-1.jpg\" alt=\"The Imagify Plugin\" class=\"wp-image-3570937\" srcset=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/07\/Featured-How-to-use-Imagify-1024x428-1.jpg 1024w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/07\/Featured-How-to-use-Imagify-1024x428-1-310x130.jpg 310w, https:\/\/wp-rocket.me\/wp-content\/uploads\/2021\/07\/Featured-How-to-use-Imagify-1024x428-1-768x321.jpg 768w\" sizes=\"(max-width: 1024px) 100vw, 1024px\" \/><figcaption class=\"wp-element-caption\">The Imagify Plugin<\/figcaption><\/figure><p><strong>Opting for a WordPress plugin instead of an online image optimization tool will save you a lot of time. <\/strong>Once installed, a good optimization plugin usually works autonomously, avoiding manual tweaks. Your images should be optimized upon upload and always be ready for when you decide to add them to a post or a page.<\/p><p>One of the most complete image optimization plugins for WordPress is <a href=\"https:\/\/imagify.io\/\"><strong>Imagify<\/strong><\/a>: it\u2019s developed by WP Media, the same company behind WP Rocket. So, if you already know and love our caching solution, you won\u2019t be surprised by the same simplicity and usability we also poured into Imagify.<\/p><p>All your jpg, png, and gif files will always be in perfect shape and ready to be uploaded on your pages with this tool! You can also convert your images to the Avif format and improve performance, or let the plugin automatically convert them to WebP.<\/p><p>Because images greatly impact load times, a compression tool is the perfect complement to a caching plugin. We offer the<strong> Smart Compression mode<\/strong> to help you gain real control over your load time performance by automatically balancing quality and performance. <\/p><p>Imagify can optimize your existing media library <strong>in bulk<\/strong>, or you can <strong>manually <\/strong>select which images to optimize.<\/p><p>If you build sites for clients or have a site with multiple users where you cannot ensure that everyone is using best practices and uploading nicely optimized images, Imagify can assist by automatically <a href=\"https:\/\/imagify.io\/blog\/how-to-resize-compress-multiple-images-online\/\">compressing and resizing multiple images<\/a> as they are uploaded.<\/p><div id=\"om-nyrydv5iync8zrrulm5i-holder\"><\/div>\n\t<script>(function (d, u, ac) {\n\t\t\tvar s = d.createElement('script')\n\t\t\ts.type = 'text\/javascript'\n\t\t\ts.src = 'https:\/\/a.omappapi.com\/app\/js\/api.min.js'\n\t\t\ts.async = true\n\t\t\ts.dataset.user = u\n\t\t\ts.dataset.campaign = ac\n\t\t\td.getElementsByTagName('head')[0].appendChild(s)\n\t\t})(document, 20440, 'nyrydv5iync8zrrulm5i')<\/script><h2 class=\"wp-block-heading\">Lazy Loading to Make Your Images Faster<\/h2><p>Compressing and resizing your images are crucial actions to take <em>before<\/em> uploading your files to your site.<\/p><p>But what happens after optimized images are uploaded? Is there still a margin of improvement in terms of performance?<\/p><p>How can you gain a little more speed and make your pages load faster, even when they have to host several images?<\/p><p>Finding a technique that can save even a few extra milliseconds of waiting for your users could be key. Remember that when we browse between websites, we all tend to be impatient and almost never perceive the <em>real<\/em> loading time of the site we\u2019re visiting.<\/p><p>The answer, in this case, is one: <strong>apply a lazy load script to your images.<\/strong><\/p><h3 class=\"wp-block-heading\">The Lazy-Loading Script<\/h3><p>The answer is the lazy-loading script. This is a beneficial technique that <a href=\"https:\/\/wp-rocket.me\/google-core-web-vitals-wordpress\/defer-offscreen-images\/\"><strong>defers the loading of offscreen images,<\/strong><\/a> considered as non-critical resources, and leaves them \u201doff-screen\u201d until the user needs them. If users don\u2019t scroll the page, images placed at the bottom won\u2019t be loaded.<\/p><p>You can see lazy-loading in action on several popular blogs or websites; let\u2019s take, for example, <a href=\"https:\/\/unsplash.com\/\"><strong>Unsplash.com<\/strong><\/a>: when you scroll their collection of pictures, you\u2019ll see the placeholders getting replaced by the high-res original photo.<\/p><h3 class=\"wp-block-heading\">Applying the Lazy-Loading Through WP Rocket<br><\/h3><p>The lazy-load script can be added programmatically: there are several possible techniques to achieve that if you can tweak the code. <a href=\"https:\/\/developers.google.com\/web\/fundamentals\/performance\/lazy-loading-guidance\/images-and-video\/\">Google Guides for developers<\/a>, for example, give a good overview of the different methods.<\/p><p>But since you\u2019re using WordPress, a plugin will come to the rescue, allowing you to lazy-load your images without touching the code. For instance, you can take a look at the <a href=\"https:\/\/wp-rocket.me\/blog\/best-lazy-load-plugins-wordpress\/\">best lazy loading plugins for WordPress<\/a>.<\/p><p>However, if you\u2019re already using WP Rocket, we have good news for you: <a href=\"https:\/\/wp-rocket.me\/features\/\">our cache plugin includes the LazyLoad feature<\/a>, which, once enabled, applies the lazy-loading behavior to your images.<\/p><figure class=\"wp-block-table\"><table><tbody><tr><td>\ud83d\udcd6 If you want to learn more about lazy loading, check out our article: <a href=\"https:\/\/wp-rocket.me\/blog\/lazy-loading-wordpress-5-5\/\">How to Lazy Load Images on WordPress<\/a>. You\u2019ll learn how lazy loading works and how you can make the most of it.<\/td><\/tr><\/tbody><\/table><\/figure><h2 class=\"wp-block-heading\">Optimized Images With WP Media Plugins<\/h2><p>Since its beginning, WP Media has developed plugins for WordPress following three basic principles: <strong>simplicity, usability, and speed.<\/strong><\/p><p>Our plugins are easy to use, have a clean design, and don\u2019t require complex configuration processes: <a href=\"https:\/\/wp-rocket.me\/features\/\">WP Rocket<\/a>, our premium cache plugin for WordPress, was the first to be launched, and since then, has gained thousands of users around the world.<\/p><p>Its caching system has boosted millions of pages on the Internet, and<strong> its lazy load script is helping image-rich web pages to load straightforwardly.<\/strong><\/p><p>You can also find a free <a href=\"https:\/\/wordpress.org\/plugins\/rocket-lazy-load\/\"><strong>stand-alone Lazy Load plugin<\/strong><\/a>, which is based on the same script used by WP Rocket.<\/p><p>We launched <a href=\"https:\/\/imagify.io\/\">Imagify<\/a> aiming to make the Internet a lighter place. Imagify is wholly devoted to image optimization, and it\u2019s been recognized as one of the best optimization tools for images. You can use its web application, download it as a free plugin for WordPress or buy an extra quota if you need to optimize many MBs of images.<\/p><p>We\u2019re striving to make the web a more sustainable place with our products, with faster web pages thanks to caching and optimized images: learn more about <a href=\"https:\/\/wp-rocket.me\/features\/\"><strong>WP Rocket<\/strong><\/a> and <a href=\"https:\/\/imagify.io\/features\/\"><strong>Imagify<\/strong><\/a>!<\/p>","protected":false},"excerpt":{"rendered":"<p>Learning how to optimize images for WordPress is a crucial step in making your site faster. From lazy-loading to Imagify, we&#8217;re going to unveil the secrets to make your images load faster than ever.<\/p>\n","protected":false},"author":9832,"featured_media":1483304,"comment_status":"open","ping_status":"closed","sticky":false,"template":"","format":"standard","meta":{"inline_featured_image":false,"kia_subtitle":"","footnotes":""},"categories":[63],"tags":[],"class_list":["post-1533749","post","type-post","status-publish","format-standard","has-post-thumbnail","hentry","category-wordpress-cache"],"acf":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.4 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Optimize Images for WordPress and Improve PageSpeed<\/title>\n<meta name=\"description\" content=\"Learning how to optimize images for WordPress is a crucial step in making your site faster. Read our in-depth guide to become an image optimization expert.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/\" \/>\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 WordPress and Improve PageSpeed\" \/>\n<meta property=\"og:description\" content=\"Learning how to optimize images for WordPress is a crucial step in making your site faster. Read our in-depth guide to become an image optimization expert.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/\" \/>\n<meta property=\"og:site_name\" content=\"WP Rocket\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829\" \/>\n<meta property=\"article:published_time\" content=\"2019-10-02T15:11:10+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2024-03-07T11:35:49+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/placeholder-feature-image.png\" \/>\n\t<meta property=\"og:image:width\" content=\"1100\" \/>\n\t<meta property=\"og:image:height\" content=\"460\" \/>\n\t<meta property=\"og:image:type\" content=\"image\/png\" \/>\n<meta name=\"author\" content=\"Alice Orru\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@wp_rocket\" \/>\n<meta name=\"twitter:site\" content=\"@wp_rocket\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Alice Orru\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"11 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/\"},\"author\":{\"name\":\"Alice Orru\",\"@id\":\"https:\/\/wp-rocket.me\/#\/schema\/person\/75d605841adae53badeafbcd017ba417\"},\"headline\":\"How to Optimize Images for WordPress and Improve Your PageSpeed Score\",\"datePublished\":\"2019-10-02T15:11:10+00:00\",\"dateModified\":\"2024-03-07T11:35:49+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/\"},\"wordCount\":2375,\"commentCount\":0,\"publisher\":{\"@id\":\"https:\/\/wp-rocket.me\/#organization\"},\"image\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/placeholder-feature-image.png\",\"articleSection\":[\"Page speed and caching\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/\",\"url\":\"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/\",\"name\":\"How to Optimize Images for WordPress and Improve PageSpeed\",\"isPartOf\":{\"@id\":\"https:\/\/wp-rocket.me\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/placeholder-feature-image.png\",\"datePublished\":\"2019-10-02T15:11:10+00:00\",\"dateModified\":\"2024-03-07T11:35:49+00:00\",\"description\":\"Learning how to optimize images for WordPress is a crucial step in making your site faster. Read our in-depth guide to become an image optimization expert.\",\"breadcrumb\":{\"@id\":\"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/#primaryimage\",\"url\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/placeholder-feature-image.png\",\"contentUrl\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/placeholder-feature-image.png\",\"width\":1100,\"height\":460,\"caption\":\"How to Optimize Images for WordPress\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/wp-rocket.me\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Page speed and caching\",\"item\":\"https:\/\/wp-rocket.me\/blog\/wordpress-cache\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"How to Optimize Images for WordPress and Improve Your PageSpeed Score\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/wp-rocket.me\/#website\",\"url\":\"https:\/\/wp-rocket.me\/\",\"name\":\"WP Rocket\",\"description\":\"Plugin d&#039;optimisation de sites WordPress\",\"publisher\":{\"@id\":\"https:\/\/wp-rocket.me\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/wp-rocket.me\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/wp-rocket.me\/#organization\",\"name\":\"WP Rocket\",\"url\":\"https:\/\/wp-rocket.me\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wp-rocket.me\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/logo-wp-rocket-paypal-2.png\",\"contentUrl\":\"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/logo-wp-rocket-paypal-2.png\",\"width\":150,\"height\":41,\"caption\":\"WP Rocket\"},\"image\":{\"@id\":\"https:\/\/wp-rocket.me\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829\",\"https:\/\/x.com\/wp_rocket\",\"https:\/\/www.youtube.com\/channel\/UC1ozThXHd1IWIZ5wkshgp_Q\"]},{\"@type\":\"Person\",\"@id\":\"https:\/\/wp-rocket.me\/#\/schema\/person\/75d605841adae53badeafbcd017ba417\",\"name\":\"Alice Orru\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/wp-rocket.me\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/4f4cb17d459b1433fea57ad2286303bd?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/4f4cb17d459b1433fea57ad2286303bd?s=96&d=mm&r=g\",\"caption\":\"Alice Orru\"},\"description\":\"Alice Orr\u00f9 is a web content writer with strong experience in international customer service and B2B copywriting. She is an active member of the WordPress community: she loves translating WordPress into Italian and speaking at WordCamps.\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"How to Optimize Images for WordPress and Improve PageSpeed","description":"Learning how to optimize images for WordPress is a crucial step in making your site faster. Read our in-depth guide to become an image optimization expert.","robots":{"index":"index","follow":"follow","max-snippet":"max-snippet:-1","max-image-preview":"max-image-preview:large","max-video-preview":"max-video-preview:-1"},"canonical":"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/","og_locale":"en_US","og_type":"article","og_title":"How to Optimize Images for WordPress and Improve PageSpeed","og_description":"Learning how to optimize images for WordPress is a crucial step in making your site faster. Read our in-depth guide to become an image optimization expert.","og_url":"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/","og_site_name":"WP Rocket","article_publisher":"https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829","article_published_time":"2019-10-02T15:11:10+00:00","article_modified_time":"2024-03-07T11:35:49+00:00","og_image":[{"width":1100,"height":460,"url":"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/placeholder-feature-image.png","type":"image\/png"}],"author":"Alice Orru","twitter_card":"summary_large_image","twitter_creator":"@wp_rocket","twitter_site":"@wp_rocket","twitter_misc":{"Written by":"Alice Orru","Est. reading time":"11 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/#article","isPartOf":{"@id":"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/"},"author":{"name":"Alice Orru","@id":"https:\/\/wp-rocket.me\/#\/schema\/person\/75d605841adae53badeafbcd017ba417"},"headline":"How to Optimize Images for WordPress and Improve Your PageSpeed Score","datePublished":"2019-10-02T15:11:10+00:00","dateModified":"2024-03-07T11:35:49+00:00","mainEntityOfPage":{"@id":"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/"},"wordCount":2375,"commentCount":0,"publisher":{"@id":"https:\/\/wp-rocket.me\/#organization"},"image":{"@id":"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/placeholder-feature-image.png","articleSection":["Page speed and caching"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/","url":"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/","name":"How to Optimize Images for WordPress and Improve PageSpeed","isPartOf":{"@id":"https:\/\/wp-rocket.me\/#website"},"primaryImageOfPage":{"@id":"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/#primaryimage"},"image":{"@id":"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/#primaryimage"},"thumbnailUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/placeholder-feature-image.png","datePublished":"2019-10-02T15:11:10+00:00","dateModified":"2024-03-07T11:35:49+00:00","description":"Learning how to optimize images for WordPress is a crucial step in making your site faster. Read our in-depth guide to become an image optimization expert.","breadcrumb":{"@id":"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/#primaryimage","url":"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/placeholder-feature-image.png","contentUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/placeholder-feature-image.png","width":1100,"height":460,"caption":"How to Optimize Images for WordPress"},{"@type":"BreadcrumbList","@id":"https:\/\/wp-rocket.me\/blog\/image-optimization-wordpress\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/wp-rocket.me"},{"@type":"ListItem","position":2,"name":"Page speed and caching","item":"https:\/\/wp-rocket.me\/blog\/wordpress-cache\/"},{"@type":"ListItem","position":3,"name":"How to Optimize Images for WordPress and Improve Your PageSpeed Score"}]},{"@type":"WebSite","@id":"https:\/\/wp-rocket.me\/#website","url":"https:\/\/wp-rocket.me\/","name":"WP Rocket","description":"Plugin d&#039;optimisation de sites WordPress","publisher":{"@id":"https:\/\/wp-rocket.me\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/wp-rocket.me\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/wp-rocket.me\/#organization","name":"WP Rocket","url":"https:\/\/wp-rocket.me\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wp-rocket.me\/#\/schema\/logo\/image\/","url":"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/logo-wp-rocket-paypal-2.png","contentUrl":"https:\/\/wp-rocket.me\/wp-content\/uploads\/1\/logo-wp-rocket-paypal-2.png","width":150,"height":41,"caption":"WP Rocket"},"image":{"@id":"https:\/\/wp-rocket.me\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/pages\/WP-Rocket\/631942253526829","https:\/\/x.com\/wp_rocket","https:\/\/www.youtube.com\/channel\/UC1ozThXHd1IWIZ5wkshgp_Q"]},{"@type":"Person","@id":"https:\/\/wp-rocket.me\/#\/schema\/person\/75d605841adae53badeafbcd017ba417","name":"Alice Orru","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/wp-rocket.me\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/4f4cb17d459b1433fea57ad2286303bd?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/4f4cb17d459b1433fea57ad2286303bd?s=96&d=mm&r=g","caption":"Alice Orru"},"description":"Alice Orr\u00f9 is a web content writer with strong experience in international customer service and B2B copywriting. She is an active member of the WordPress community: she loves translating WordPress into Italian and speaking at WordCamps."}]}},"_links":{"self":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/posts\/1533749"}],"collection":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/users\/9832"}],"replies":[{"embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/comments?post=1533749"}],"version-history":[{"count":0,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/posts\/1533749\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/media\/1483304"}],"wp:attachment":[{"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/media?parent=1533749"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/categories?post=1533749"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/wp-rocket.me\/wp-json\/wp\/v2\/tags?post=1533749"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}