I have a wordpress site that has thousands of images in the uploads folder that are connected to posts in a custom post type. What would be a good way to regenerate these images to create new thumbnails?

  • The images were uploaded directly to the upload folders? I mean, without being registered in the DB? – Bruno Cantuaria Apr 28 '17 at 2:29
  • There is a form on the front end, the images are cropped and renamed. They are in the uploads folder. There are custom fields that hold the urls to these images. Tons of images. I believe that is why they are not in the library because there are just so many. – Robbiegod Apr 28 '17 at 2:57

wp-content/uploads images wont regenerate if they are not shown in the Media Library because those media ID's needs to be there in the database.You need to first add your images on the media libray with the help of add-from-server plugin.

Then with regenerate-thumbnails plugin you can then regenerate all of you images.

Hope that helps!!

|improve this answer|||||

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service, privacy policy and cookie policy

Not the answer you're looking for? Browse other questions tagged or ask your own question.