WPBeginner

Beginner's Guide for WordPress

  • Blog
    • Beginners Guide
    • News
    • Opinion
    • Showcase
    • Themes
    • Tutorials
    • WordPress Plugins
  • Start Here
    • How to Start a Blog
    • Create a Website
    • Start an Online Store
    • Best Website Builder
    • Email Marketing
    • WordPress Hosting
    • Business Name Ideas
  • Deals
    • Bluehost Coupon
    • SiteGround Coupon
    • WP Engine Coupon
    • HostGator Coupon
    • Domain.com Coupon
    • Constant Contact
    • View All Deals »
  • Glossary
  • Videos
  • Products
X
☰
Beginner's Guide for WordPress / Start your WordPress Blog in minutes
Choosing the Best
WordPress Hosting
How to Easily
Install WordPress
Recommended
WordPress Plugins
View all Guides

WPBeginner» Blog» Plugins» How to Regenerate Thumbnails or New Image Sizes in WordPress

How to Regenerate Thumbnails or New Image Sizes in WordPress

Last updated on March 6th, 2017 by Editorial Staff
125 Shares
Share
Tweet
Share
Pin
Free WordPress Video Tutorials on YouTube by WPBeginner
How to Regenerate Thumbnails or New Image Sizes in WordPress

Recently, a WPBeginner reader asked for our help regarding an issue with images on their website. It all started when the user switched to a new theme, and the theme displayed thumbnails next to the excerpt of the post. The problem was that all new images that were uploaded after activating the theme were looking good, but all the old thumbnails looked ugly and distorted. The user tried to adjust image sizes in Settings » Media, but it didn’t solve the problem. In this article, we will show you how to regenerate thumbnails or new image sizes in WordPress.

How to regenerate thumbnails and new image sizes in WordPress

By default when you upload an image to WordPress, it creates different sizes and saves them in the uploads folder. Previously, we published a tutorial on how to create additional image sizes in WordPress. Many WordPress themes take advantage of this feature and define new image sizes, but the problem is that these new image sizes are only applied on the images you upload after activating the theme.

To solve this problem you need to generate new sizes for all previously uploaded images. This process is often referred to as regenerating thumbnails.

Video Tutorial

Subscribe to WPBeginner

If you don’t like the video or need more instructions, then continue reading.

To generate images in newly defined image sizes, install and activate the Regenerate Thumbnails plugin. After activating the plugin, go to Tools » Regen. Thumbnails.

Renerate all thumbnails in WordPress

Pressing the regenerate thumbnail button will start generating new image sizes defined by your theme or in Settings » Media page. It may take a while, depending on how many images you have on your website.

You can also regenerate image sizes for selected images in Media » Library.

Regenerate image sizes for specific images

Regenerating images sizes does not affect your original upload. It creates additional copies of images in the newly defined sizes.

It also does not delete previously created image sizes. You can delete the sizes if you are sure that you haven’t used those sizes anywhere on your website.

We hope this article helped you learn how to regenerate thumbnails and new image sizes in WordPress. You may also want to see our guide on how to fix common image issues in WordPress.

If you liked this article, then please subscribe to our YouTube Channel for WordPress video tutorials. You can also find us on Twitter and Facebook.

125 Shares
Share
Tweet
Share
Pin
Popular on WPBeginner Right Now!
  • Checklist

    Checklist: 15 Things You MUST DO Before Changing WordPress Themes

  • How to Properly Move Your Blog from WordPress.com to WordPress.org

  • Google Analytics in WordPress

    How to Install Google Analytics in WordPress for Beginners

  • Revealed: Why Building an Email List is so Important Today (6 Reasons)

    Revealed: Why Building an Email List is so Important Today (6 Reasons)

About the Editorial Staff

Editorial Staff at WPBeginner is a team of WordPress experts led by Syed Balkhi. Trusted by over 1.3 million readers worldwide.

The Ultimate WordPress Toolkit

49 Comments

Leave a Reply
  1. Gav Mytton says:
    Jul 17, 2020 at 4:18 am

    You need to update this content as the plugin options have changed and it doesn’t match the content now

    Reply
    • WPBeginner Support says:
      Jul 17, 2020 at 10:31 am

      Thank you for letting us know, we will look into updating this article :)

      Reply
  2. dimiter kirov says:
    Jun 15, 2019 at 1:40 pm

    You can also use WP-CLI and the command: wp regenerate images

    Reply
    • WPBeginner Support says:
      Jun 17, 2019 at 11:37 am

      If you’re comfortable with the command line interface you could use a command like that but not all beginners are comfortable using that or need to use it :)

      Reply
  3. Leyteris says:
    Apr 23, 2019 at 10:09 am

    Hello!
    What happens If, in many of my posts I use the 1024 post thumbnail and later, change this -let’s say- to 910 width? Is it safe to make such kind of a change?
    Thank you for your time

    Reply
    • WPBeginner Support says:
      Apr 23, 2019 at 11:45 am

      Your theme should specify the image size it is using for the featured image and resize or use the version of the image that is the correct size normally.

      Reply
  4. Claudia says:
    Aug 26, 2018 at 6:25 pm

    I used the plugin and now the thumbnails look great but the pictures are blurry. I appreciate any suggestions to solve this issue.

    Reply
  5. Lalit Joshi says:
    Jul 28, 2018 at 10:05 pm

    regenerate thumbnails plugins don’t running properly.
    what can i do.
    please help me .

    Reply
  6. David says:
    Jan 12, 2018 at 11:55 am

    If you use the plugin to regenerate thumbnails after resizing an image that was ALREADY in existing posts/pages, what’s the easiest way to update those existing pages/posts to use the new image size?

    Reply
  7. Antonio says:
    May 23, 2017 at 8:40 am

    Hi,

    what if I only have the image path yet the image is actually missing? I backed up the site and migrated it somewhere else, but the back up was maybe not complete or apparently there are no image files in some of the ‘upload’ folders.

    Now when I open the media library I get many empty frames, with the path to the image. If I click on edit image I can’t of course do anything because there is nothing inside. Can I upload an image again in that path? Is there a plugin to do that?

    Thank you for your help, if you have a solution :)

    Antonio

    Reply
    • Matthew Zalewski says:
      Nov 8, 2017 at 1:46 am

      Hi

      If you have FTP access to the site, you can navigate to the wp-content/uploads folder, and manually add the file in the correct path (eg: url.com/2017/12/image.jpg would be found in “wp-content/uploads/2017/12/image.jpg”

      Once that’s done, you should be able to resize the images again using the tutorial above.

      Reply
  8. Sagar Patil says:
    Jan 19, 2017 at 12:40 pm

    Hello, i wont to know is there any way or plugin to create embed codes for website images. as, if i added images in post then it will add code after image or post, so visitors can share that images on other website using embed codes.

    Reply
  9. Bolte Chitra says:
    Nov 27, 2016 at 6:04 pm

    Very Informating post, I’m looking for this very long as I changed themes on my website very often. As I google I found this link, and see here is a solution that need nt any coding. Thanks! Keep Up Good work! I’m going to bookmark your website for any further wordpress issues.

    Reply
  10. elvis says:
    Oct 8, 2016 at 11:31 am

    hello please can you help me how to change photo from my website , when i share link on fb or when i send message on facebook i se one foto but i want another thrumbail foto please help me , replay my email ?

    Reply
    • WPBeginner Support says:
      Oct 10, 2016 at 1:28 pm

      Please see our guide on how to fix Facebook incorrect thumbnail issue.

      Reply
  11. ashish says:
    Jun 27, 2016 at 2:35 am

    sir iam trying to set up blog post for my theme that convert html to wordpress but is so no display why

    Reply
  12. suraj says:
    Apr 8, 2016 at 12:34 pm

    how can remove old regenerated image ….

    Reply
  13. Mike says:
    Mar 18, 2016 at 8:11 pm

    I was using Avada which creates SEVEN sizes and have since changed to Beaver Builder.
    The article says “You can delete the sizes if you are sure that you haven’t used those sizes anywhere on your website.” How do I delete those old sized images from Avada?

    Reply
  14. Prabhudatta Sahoo says:
    Feb 17, 2016 at 5:59 am

    Hey There Experts,

    I am having some issues with my thumbnails. I recently migrated my website from one host to another and after migrating the files, I can see that the thumbnails are not showing up as expected. My thumbnails are mapped to the post featured image and after migrating all the featured images are gone. Even I tried the plugin here described but it did not help. Could you please provide any solution to this?

    Reply
  15. Gagan says:
    Feb 1, 2016 at 6:30 am

    So if i change Image Size in Media Setting and than regerate thumbnail, than i have to modify maually almost alll post and pick up right size for image. Because Images are not showing up.

    Reply
  16. abdo says:
    Jan 8, 2016 at 5:27 am

    thank you so much, for this awesome blog, all solutions are here, thank you so much for you work and lessons.

    Reply
  17. Lucy says:
    Jan 5, 2016 at 5:02 pm

    For some reason, I’m seeing a duplicate regenerate thumbnails under the “bulk actions” area of my media library. One says “Regenerate thumbnails” and the other “Regenerate Thumbnails”. I deactivated and deleted the plugin but I still see it in the media settings area.

    How do I permanently remove this plugin? I need to go back to factory media settings and this is preventing me from doing so.

    Reply
  18. Jack says:
    Sep 5, 2015 at 10:22 am

    The regenerate thumbnails plugin works great. I’m afraid I used it many times already in the last 10 years or so. The problems remains how to exchange the current used image size in older posts. I haven’t seen a plugin for this.

    It must be possible to use a search and replace action that would search for *******160x???.jpg or *******???x160.jpg, search for an image with the same name (everything before the last 11 characters), and replace it with an image with the same name but uses 300 at least once somewhere in those last 11 characters.

    The problem is, I can think of a way, but I haven’t got a clue how to do it in mysql ;).

    Reply
  19. Justin Chua says:
    Aug 29, 2015 at 8:40 am

    Hello, I see that the support is very responsive and I am really happy to see that :) May I know how I can set regenerate thumbnails in such a way that all my product thumbnails are squared? Initially, I manually cropped them one by one so that all images would be squared. Now, after performing regenerate thumbnails, the thumbnails will not be affected no matter how I crop them. my products are best viewed when they are squared. Having them in a rectangular form actually blocks out the sides in the thumbnail. Any help is much appreciated!

    Reply
    • WPBeginner Support says:
      Aug 30, 2015 at 1:46 pm

      The appearance and size of your thumbnails if often determined your WordPress theme. However, you can override this by adding new image sizes in WordPress and then using that size in your theme’s templates. After that you will have to run regenerate thumbnail plugin to resize all existing images.

      Reply
  20. jack says:
    Jul 7, 2015 at 12:09 pm

    after regenerate the images, all do show in FTP under upload but never show in WP DASHBOARD MEDIA LIBRARY. anyone know what going wrong here?

    it never update the post image as well

    Reply
    • WPBeginner Support says:
      Jul 8, 2015 at 12:54 pm

      Your Media Library will only show the original upload not all the resized copies of the image. You can select a size when you are adding an image to a post or page using Add media button.

      Reply
  21. Nate says:
    May 6, 2015 at 7:15 pm

    broke every single one of my images. I only had a couple broken, now they all are broken.

    Reply
  22. JK says:
    Apr 21, 2015 at 1:33 am

    Hi,

    When I try to regenerate thumbnails it fails to do it.

    Reply
  23. WPBeginner Staff says:
    Dec 16, 2014 at 7:19 pm

    Try switching to a default theme and then change these values if you succeed then there is something wrong with your current theme, you should contact theme author for support. If this does not help then try deactivating all plugin, and then change the values. If you succeed, then this means one of the plugins on your site is stopping you from changing those values.

    Reply
    • Gursimran Singh Reehal says:
      Dec 17, 2014 at 2:12 am

      Found another solution, I’ve edited my themes functions.php and added new post_thumbnail image sizes and instead I’m calling those in my post widgets. Thanks for your reply.

      Reply
  24. Gursimran Singh Reehal says:
    Dec 16, 2014 at 10:57 am

    The thumbnail and medium image sizes in the media settings aren’t being saved. I get the ‘settings saved’ notification but the new values don’t appear in the fields below. Somehow the large size shows the change, but the other two keep showing the old values.

    I’ve tried regenerating, but the problem is the changes aren’t saving properly. Any solutions where can I make the changes through ftp in which file?

    Reply
  25. WPBeginner Staff says:
    Sep 29, 2014 at 12:07 am

    Regenerate Thumbnails is one of those plugins that you can install if the need arise. There is no point of keeping it on your site since it does nothing on its own until you explicitly tell it to regenerate image sizes.

    Reply
    • Marc says:
      Dec 10, 2015 at 11:29 am

      Is there any plugin to regenerate automatically? When one of our authors posts a featured image and then switches it for another one, the 2nd image always needs to be regenerated manually. It would be best if it were done automatically so the awkwardly sized image does not have to display on our site waiting to be regenerated by one of us manually.

      Thanks!

      Reply
  26. tinagleisner says:
    Sep 27, 2014 at 3:00 pm

    It feels like this plugin will regenerate all sizes if you want but noone is stating that it does more than thumbnails?

    Reply
    • WPBeginner Staff says:
      Sep 27, 2014 at 7:22 pm

      Yes it will regenerate all image sizes. If an image does exist in all defined sizes, then it will not regenerate another copy of that image.

      Reply
      • tinagleisner says:
        Sep 27, 2014 at 9:59 pm

        Thanks for confirming as I’m trying to sort out what plugins to install on my new site

        Reply
  27. WPBeginner Staff says:
    Sep 16, 2014 at 4:25 pm

    Lisa the problem is not with WordPress but with the theme you have chosen. This theme is using a larger image size 640×427 while the flickr image you inserted in your posts were 300×200 px.

    One possible workaround to that problem is to import external images in WordPress and then run Regenerate Thumbnails plugin.

    Make sure that you first create a complete WordPress backup before trying this solution.

    Reply
  28. Lisa says:
    Sep 14, 2014 at 11:19 pm

    I just made the switch from blogger to wordpress.org and the pictures inserted from Flickr are incredibly blurry.

    Here are two examples:

    I have four years worth of content…Does anyone know how to fix this? Many thanks!

    Reply
  29. WPBeginner Staff says:
    Jul 2, 2014 at 12:04 am

    You can actually do some basic editing like cropping, resizing, rotating, images in WordPress. However, this can only be done after an image is uploaded to the server.

    Just to be extra clear on the topic, WordPress does store your image file in its original size. You can also create additional sizes if you need or remove sizes you don’t need.

    Reply
  30. WPBeginner Staff says:
    Jun 8, 2014 at 11:26 pm

    you probably need to regenerate thumbnails.

    Reply
    • Joshua Coller says:
      Jul 1, 2014 at 2:52 pm

      I have a similar issue to Utsav. I am at the point of giving up on WordPress as Blogger seemed to handle photo re-sizing much better. Is there a tool that will add a step between upload and creating the sizes to adjust the section of the image you want to use for the feature? Something similar to when you box in your profile photo on facebook.

      Reply
  31. Utsav says:
    Jun 7, 2014 at 6:19 am

    hi,
    when I upload any images as featured image only some part of the image appears as featured image. how to fix this problem?

    Reply
  32. Flávia Pimentel says:
    May 31, 2014 at 11:53 am

    Hi, there. I used the plugin and now I have 2 images as thumbnail. How do I delete old sizes? I only have the original image, after using the plugin it did not create a new media file.

    Reply
  33. Osama says:
    Dec 7, 2013 at 3:51 pm

    Hi.. It will regenerate only thumnails (feature images, popular posts on sidebars etc) or it will regenerate all the images on the website?

    Reply
    • WPBeginner Support says:
      Dec 8, 2013 at 2:21 pm

      It will regenerate all the images you uploaded using media uploader in WordPress. Not the images in your themes, plugins, or images you uploaded manually.

      Reply
  34. Mike says:
    Dec 3, 2013 at 9:54 pm

    I am using Solostream’s theme WP-Clear 3.2.1, which uses the latest version of the Regenerate Thumbnails plugin, however when I run the regenerate thumbnails plugin, I get about an 80% failure on regenerating.

    I have even gone so far as to temporarily set the upload directory and files permissions to 777, and it still fails.

    Any ideas? Should I just purchase another theme that will work.

    Thanks

    PS I can’t remember the exact error message as it was all in some code and about 200 characters long, but I have asked around in different forums. You guys are my last hope!

    Reply
  35. GABRIELA says:
    Sep 11, 2013 at 11:59 pm

    YOU ARE AWESOMEEE!!!!
    YOU SOLVE ALL MY PROBLEMSSS !!!
    THANKS A LOT REALLY!

    Reply
  36. Zad I. says:
    Jun 16, 2013 at 11:47 am

    I had an issue with the thumbnail version of some of my images being broken in the media section. When I checked the folder it was referring, it was not there for some reason, but the original size version was still there. Using this plugin not only fixed my problem, but also saved me a lot of time from having to manually resize each image through photoshop.

    For anyone using this plugin, since I only had about 6-7 broken thumbnail images in the media section, I just selected regenerate image on each one selectively instead of doing it to all images just to be on the safe side. Everything worked well.

    Thanks.

    Reply

Leave a Reply Cancel reply

Thanks for choosing to leave a comment. Please keep in mind that all comments are moderated according to our comment policy, and your email address will NOT be published. Please Do NOT use keywords in the name field. Let's have a personal and meaningful conversation.

Over 1,320,000+ Readers

Get fresh content from WPBeginner

Featured WordPress Plugin
MonsterInsights
MonsterInsights
Google Analytics made easy for WordPress. Learn More »
How to Start a Blog How to Start a Blog
I need help with ...
Starting a
Blog
WordPress
Performance
WordPress
Security
WordPress
SEO
WordPress
Errors
Building an
Online Store
Useful WordPress Guides
    • 7 Best WordPress Backup Plugins Compared (Pros and Cons)
    • How to Fix the Error Establishing a Database Connection in WordPress
    • Why You Need a CDN for your WordPress Blog? [Infographic]
    • 30 Legit Ways to Make Money Online Blogging with WordPress
    • Self Hosted WordPress.org vs. Free WordPress.com [Infograph]
    • Free Recording: WordPress Workshop for Beginners
    • 24 Must Have WordPress Plugins for Business Websites
    • How to Properly Move Your Blog from WordPress.com to WordPress.org
    • 5 Best Contact Form Plugins for WordPress Compared
    • Which is the Best WordPress Popup Plugin? (Comparison)
    • Best WooCommerce Hosting in 2020 (Comparison)
    • How to Fix the Internal Server Error in WordPress
    • How to Install WordPress - Complete WordPress Installation Tutorial
    • Why You Should Start Building an Email List Right Away
    • How to Properly Move WordPress to a New Domain Without Losing SEO
    • How to Choose the Best WordPress Hosting for Your Website
    • How to Choose the Best Blogging Platform (Comparison)
    • WordPress Tutorials - 200+ Step by Step WordPress Tutorials
    • 5 Best WordPress Ecommerce Plugins Compared
    • 5 Best WordPress Membership Plugins (Compared)
    • 7 Best Email Marketing Services for Small Business (2020)
    • How to Choose the Best Domain Registrar (Compared)
    • The Truth About Shared WordPress Web Hosting
    • When Do You Really Need Managed WordPress Hosting?
    • 5 Best Drag and Drop WordPress Page Builders Compared
    • How to Switch from Blogger to WordPress without Losing Google Rankings
    • How to Properly Switch From Wix to WordPress (Step by Step)
    • How to Properly Move from Weebly to WordPress (Step by Step)
    • Do You Really Need a VPS? Best WordPress VPS Hosting Compared
    • How to Properly Move from Squarespace to WordPress
    • How to Register a Domain Name (+ tip to get it for FREE)
    • HostGator Review - An Honest Look at Speed & Uptime (2020)
    • SiteGround Reviews from 4196 Users & Our Experts (2020)
    • Bluehost Review from Real Users + Performance Stats (2020)
    • How Much Does It Really Cost to Build a WordPress Website?
    • How to Create an Email Newsletter the RIGHT WAY (Step by Step)
    • Free Business Name Generator (A.I Powered)
    • How to Create a Free Business Email Address in 5 Minutes (Step by Step)
    • How to Install Google Analytics in WordPress for Beginners
    • How to Move WordPress to a New Host or Server With No Downtime
    • Why is WordPress Free? What are the Costs? What is the Catch?
    • How to Make a Website in 2020 – Step by Step Guide
Deals & Coupons (view all)
SeedProd Logo
SeedProd Coupon
Get 50% OFF SeedProd Coming Soon Page plugin for WordPress.
Cozmoslabs
Cozmoslabs Coupon
Get 15% OFF on Cozmoslabs WordPress premium plugins.
Featured In
About WPBeginner®

WPBeginner is a free WordPress resource site for Beginners. WPBeginner was founded in July 2009 by Syed Balkhi. The main goal of this site is to provide quality tips, tricks, hacks, and other WordPress resources that allows WordPress beginners to improve their site(s).
Join our team: We are Hiring!

Site Links
  • About Us
  • Contact Us
  • FTC Disclosure
  • Privacy Policy
  • Terms of Service
  • Free Blog Setup
  • Free Business Tools
Our Sites
  • OptinMonster
  • MonsterInsights
  • WPForms
  • SeedProd
  • Nameboy
  • RafflePress
  • Smash Balloon

Copyright © 2009 - 2021 WPBeginner LLC. All Rights Reserved. WPBeginner® is a registered trademark.

Managed by Awesome Motive | WordPress hosting by SiteGround | WordPress CDN by MaxCDN | WordPress Security by Sucuri.