{"id":621,"date":"2017-06-21T19:58:02","date_gmt":"2017-06-21T19:58:02","guid":{"rendered":"https:\/\/blog.siteuptime.com\/?p=621"},"modified":"2017-06-21T19:58:02","modified_gmt":"2017-06-21T19:58:02","slug":"how-to-fix-slow-loading-images-to-boost-performance","status":"publish","type":"post","link":"https:\/\/www.siteuptime.com\/blog\/2017\/06\/21\/how-to-fix-slow-loading-images-to-boost-performance\/","title":{"rendered":"How to Fix Slow-Loading Images to Boost Performance"},"content":{"rendered":"<p>To keep your website attractive to consumers and up to date, it needs\u00a0to be easy to use. Not only should the interface make sense, but your design should also be appealing and interactive.<\/p>\n<p>For sites who have\u00a0those two things, that&#8217;s great!<\/p>\n<p>But what if even a well-designed site isn&#8217;t loading fast enough to make users stay on it? If the design doesn&#8217;t load quickly, it doesn&#8217;t matter if it&#8217;s high quality. No one will wait around to see it.<\/p>\n<p>If your site is having this issue, don&#8217;t lose hope. Here, you&#8217;ll explore what can be done to fix slow loading images and boost your site&#8217;s overall performance.<\/p>\n<h2>Test your Site<\/h2>\n<p>If there has been an unexplained drop in web traffic lately, it&#8217;s worth running a few tests on the site.<\/p>\n<p>These are available for free and will help identify if there&#8217;s an issue and what it is. Checking a site often is worth doing even if it&#8217;s experiencing great web traffic. If any problems were to arise, it&#8217;s best to catch them before they start <a href=\"https:\/\/www.forbes.com\/sites\/rogerdooley\/2012\/12\/04\/fast-sites\/#77623c8a53cf\">affecting consumers<\/a>.<\/p>\n<h2>Quick Fixes<\/h2>\n<p>There are still lots of ways to fix this issue. Their difficulty and pay-off will all vary. Quick fixes are easier since they don&#8217;t change anything in your website code.<\/p>\n<h3>Is this Image Necessary?<\/h3>\n<p>It&#8217;s worth noting that your website needs images. They catch people&#8217;s attention and provide information without taking up valuable word space. That being said, not every image needs to be displayed on your site.<\/p>\n<p>The first and easiest solution to slow loading images is to get rid of some. The fewer pictures a site has, the lighter the page will be. This means it will load quickly. Use data from your website to determine what images are worth keeping and which aren&#8217;t.<\/p>\n<p>For example, is there a specific page that customers leave quickly or don&#8217;t stay on as long? It might be because it has trouble loading. See what on that page can be taken off without sacrificing key information.<\/p>\n<p>For those who are attached to these images, you don&#8217;t have to get rid of them for good! An easy solution is to\u00a0take those pictures and use them as Instagram or Facebook content.<\/p>\n<p>Consumers like to see different images than the ones they see on your site. Plus, this way you&#8217;ll have that much less content you need to produce.\u00a0Customers also like it when websites keep them safe from hackers. Don&#8217;t know how?\u00a0<a href=\"https:\/\/codeclerks.com\/faq\/537\/SQL-Injection-Basics-How-to-prevent-your-website-from-being-hacked\">Check it out<\/a> here.<\/p>\n<p>If you don&#8217;t feel like getting rid of or re-purposing your images,\u00a0don&#8217;t lose hope. Resizing pictures is another option.<\/p>\n<h3>Resizing Pictures<\/h3>\n<p>The quality of pictures can make a big dent on web page weight. The better quality it is, the heavier it will be. Downgrading picture quality sounds like something that will lower your overall web experience &#8212; but it&#8217;s not.<\/p>\n<p>Keep in mind that when consumers load the site, it&#8217;s very unlikely that everything is displayed exactly as it was designed. Differences in computer processing and display change the way websites are presented to their audiences.<\/p>\n<p>Additionally, <a href=\"http:\/\/www.businessnewsdaily.com\/5050-mobile-web-access.html\">over 50% of people<\/a> are now accessing websites from mobile devices, which are less capable of loading high-res images. When we consider these facts, resizing your site&#8217;s photos seems like a worthwhile sacrifice.<\/p>\n<p>At first, try going down one or two resolution levels then checking the results on both a computer and a mobile device. Since this image is familiar, it may be hard to see the difference.<\/p>\n<p>To stay objective, show someone who is not aware of the downgrade in resolution the changes. If they can&#8217;t tell you&#8217;ve made a change, then you&#8217;re on the right track.<\/p>\n<p>Then, test the speed of the site at the new resolution level. Hopefully, it will have made an obvious difference. If not, you may need to go down another level or consider a more complex solution.<\/p>\n<h2>Code-Based Fixes<\/h2>\n<p>If the fixes we looked at before weren&#8217;t enough to make a difference, then you may need to edit your site code. There are changes you can make to your code that will help with your image loading.<\/p>\n<p>Not all of these coding changes will make your images load more quickly, but they will provide some improvement.<\/p>\n<h3>Simple Image Lazy Load and Fade<\/h3>\n<p>Simple Image Lazy Load and Fade is a JavaScript technique that was <a href=\"https:\/\/davidwalsh.name\/lazyload-image-fade\">developed by David Walsh<\/a>. This coding change changes the way that images load. Instead of the image being white until it&#8217;s fully loaded, it will have a fade-in effect.<\/p>\n<p>With this change, consumers are able to see what the image will be &#8212; or at least know that the site&#8217;s design isn&#8217;t broken.<\/p>\n<h3>Progressively Enhanced Lazy Loading<\/h3>\n<p>If the site having issues has a lot of photos that are necessary for its functionality, there is this coding solution from <a href=\"https:\/\/www.robinosborne.co.uk\/2016\/05\/16\/lazy-loading-images-dont-rely-on-javascript\/\">Robin Osbourne<\/a>. It works by loading the images at the top of the page first. Then, it will only load the later images if the user scrolls through.<\/p>\n<p>This method tricks browsers into thinking that the images are on separate pages, so the page weight is dispersed.<\/p>\n<h3>Blurred Image Effect<\/h3>\n<p>Similar to the fade in effect, this coding change shows a blurred version of images to consumers as they load. Many sites are now using this method. This is because it gives the consumer confidence that there will eventually be something to look at.<\/p>\n<p>However, this solution will take some serious code changing. It will have to be built into your code and developed for your specific site. The other two are coding add-ons. This means that you might need the services of a professional in order to get it to work correctly.<\/p>\n<p>Many large and successful sites are using this method and it seems to be working for their customers.\u00a0Don&#8217;t let the cost or workload of this method be frightening if it seems like the right choice for your site.<\/p>\n<p>Well, functioning and well-designed websites are the most important things for keeping traffic steady. The second most important thing? Keeping customers safe from hackers.<\/p>\n<p>&nbsp;<\/p>\n","protected":false},"excerpt":{"rendered":"<p>If slow-loading images annoy you, imagine how your visitors feel. In this post, learn why your images are late to the party and what you can do to fix it.<\/p>\n","protected":false},"author":5,"featured_media":622,"comment_status":"closed","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[106],"tags":[],"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v15.3 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>How to Fix Slow-Loading Images to Boost Performance | SiteUptime Blog<\/title>\n<meta name=\"description\" content=\"If slow-loading images annoy you, imagine how your visitors feel. In this post, learn why your images are late to the party and what you can do to fix it.\" \/>\n<meta name=\"robots\" content=\"index, nofollow, max-snippet:-1, max-image-preview:large, max-video-preview:-1\" \/>\n<link rel=\"canonical\" href=\"https:\/\/www.siteuptime.com\/blog\/2017\/06\/21\/how-to-fix-slow-loading-images-to-boost-performance\/\" \/>\n<meta property=\"og:locale\" content=\"en_US\" \/>\n<meta property=\"og:type\" content=\"article\" \/>\n<meta property=\"og:title\" content=\"How to Fix Slow-Loading Images to Boost Performance | SiteUptime Blog\" \/>\n<meta property=\"og:description\" content=\"If slow-loading images annoy you, imagine how your visitors feel. In this post, learn why your images are late to the party and what you can do to fix it.\" \/>\n<meta property=\"og:url\" content=\"https:\/\/www.siteuptime.com\/blog\/2017\/06\/21\/how-to-fix-slow-loading-images-to-boost-performance\/\" \/>\n<meta property=\"og:site_name\" content=\"SiteUptime Blog\" \/>\n<meta property=\"article:published_time\" content=\"2017-06-21T19:58:02+00:00\" \/>\n<meta property=\"og:image\" content=\"https:\/\/www.siteuptime.com\/blog\/wp-content\/uploads\/2017\/06\/loading-time-1024x683.jpg\" \/>\n\t<meta property=\"og:image:width\" content=\"1024\" \/>\n\t<meta property=\"og:image:height\" content=\"683\" \/>\n<meta name=\"twitter:card\" content=\"summary_large_image\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\">\n\t<meta name=\"twitter:data1\" content=\"Site Uptime Tips, Tricks, and Hacks\">\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\">\n\t<meta name=\"twitter:data2\" content=\"4 minutes\">\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"Organization\",\"@id\":\"https:\/\/www.siteuptime.com\/blog\/#organization\",\"name\":\"Site Uptime\",\"url\":\"https:\/\/www.siteuptime.com\/blog\/\",\"sameAs\":[],\"logo\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.siteuptime.com\/blog\/#logo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.siteuptime.com\/blog\/wp-content\/uploads\/2016\/11\/logo.png\",\"width\":268,\"height\":67,\"caption\":\"Site Uptime\"},\"image\":{\"@id\":\"https:\/\/www.siteuptime.com\/blog\/#logo\"}},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.siteuptime.com\/blog\/#website\",\"url\":\"https:\/\/www.siteuptime.com\/blog\/\",\"name\":\"SiteUptime Blog\",\"description\":\"Website Monitoring\",\"publisher\":{\"@id\":\"https:\/\/www.siteuptime.com\/blog\/#organization\"},\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":\"https:\/\/www.siteuptime.com\/blog\/?s={search_term_string}\",\"query-input\":\"required name=search_term_string\"}],\"inLanguage\":\"en-US\"},{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.siteuptime.com\/blog\/2017\/06\/21\/how-to-fix-slow-loading-images-to-boost-performance\/#primaryimage\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/www.siteuptime.com\/blog\/wp-content\/uploads\/2017\/06\/loading-time.jpg\",\"width\":2121,\"height\":1414,\"caption\":\"loading time\"},{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.siteuptime.com\/blog\/2017\/06\/21\/how-to-fix-slow-loading-images-to-boost-performance\/#webpage\",\"url\":\"https:\/\/www.siteuptime.com\/blog\/2017\/06\/21\/how-to-fix-slow-loading-images-to-boost-performance\/\",\"name\":\"How to Fix Slow-Loading Images to Boost Performance | SiteUptime Blog\",\"isPartOf\":{\"@id\":\"https:\/\/www.siteuptime.com\/blog\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.siteuptime.com\/blog\/2017\/06\/21\/how-to-fix-slow-loading-images-to-boost-performance\/#primaryimage\"},\"datePublished\":\"2017-06-21T19:58:02+00:00\",\"dateModified\":\"2017-06-21T19:58:02+00:00\",\"description\":\"If slow-loading images annoy you, imagine how your visitors feel. In this post, learn why your images are late to the party and what you can do to fix it.\",\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.siteuptime.com\/blog\/2017\/06\/21\/how-to-fix-slow-loading-images-to-boost-performance\/\"]}]},{\"@type\":\"Article\",\"@id\":\"https:\/\/www.siteuptime.com\/blog\/2017\/06\/21\/how-to-fix-slow-loading-images-to-boost-performance\/#article\",\"isPartOf\":{\"@id\":\"https:\/\/www.siteuptime.com\/blog\/2017\/06\/21\/how-to-fix-slow-loading-images-to-boost-performance\/#webpage\"},\"author\":{\"@id\":\"https:\/\/www.siteuptime.com\/blog\/#\/schema\/person\/0c5da25d1e73b52a001cde949f064a84\"},\"headline\":\"How to Fix Slow-Loading Images to Boost Performance\",\"datePublished\":\"2017-06-21T19:58:02+00:00\",\"dateModified\":\"2017-06-21T19:58:02+00:00\",\"mainEntityOfPage\":{\"@id\":\"https:\/\/www.siteuptime.com\/blog\/2017\/06\/21\/how-to-fix-slow-loading-images-to-boost-performance\/#webpage\"},\"publisher\":{\"@id\":\"https:\/\/www.siteuptime.com\/blog\/#organization\"},\"image\":{\"@id\":\"https:\/\/www.siteuptime.com\/blog\/2017\/06\/21\/how-to-fix-slow-loading-images-to-boost-performance\/#primaryimage\"},\"articleSection\":\"Website Tips and Tricks\",\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.siteuptime.com\/blog\/#\/schema\/person\/0c5da25d1e73b52a001cde949f064a84\",\"name\":\"Site Uptime Tips, Tricks, and Hacks\",\"image\":{\"@type\":\"ImageObject\",\"@id\":\"https:\/\/www.siteuptime.com\/blog\/#personlogo\",\"inLanguage\":\"en-US\",\"url\":\"https:\/\/secure.gravatar.com\/avatar\/a9225861cfb200610ac9071a40b5dc27?s=96&d=mm&r=g\",\"caption\":\"Site Uptime Tips, Tricks, and Hacks\"}}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","_links":{"self":[{"href":"https:\/\/www.siteuptime.com\/blog\/wp-json\/wp\/v2\/posts\/621"}],"collection":[{"href":"https:\/\/www.siteuptime.com\/blog\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.siteuptime.com\/blog\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.siteuptime.com\/blog\/wp-json\/wp\/v2\/users\/5"}],"replies":[{"embeddable":true,"href":"https:\/\/www.siteuptime.com\/blog\/wp-json\/wp\/v2\/comments?post=621"}],"version-history":[{"count":2,"href":"https:\/\/www.siteuptime.com\/blog\/wp-json\/wp\/v2\/posts\/621\/revisions"}],"predecessor-version":[{"id":624,"href":"https:\/\/www.siteuptime.com\/blog\/wp-json\/wp\/v2\/posts\/621\/revisions\/624"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.siteuptime.com\/blog\/wp-json\/wp\/v2\/media\/622"}],"wp:attachment":[{"href":"https:\/\/www.siteuptime.com\/blog\/wp-json\/wp\/v2\/media?parent=621"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.siteuptime.com\/blog\/wp-json\/wp\/v2\/categories?post=621"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.siteuptime.com\/blog\/wp-json\/wp\/v2\/tags?post=621"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}