We'll create fresh WordPress site with OTF Regenerate Thumbnails installed. You have 20 minutes to test the plugin after that site we'll be deleted.
This plugin behaves similarly to Regenerate Thumbnails except that images are resized automatically / on the fly, when they are used. Once created, they won’t be processed again.
Your thumbnails will now resize when:
No settings pages, just install and activate and things should work right away.
Report bugs and help out in the code from the Github repository
Test it out. In your normal WordPress website set up, create a gallery using the Add Media button while editing a post or page and use thumbnails. Afterwards, check out your gallery.
Notice the size of your thumbnails, most likely they’re 150 x 150. Do you see it? Great.
Now head over to Settings > Media and change your thumbnail size to something cooler, something rectangular, let’s try 400 x 200. Save it.
Go back to your gallery that you previously created and refresh your browser. Most likely you won’t be seeing 400 x 200 thumbnails there.
OTF Regenerate Thumbnails fixes this for you.
OTF Regenerate Thumbnails should work right away, and your images should get resized when the dimensions get changed.
For developers & tinkerers, ensuring your images get resized properly requires you to use WordPress’ image functions to display featured images and image attachments. Don’t worry, this is a good thing.
Make sure you use these WordPress functions every time you display images:
You can also add size names using add_image_size
the_post_thumbnail
and other thumbnail functions are handled automaticallyadd_image_size
,