{"id":14342,"date":"2019-02-25T23:10:03","date_gmt":"2019-02-26T04:10:03","guid":{"rendered":"https:\/\/www.techwalls.com\/?p=14342"},"modified":"2019-03-20T23:59:28","modified_gmt":"2019-03-21T03:59:28","slug":"wordpress-stops-generating-thumbnails-automatically-fix","status":"publish","type":"post","link":"https:\/\/www.techwalls.com\/wordpress-stops-generating-thumbnails-automatically-fix\/","title":{"rendered":"WordPress Stops Generating Thumbnails Automatically, How to Fix It?"},"content":{"rendered":"\n<p>Earlier this week, I had a problem with my WordPress blog when the homepage and archive pages loaded full-size images instead of thumbnails. After some investigation, I figured out that somehow my WordPress site can&#8217;t generate thumbnails like previously.<\/p>\n\n\n\n<!--more-->\n\n\n\n<p>I checked the Media settings in WordPress and everything looks in order, so there is nothing to reconfigure here.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"https:\/\/www.techwalls.com\/wp-content\/uploads\/2019\/02\/media-settings.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.techwalls.com\/wp-content\/uploads\/2019\/02\/media-settings-1024x625.jpg\" alt=\"\" class=\"wp-image-14373\" width=\"768\" height=\"469\" srcset=\"https:\/\/www.techwalls.com\/wp-content\/uploads\/2019\/02\/media-settings-1024x625.jpg 1024w, https:\/\/www.techwalls.com\/wp-content\/uploads\/2019\/02\/media-settings-300x183.jpg 300w, https:\/\/www.techwalls.com\/wp-content\/uploads\/2019\/02\/media-settings-768x469.jpg 768w, https:\/\/www.techwalls.com\/wp-content\/uploads\/2019\/02\/media-settings.jpg 1556w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><\/figure>\n\n\n\n<p>I tried to use the <strong>Regenerate Thumbnails<\/strong> plugin to create the thumbnails but it showed the following error:<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>This tool won&#8217;t be able to do anything because your server doesn&#8217;t support image editing which means that WordPress can&#8217;t create thumbnail images.<\/p><\/blockquote>\n\n\n\n<p>Therefore, I realized that this must have been the issue after I&#8217;d updated PHP on my server. The problem was the missing GD library as I didn&#8217;t install it after the update. To fix the issue, you will just need to log in to your server and install the library. These are the commands for Linux\/Apache2.<\/p>\n\n\n\n<blockquote class=\"wp-block-quote is-layout-flow wp-block-quote-is-layout-flow\"><p>sudo apt-get update<\/p><p>sudo apt-get install php7.3-gd <\/p><p>sudo service apache2 restart<\/p><\/blockquote>\n\n\n\n<p>In the 2nd command, you need to replace with the PHP version available on your server.<\/p>\n\n\n\n<p>Afterwards, I came back to WordPress to generate thumbnails for my recently uploaded images. If you have just a few images, you can go to the Media Library and click on Regenerate Thumbnails under each image.<\/p>\n\n\n\n<figure class=\"wp-block-image is-resized\"><a href=\"https:\/\/www.techwalls.com\/wp-content\/uploads\/2019\/02\/media-library-thumbnails.jpg\"><img loading=\"lazy\" decoding=\"async\" src=\"https:\/\/www.techwalls.com\/wp-content\/uploads\/2019\/02\/media-library-thumbnails-1024x710.jpg\" alt=\"\" class=\"wp-image-14374\" width=\"768\" height=\"533\" srcset=\"https:\/\/www.techwalls.com\/wp-content\/uploads\/2019\/02\/media-library-thumbnails-1024x710.jpg 1024w, https:\/\/www.techwalls.com\/wp-content\/uploads\/2019\/02\/media-library-thumbnails-300x208.jpg 300w, https:\/\/www.techwalls.com\/wp-content\/uploads\/2019\/02\/media-library-thumbnails-768x532.jpg 768w, https:\/\/www.techwalls.com\/wp-content\/uploads\/2019\/02\/media-library-thumbnails.jpg 1466w\" sizes=\"auto, (max-width: 768px) 100vw, 768px\" \/><\/a><\/figure>\n\n\n\n<p>All done, everything should work perfectly like normal now and images will be cropped automatically again when you upload new ones.<\/p>\n","protected":false},"excerpt":{"rendered":"<p>Earlier this week, I had a problem with my WordPress blog when the homepage and archive pages loaded full-size images instead of thumbnails. After some investigation, I figured out that somehow my WordPress site can&#8217;t generate thumbnails like previously.<\/p>\n","protected":false},"author":42,"featured_media":14374,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"_genesis_hide_title":false,"_genesis_hide_breadcrumbs":false,"_genesis_hide_singular_image":false,"_genesis_hide_footer_widgets":false,"_genesis_custom_body_class":"","_genesis_custom_post_class":"","_genesis_layout":"","footnotes":""},"categories":[1146],"tags":[1147,28],"class_list":{"0":"post-14342","1":"post","2":"type-post","3":"status-publish","4":"format-standard","5":"has-post-thumbnail","7":"category-guide","8":"tag-guide-2","9":"tag-wordpress","10":"entry"},"yoast_head":"<!-- This site is optimized with the Yoast SEO plugin v23.9 - https:\/\/yoast.com\/wordpress\/plugins\/seo\/ -->\n<title>Wordpress Stops Generating Thumbnails Automatically, How to Fix It? - TechWalls<\/title>\n<meta name=\"description\" content=\"I had a problem with my Wordpress blog when the homepage and archive pages loaded full-size images instead of thumbnails. It stopped generating thumbnails automatically. Here is how to fix the issue.\" \/>\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.techwalls.com\/wordpress-stops-generating-thumbnails-automatically-fix\/\" \/>\n<meta name=\"twitter:label1\" content=\"Written by\" \/>\n\t<meta name=\"twitter:data1\" content=\"Tuan Do\" \/>\n\t<meta name=\"twitter:label2\" content=\"Est. reading time\" \/>\n\t<meta name=\"twitter:data2\" content=\"1 minute\" \/>\n<script type=\"application\/ld+json\" class=\"yoast-schema-graph\">{\"@context\":\"https:\/\/schema.org\",\"@graph\":[{\"@type\":\"WebPage\",\"@id\":\"https:\/\/www.techwalls.com\/wordpress-stops-generating-thumbnails-automatically-fix\/\",\"url\":\"https:\/\/www.techwalls.com\/wordpress-stops-generating-thumbnails-automatically-fix\/\",\"name\":\"Wordpress Stops Generating Thumbnails Automatically, How to Fix It? - TechWalls\",\"isPartOf\":{\"@id\":\"https:\/\/www.techwalls.com\/#website\"},\"primaryImageOfPage\":{\"@id\":\"https:\/\/www.techwalls.com\/wordpress-stops-generating-thumbnails-automatically-fix\/#primaryimage\"},\"image\":{\"@id\":\"https:\/\/www.techwalls.com\/wordpress-stops-generating-thumbnails-automatically-fix\/#primaryimage\"},\"thumbnailUrl\":\"https:\/\/www.techwalls.com\/wp-content\/uploads\/2019\/02\/media-library-thumbnails.jpg\",\"datePublished\":\"2019-02-26T04:10:03+00:00\",\"dateModified\":\"2019-03-21T03:59:28+00:00\",\"author\":{\"@id\":\"https:\/\/www.techwalls.com\/#\/schema\/person\/8e0374331f6dab83e97eb683907dca90\"},\"description\":\"I had a problem with my Wordpress blog when the homepage and archive pages loaded full-size images instead of thumbnails. It stopped generating thumbnails automatically. Here is how to fix the issue.\",\"breadcrumb\":{\"@id\":\"https:\/\/www.techwalls.com\/wordpress-stops-generating-thumbnails-automatically-fix\/#breadcrumb\"},\"inLanguage\":\"en-US\",\"potentialAction\":[{\"@type\":\"ReadAction\",\"target\":[\"https:\/\/www.techwalls.com\/wordpress-stops-generating-thumbnails-automatically-fix\/\"]}]},{\"@type\":\"ImageObject\",\"inLanguage\":\"en-US\",\"@id\":\"https:\/\/www.techwalls.com\/wordpress-stops-generating-thumbnails-automatically-fix\/#primaryimage\",\"url\":\"https:\/\/www.techwalls.com\/wp-content\/uploads\/2019\/02\/media-library-thumbnails.jpg\",\"contentUrl\":\"https:\/\/www.techwalls.com\/wp-content\/uploads\/2019\/02\/media-library-thumbnails.jpg\",\"width\":1466,\"height\":1016},{\"@type\":\"BreadcrumbList\",\"@id\":\"https:\/\/www.techwalls.com\/wordpress-stops-generating-thumbnails-automatically-fix\/#breadcrumb\",\"itemListElement\":[{\"@type\":\"ListItem\",\"position\":1,\"name\":\"Home\",\"item\":\"https:\/\/www.techwalls.com\/\"},{\"@type\":\"ListItem\",\"position\":2,\"name\":\"Tech Guide\",\"item\":\"https:\/\/www.techwalls.com\/guide\/\"},{\"@type\":\"ListItem\",\"position\":3,\"name\":\"WordPress Stops Generating Thumbnails Automatically, How to Fix It?\"}]},{\"@type\":\"WebSite\",\"@id\":\"https:\/\/www.techwalls.com\/#website\",\"url\":\"https:\/\/www.techwalls.com\/\",\"name\":\"TechWalls\",\"description\":\"Technology News | Gadget Reviews | Tutorials\",\"potentialAction\":[{\"@type\":\"SearchAction\",\"target\":{\"@type\":\"EntryPoint\",\"urlTemplate\":\"https:\/\/www.techwalls.com\/?s={search_term_string}\"},\"query-input\":{\"@type\":\"PropertyValueSpecification\",\"valueRequired\":true,\"valueName\":\"search_term_string\"}}],\"inLanguage\":\"en-US\"},{\"@type\":\"Person\",\"@id\":\"https:\/\/www.techwalls.com\/#\/schema\/person\/8e0374331f6dab83e97eb683907dca90\",\"name\":\"Tuan Do\",\"description\":\"I am the founder and editor of TechWalls technology blog. I have been blogging for 8 years and here you can find latest technology news, gadgets, tutorials and product reviews.\",\"url\":\"https:\/\/www.techwalls.com\/author\/rickyadmin\/\"}]}<\/script>\n<!-- \/ Yoast SEO plugin. -->","yoast_head_json":{"title":"Wordpress Stops Generating Thumbnails Automatically, How to Fix It? - TechWalls","description":"I had a problem with my Wordpress blog when the homepage and archive pages loaded full-size images instead of thumbnails. It stopped generating thumbnails automatically. Here is how to fix the issue.","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.techwalls.com\/wordpress-stops-generating-thumbnails-automatically-fix\/","twitter_misc":{"Written by":"Tuan Do","Est. reading time":"1 minute"},"schema":{"@context":"https:\/\/schema.org","@graph":[{"@type":"WebPage","@id":"https:\/\/www.techwalls.com\/wordpress-stops-generating-thumbnails-automatically-fix\/","url":"https:\/\/www.techwalls.com\/wordpress-stops-generating-thumbnails-automatically-fix\/","name":"Wordpress Stops Generating Thumbnails Automatically, How to Fix It? - TechWalls","isPartOf":{"@id":"https:\/\/www.techwalls.com\/#website"},"primaryImageOfPage":{"@id":"https:\/\/www.techwalls.com\/wordpress-stops-generating-thumbnails-automatically-fix\/#primaryimage"},"image":{"@id":"https:\/\/www.techwalls.com\/wordpress-stops-generating-thumbnails-automatically-fix\/#primaryimage"},"thumbnailUrl":"https:\/\/www.techwalls.com\/wp-content\/uploads\/2019\/02\/media-library-thumbnails.jpg","datePublished":"2019-02-26T04:10:03+00:00","dateModified":"2019-03-21T03:59:28+00:00","author":{"@id":"https:\/\/www.techwalls.com\/#\/schema\/person\/8e0374331f6dab83e97eb683907dca90"},"description":"I had a problem with my Wordpress blog when the homepage and archive pages loaded full-size images instead of thumbnails. It stopped generating thumbnails automatically. Here is how to fix the issue.","breadcrumb":{"@id":"https:\/\/www.techwalls.com\/wordpress-stops-generating-thumbnails-automatically-fix\/#breadcrumb"},"inLanguage":"en-US","potentialAction":[{"@type":"ReadAction","target":["https:\/\/www.techwalls.com\/wordpress-stops-generating-thumbnails-automatically-fix\/"]}]},{"@type":"ImageObject","inLanguage":"en-US","@id":"https:\/\/www.techwalls.com\/wordpress-stops-generating-thumbnails-automatically-fix\/#primaryimage","url":"https:\/\/www.techwalls.com\/wp-content\/uploads\/2019\/02\/media-library-thumbnails.jpg","contentUrl":"https:\/\/www.techwalls.com\/wp-content\/uploads\/2019\/02\/media-library-thumbnails.jpg","width":1466,"height":1016},{"@type":"BreadcrumbList","@id":"https:\/\/www.techwalls.com\/wordpress-stops-generating-thumbnails-automatically-fix\/#breadcrumb","itemListElement":[{"@type":"ListItem","position":1,"name":"Home","item":"https:\/\/www.techwalls.com\/"},{"@type":"ListItem","position":2,"name":"Tech Guide","item":"https:\/\/www.techwalls.com\/guide\/"},{"@type":"ListItem","position":3,"name":"WordPress Stops Generating Thumbnails Automatically, How to Fix It?"}]},{"@type":"WebSite","@id":"https:\/\/www.techwalls.com\/#website","url":"https:\/\/www.techwalls.com\/","name":"TechWalls","description":"Technology News | Gadget Reviews | Tutorials","potentialAction":[{"@type":"SearchAction","target":{"@type":"EntryPoint","urlTemplate":"https:\/\/www.techwalls.com\/?s={search_term_string}"},"query-input":{"@type":"PropertyValueSpecification","valueRequired":true,"valueName":"search_term_string"}}],"inLanguage":"en-US"},{"@type":"Person","@id":"https:\/\/www.techwalls.com\/#\/schema\/person\/8e0374331f6dab83e97eb683907dca90","name":"Tuan Do","description":"I am the founder and editor of TechWalls technology blog. I have been blogging for 8 years and here you can find latest technology news, gadgets, tutorials and product reviews.","url":"https:\/\/www.techwalls.com\/author\/rickyadmin\/"}]}},"_links":{"self":[{"href":"https:\/\/www.techwalls.com\/wp-json\/wp\/v2\/posts\/14342","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.techwalls.com\/wp-json\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.techwalls.com\/wp-json\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.techwalls.com\/wp-json\/wp\/v2\/users\/42"}],"replies":[{"embeddable":true,"href":"https:\/\/www.techwalls.com\/wp-json\/wp\/v2\/comments?post=14342"}],"version-history":[{"count":0,"href":"https:\/\/www.techwalls.com\/wp-json\/wp\/v2\/posts\/14342\/revisions"}],"wp:featuredmedia":[{"embeddable":true,"href":"https:\/\/www.techwalls.com\/wp-json\/wp\/v2\/media\/14374"}],"wp:attachment":[{"href":"https:\/\/www.techwalls.com\/wp-json\/wp\/v2\/media?parent=14342"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.techwalls.com\/wp-json\/wp\/v2\/categories?post=14342"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.techwalls.com\/wp-json\/wp\/v2\/tags?post=14342"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}