Take the 2-minute tour ×
WordPress Development Stack Exchange is a question and answer site for WordPress developers and administrators. It's 100% free, no registration required.

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?

share|improve this question
add comment

2 Answers 2

up vote 1 down vote accepted

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.

share|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
add comment

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

share|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
    
+1... Nice point. –  Hamed Momeni Oct 6 '12 at 8:29
add comment

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.