I have a custom image size at 200×150 that works fine in a plugin I’m working on. Uploading new files is no problem but when I edit an image, the default image sizes get regenerated but my custom size does not. Is there a way to force the regeneration programatically in a filter or something?
Leave a Reply
You must be logged in to post a comment.
To regenerate custom image size when image is edited in image editor , You have to add following options in wp_options table using update_option function along with add_image_size.
Example :