I've added multiple custom image sizes using the add_image_size
function. The problem here is when I need to update the proportions of these sizes, the changed sized won't apply.
My guess is that wordpress inserts those sizes in the database and it fails to update them upon code change.
How can I update the image size?
2 Answers
With this plugin you can choose which specific image sizes should be updated:
AJAX Thumbnail Rebuild
Or you can use Simple Image Sizes, too.
More infos on wpbeginner.
-
My problem is exactly with
AJAX Thumbnail Rebuild
. It uses the old image size.– 2hamedOct 6, 2012 at 8:13 -
The easiest way would be plugin - and as always: There's a plugin for that.
-
-
Any reason for this? You are only firing this when add_image_size change which should not be often. Only in developement. So in developement it deosnt really matter what kind fo plugins you have, you can just delete them once you go live. Oct 6, 2012 at 8:12