{"id":6042,"date":"2017-08-21T09:26:17","date_gmt":"2017-08-21T14:26:17","guid":{"rendered":"https:\/\/www.hostgator.com\/blog\/?p=6042"},"modified":"2019-07-02T11:16:21","modified_gmt":"2019-07-02T16:16:21","slug":"how-to-optimize-images-for-your-website","status":"publish","type":"post","link":"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/","title":{"rendered":"How to Optimize Images on WordPress for Lightning Fast Loading"},"content":{"rendered":"<p dir=\"ltr\"><img loading=\"lazy\" decoding=\"async\" class=\"alignright size-full wp-image-16442\" src=\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/04\/HostGator_OptimizeImages.png\" alt=\"how to optimize images for your website\" width=\"1200\" height=\"627\" srcset=\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/04\/HostGator_OptimizeImages.png 1200w, https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/04\/HostGator_OptimizeImages-300x157.png 300w, https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/04\/HostGator_OptimizeImages-768x401.png 768w, https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/04\/HostGator_OptimizeImages-1024x535.png 1024w\" sizes=\"(max-width: 1200px) 100vw, 1200px\" \/><\/p>\n<h2>Optimize Images and Make Your Website Load Faster<\/h2>\n<p>Did you know that<a href=\"https:\/\/blog.kissmetrics.com\/loading-time\/\" target=\"_blank\" rel=\"noopener noreferrer\"> nearly half of your website visitors<\/a> expect your site to load in 2 seconds or less? Even worse, most will abandon your site if it fails to load within 3 seconds.<\/p>\n<p>The good news is you can significantly reduce the number of abandoning visitors by <a href=\"https:\/\/www.hostgator.com\/blog\/need-know-page-speed\/\">speeding up your website<\/a>.<\/p>\n<p>Images often account for most of the downloaded bytes on a web page. If you\u2019re looking to significantly boost your page speed, the first thing you need to do is to <a href=\"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-seo\/\">optimize images<\/a> on your WordPress site.<\/p>\n<p>Below are 5 image optimization tips for lightning fast loading.<\/p>\n<p>&nbsp;<\/p>\n<h2>1. Compress images<\/h2>\n<p>The best way to prevent slow loading images on your WordPress site is to compress your images with your photo editing software before you upload them.<\/p>\n<p>But what if you don\u2019t have access to the right software, or want to optimize the existing images on your site?<\/p>\n<p>An <strong>image compression plugin<\/strong> is the easy solution that lets you optimize images on the fly as you upload them to your WordPress site.<\/p>\n<p>Image compression allows you to reduce the size of your images without affecting their quality. Compression is the process of reducing the image size by removing image info algorithmically that a human eye can&#8217;t perceive, so the image still looks clear and sharp.<\/p>\n<p>The best way to compress high-resolution images is with the<a href=\"https:\/\/wordpress.org\/plugins\/ewww-image-optimizer\/\" target=\"_blank\" rel=\"noopener noreferrer\"> the EWWW Image Optimizer plugin<\/a>. Upon activation, you can optimize all the images automatically as you upload. It can also optimize your existing images on your site.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter wp-image-17410\" src=\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/08\/ewww-image-optimizer.png\" alt=\"ewww image optimizer\" width=\"500\" height=\"505\" srcset=\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/08\/ewww-image-optimizer.png 844w, https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/08\/ewww-image-optimizer-297x300.png 297w, https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/08\/ewww-image-optimizer-768x775.png 768w\" sizes=\"(max-width: 500px) 100vw, 500px\" \/><\/p>\n<p>&nbsp;<\/p>\n<h2>2. Leverage lazy load<\/h2>\n<p>Do you want to use a lot of images on your site without making it load slower?<\/p>\n<p>Reducing the number of images is not an ideal solution, especially when you want to convey messages that can\u2019t be done with just plain text.<\/p>\n<p>If you&#8217;re using a lot of images on most pages of your WordPress site, you\u2019ll want them to load only when they&#8217;re visible to users, which is known as lazy loading. Lazy loading your images helps you to save your bandwidth and improve your page speed.<\/p>\n<p>To lazy load your images, you just need to activate<a href=\"https:\/\/wordpress.org\/plugins\/lazy-load\/\" target=\"_blank\" rel=\"noopener noreferrer\"> the Lazy Load plugin<\/a> on your site. It uses jQuery.sonar to load images only when they\u2019re visible to your users.<\/p>\n<p>&nbsp;<\/p>\n<h2>3. Use the right format<\/h2>\n<p>When editing images for your website, you often need to compromise between the display quality and the file size of the image. Saving images in the right format is the best way to optimize them and keep a balance between display quality and file size.<\/p>\n<p>Wondering which image file format is best for your website? Here\u2019s a rundown of the most common:<\/p>\n<ul>\n<li><b>JPG<\/b> is a lossy compressed file format. Use this format to store photographs at a smaller size. It\u2019s the best choice for images with a lot of different colors.<\/li>\n<li><b>PNG<\/b> is a lossless compression file format. Use this format for simpler images and transparent images. It&#8217;s a good choice for storing line drawings and text at a smaller size.<\/li>\n<li><b>GIF<\/b> is best suited for images that are very small and ones that use only a few colors. It\u2019s a good choice for clip art, charts, etc.<\/li>\n<\/ul>\n<p>Here&#8217;s an example of how the file formats look different, courtesy of <a href=\"http:\/\/bluewave.com\/blog\/whats-the-difference-between-jpeg-gif-and-png-formats\/\" target=\"_blank\" rel=\"noopener noreferrer\">Bluewave<\/a>.<\/p>\n<p><img loading=\"lazy\" decoding=\"async\" class=\"aligncenter size-full wp-image-17411\" src=\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/08\/jpeg-gif-png-example4.jpg\" alt=\"jpeg vs gif vs png comparison\" width=\"488\" height=\"144\" srcset=\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/08\/jpeg-gif-png-example4.jpg 488w, https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/08\/jpeg-gif-png-example4-300x89.jpg 300w\" sizes=\"(max-width: 488px) 100vw, 488px\" \/><\/p>\n<p>The best way to edit and save images optimized for the web is by using Photoshop. If you need a free alternative, you can use GIMP instead.<\/p>\n<p>Below are a few free online tools that help you optimize your images with a perfect balance in quality and file size.<\/p>\n<ul>\n<li><a href=\"https:\/\/tinypng.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">TinyPNG<\/a> uses a smart lossy compression technique to reduce the file size of your PNG files without compromising its visual quality. You can upload up to 20 images, maximum of 5 MB each.<\/li>\n<li><a href=\"http:\/\/www.jpegmini.com\/\" target=\"_blank\" rel=\"noopener noreferrer\">JPEGmini<\/a> uses recompression technology to reduce the size of images without compromising their perceived quality. You can either use their free web version or use a premium desktop app.<\/li>\n<li><a href=\"https:\/\/imageoptim.com\/mac\" target=\"_blank\" rel=\"noopener noreferrer\">ImageOptim<\/a> is a Mac app that allows you to reduce the file size of images by removing bloated metadata. Its main benefit is that it lets you enable lossy minification so you can compress your images to get the smallest file sizes possible.<\/li>\n<\/ul>\n<p>&nbsp;<\/p>\n<h3><b>4. Prevent Image Hotlinking<\/b><\/h3>\n<p>Hotlinking is a process of stealing your server bandwidth by serving images on third-party sites, while still loading them from the original source. This practice is often followed by content scrapers and increases your server load as well as bandwidth usage.<\/p>\n<p>The easy way to disable hotlinking from your WordPress site is by adding the below code to your .htaccess file.<\/p>\n<p><em>RewriteEngine on<\/em><\/p>\n<p><em>RewriteCond %{HTTP_REFERER} !^$<\/em><\/p>\n<p><em>RewriteCond %{HTTP_REFERER} !^http(s)?:\/\/(www\\.)?yourwebsite.com [NC]<\/em><\/p>\n<p><em>RewriteRule \\.(jpg|jpeg|png|gif)$ &#8211; [NC,F,L]<\/em><\/p>\n<p>Make sure to replace <b>yourwebsite.com<\/b> with your domain name in the above code. This code blocks hotlinking your images while still allowing images to be viewed in search results and on your website.<\/p>\n<p>&nbsp;<\/p>\n<h2>5. Use CSS instead of images<\/h2>\n<p>Using an image often requires a larger number of bytes than HTML, CSS and JavaScript. A great strategy to boost your loading time is to leverage CSS effects wherever possible instead of using an image. For instance, you can generate certain shapes like gradients, rounded rectangles, and drop shadows by using simple CSS.<\/p>\n<p>While using CSS, keep an eye on browser compatibility because not all browsers render it the same way.<\/p>\n<p>By following the above image <a href=\"https:\/\/optinmonster.com\/docs\/how-to-optimize-your-optin-images\/\" target=\"_blank\" rel=\"noopener noreferrer\">optimization tactics<\/a>, you can drastically improve your page loading time. Keep in mind that for every second you shave off of load time, you&#8217;re encouraging your visitors to stay on your site longer.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Optimize Images and Make Your Website Load Faster Did you know that nearly half of your website visitors expect your&#8230;<\/p>\n","protected":false},"author":158,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[19],"tags":[118,123,121],"class_list":["post-6042","post","type-post","status-publish","format-standard","hentry","category-web-and-hosting-tips","tag-register-domain","tag-seo-marketing","tag-wordpress-hosting"],"yoast_head":"<!-- This site is optimized with the Yoast SEO Premium plugin v23.2 (Yoast SEO v23.2) - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Optimize Images on WordPress for Lightning Fast Loading - HostGator<\/title>\n<meta name=\"description\" content=\"Images often account for most of the downloaded bytes on a web page. Significantly boost your page speed by optimizing images on your WordPress site.\" \/>\n<meta name=\"robots\" content=\"index, follow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/\" \/>\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 on WordPress for Lightning Fast Loading\" \/>\n<meta property=\"og:description\" content=\"Images often account for most of the downloaded bytes on a web page. Significantly boost your page speed by optimizing images on your WordPress site.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/\" \/>\n<meta property=\"og:site_name\" content=\"HostGator\" \/>\n<meta property=\"article:publisher\" content=\"https:\/\/www.facebook.com\/HostGator\" \/>\n<meta property=\"article:author\" content=\"http:\/\/facebook.com\/syedbalkhi\" \/>\n<meta property=\"article:published_time\" content=\"2017-08-21T14:26:17+00:00\" \/>\n<meta property=\"article:modified_time\" content=\"2019-07-02T16:16:21+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/04\/HostGator_OptimizeImages.png\" \/>\n<meta name=\"author\" content=\"Syed Balkhi\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:creator\" content=\"@http:\/\/twitter.com\/syedbalkhi\" \/>\n<meta name=\"twitter:site\" content=\"@HostGator\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Syed Balkhi\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"5 minutes\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Article\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/\"},\"author\":{\"name\":\"Syed Balkhi\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/#\/schema\/person\/90733d5333884bbec1e0161fa11f853d\"},\"headline\":\"How to Optimize Images on WordPress for Lightning Fast Loading\",\"datePublished\":\"2017-08-21T14:26:17+00:00\",\"dateModified\":\"2019-07-02T16:16:21+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/\"},\"wordCount\":961,\"commentCount\":12,\"publisher\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/04\/HostGator_OptimizeImages.png\",\"keywords\":[\"Register Domain\",\"SEO Marketing\",\"WordPress Hosting\"],\"articleSection\":[\"Web Hosting Tips\"],\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"CommentAction\",\"name\":\"Comment\",\"target\":[\"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/#respond\"]}]},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/\",\"url\":\"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/\",\"name\":\"How to Optimize Images on WordPress for Lightning Fast Loading - HostGator\",\"isPartOf\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/04\/HostGator_OptimizeImages.png\",\"datePublished\":\"2017-08-21T14:26:17+00:00\",\"dateModified\":\"2019-07-02T16:16:21+00:00\",\"description\":\"Images often account for most of the downloaded bytes on a web page. Significantly boost your page speed by optimizing images on your WordPress site.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/#primaryimage\",\"url\":\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/04\/HostGator_OptimizeImages.png\",\"contentUrl\":\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/04\/HostGator_OptimizeImages.png\",\"width\":1200,\"height\":627,\"caption\":\"how to optimize images for your website\"},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.hostgator.com\/blog\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"How to Optimize Images on WordPress for Lightning Fast Loading\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/#website\",\"url\":\"https:\/\/www.hostgator.com\/blog\/\",\"name\":\"HostGtaor\",\"description\":\"Web Hosting and Marketing Tips for Entrepreneurs\",\"publisher\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.hostgator.com\/blog\/?s={search_term_string}\"},\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/#organization\",\"name\":\"HostGtaor\",\"url\":\"https:\/\/www.hostgator.com\/blog\/\",\"logo\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/#\/schema\/logo\/image\/\",\"url\":\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2019\/04\/cropped-HG-Logo_default-default.png\",\"contentUrl\":\"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2019\/04\/cropped-HG-Logo_default-default.png\",\"width\":1092,\"height\":215,\"caption\":\"HostGtaor\"},\"image\":{\"@id\":\"https:\/\/www.hostgator.com\/blog\/#\/schema\/logo\/image\/\"},\"sameAs\":[\"https:\/\/www.facebook.com\/HostGator\",\"https:\/\/x.com\/HostGator\",\"https:\/\/www.instagram.com\/hostgator\",\"https:\/\/www.linkedin.com\/company\/hostgator-com\",\"https:\/\/www.pinterest.com\/hostgator\/\",\"https:\/\/www.youtube.com\/user\/hostgator\"],\"email\":\"support@gator.com\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/#\/schema\/person\/90733d5333884bbec1e0161fa11f853d\",\"name\":\"Syed Balkhi\",\"image\":{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.hostgator.com\/blog\/#\/schema\/person\/image\/\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/c21fbb45125020a7e187ba9d615e6f2b?s=96&d=mm&r=g\",\"contentUrl\":\"https:\/\/secure.gravatar.com\/avatar\/c21fbb45125020a7e187ba9d615e6f2b?s=96&d=mm&r=g\",\"caption\":\"Syed Balkhi\"},\"description\":\"Syed Balkhi is the founder of WPBeginner, the largest free WordPress resource site. With over 10 years of experience, he's the leading WordPress expert in the industry. You can learn more about Syed and his portfolio of companies by following him on his social media networks.\",\"sameAs\":[\"http:\/\/facebook.com\/syedbalkhi\",\"http:\/\/linkedin.com\/in\/syedbalkhi\",\"https:\/\/x.com\/http:\/\/twitter.com\/syedbalkhi\",\"http:\/\/youtube.com\/wpbeginner\"],\"url\":\"https:\/\/www.hostgator.com\/blog\/author\/syed-balkhi\/\"}]}<\/script>\n<!-- \/ Yoast SEO Premium plugin. -->","yoast_head_json":{"title":"How to Optimize Images on WordPress for Lightning Fast Loading - HostGator","description":"Images often account for most of the downloaded bytes on a web page. Significantly boost your page speed by optimizing images on your WordPress site.","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:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/","og_locale":"en_US","og_type":"article","og_title":"How to Optimize Images on WordPress for Lightning Fast Loading","og_description":"Images often account for most of the downloaded bytes on a web page. Significantly boost your page speed by optimizing images on your WordPress site.","og_url":"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/","og_site_name":"HostGator","article_publisher":"https:\/\/www.facebook.com\/HostGator","article_author":"http:\/\/facebook.com\/syedbalkhi","article_published_time":"2017-08-21T14:26:17+00:00","article_modified_time":"2019-07-02T16:16:21+00:00","og_image":[{"url":"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/04\/HostGator_OptimizeImages.png"}],"author":"Syed Balkhi","twitter_card":"summary_large_image","twitter_creator":"@http:\/\/twitter.com\/syedbalkhi","twitter_site":"@HostGator","twitter_misc":{"Written by":"Syed Balkhi","Est. reading time":"5 minutes"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"Article","@id":"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/#article","isPartOf":{"@id":"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/"},"author":{"name":"Syed Balkhi","@id":"https:\/\/www.hostgator.com\/blog\/#\/schema\/person\/90733d5333884bbec1e0161fa11f853d"},"headline":"How to Optimize Images on WordPress for Lightning Fast Loading","datePublished":"2017-08-21T14:26:17+00:00","dateModified":"2019-07-02T16:16:21+00:00","mainEntityOfPage":{"@id":"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/"},"wordCount":961,"commentCount":12,"publisher":{"@id":"https:\/\/www.hostgator.com\/blog\/#organization"},"image":{"@id":"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/#primaryimage"},"thumbnailUrl":"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/04\/HostGator_OptimizeImages.png","keywords":["Register Domain","SEO Marketing","WordPress Hosting"],"articleSection":["Web Hosting Tips"],"inLanguage":"en-US","potentialAction":[{"@type":"CommentAction","name":"Comment","target":["https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/#respond"]}]},{"@type":"WebPage","@id":"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/","url":"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/","name":"How to Optimize Images on WordPress for Lightning Fast Loading - HostGator","isPartOf":{"@id":"https:\/\/www.hostgator.com\/blog\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/#primaryimage"},"image":{"@id":"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/#primaryimage"},"thumbnailUrl":"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/04\/HostGator_OptimizeImages.png","datePublished":"2017-08-21T14:26:17+00:00","dateModified":"2019-07-02T16:16:21+00:00","description":"Images often account for most of the downloaded bytes on a web page. Significantly boost your page speed by optimizing images on your WordPress site.","breadcrumb":{"@id":"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/#primaryimage","url":"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/04\/HostGator_OptimizeImages.png","contentUrl":"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2017\/04\/HostGator_OptimizeImages.png","width":1200,"height":627,"caption":"how to optimize images for your website"},{"@type":"BreadcrumbList","@id":"https:\/\/www.hostgator.com\/blog\/how-to-optimize-images-for-your-website\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.hostgator.com\/blog\/"},{"@type":"ListItem","position":2,"name":"How to Optimize Images on WordPress for Lightning Fast Loading"}]},{"@type":"WebSite","@id":"https:\/\/www.hostgator.com\/blog\/#website","url":"https:\/\/www.hostgator.com\/blog\/","name":"HostGtaor","description":"Web Hosting and Marketing Tips for Entrepreneurs","publisher":{"@id":"https:\/\/www.hostgator.com\/blog\/#organization"},"potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.hostgator.com\/blog\/?s={search_term_string}"},"query-input":"required name=search_term_string"}],"inLanguage":"en-US"},{"@type":"Organization","@id":"https:\/\/www.hostgator.com\/blog\/#organization","name":"HostGtaor","url":"https:\/\/www.hostgator.com\/blog\/","logo":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostgator.com\/blog\/#\/schema\/logo\/image\/","url":"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2019\/04\/cropped-HG-Logo_default-default.png","contentUrl":"https:\/\/www.hostgator.com\/blog\/wp-content\/uploads\/2019\/04\/cropped-HG-Logo_default-default.png","width":1092,"height":215,"caption":"HostGtaor"},"image":{"@id":"https:\/\/www.hostgator.com\/blog\/#\/schema\/logo\/image\/"},"sameAs":["https:\/\/www.facebook.com\/HostGator","https:\/\/x.com\/HostGator","https:\/\/www.instagram.com\/hostgator","https:\/\/www.linkedin.com\/company\/hostgator-com","https:\/\/www.pinterest.com\/hostgator\/","https:\/\/www.youtube.com\/user\/hostgator"],"email":"support@gator.com"},{"@type":"Person","@id":"https:\/\/www.hostgator.com\/blog\/#\/schema\/person\/90733d5333884bbec1e0161fa11f853d","name":"Syed Balkhi","image":{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.hostgator.com\/blog\/#\/schema\/person\/image\/","url":"https:\/\/secure.gravatar.com\/avatar\/c21fbb45125020a7e187ba9d615e6f2b?s=96&d=mm&r=g","contentUrl":"https:\/\/secure.gravatar.com\/avatar\/c21fbb45125020a7e187ba9d615e6f2b?s=96&d=mm&r=g","caption":"Syed Balkhi"},"description":"Syed Balkhi is the founder of WPBeginner, the largest free WordPress resource site. With over 10 years of experience, he's the leading WordPress expert in the industry. You can learn more about Syed and his portfolio of companies by following him on his social media networks.","sameAs":["http:\/\/facebook.com\/syedbalkhi","http:\/\/linkedin.com\/in\/syedbalkhi","https:\/\/x.com\/http:\/\/twitter.com\/syedbalkhi","http:\/\/youtube.com\/wpbeginner"],"url":"https:\/\/www.hostgator.com\/blog\/author\/syed-balkhi\/"}]}},"_links":{"self":[{"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/posts\/6042"}],"collection":[{"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/users\/158"}],"replies":[{"embeddable":true,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/comments?post=6042"}],"version-history":[{"count":6,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/posts\/6042\/revisions"}],"predecessor-version":[{"id":23099,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/posts\/6042\/revisions\/23099"}],"wp:attachment":[{"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/media?parent=6042"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/categories?post=6042"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.hostgator.com\/blog\/wp-json\/wp\/v2\/tags?post=6042"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}