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 CantuariaCommented Apr 28, 2017 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.– RobbiegodCommented Apr 28, 2017 at 2:57
Add a comment
|
1 Answer
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!!