0

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?

1

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.

| improve this answer | |
  • My problem is exactly with AJAX Thumbnail Rebuild. It uses the old image size. – Hamed Momeni Oct 6 '12 at 8:13
  • Ok - maybe "Simple Image Sizes" or "Additional image sizes (zui)" – ogni Oct 6 '12 at 8:18
0

The easiest way would be plugin - and as always: There's a plugin for that.

| improve this answer | |
  • I prefer not to use a plugin in this case. Thanks anyway. – Hamed Momeni Oct 6 '12 at 8:10
  • 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. – Miha Rekar Oct 6 '12 at 8:12

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.