Title: [Plugin: Additional image sizes] errors generating images
Last modified: August 19, 2016

---

# [Plugin: Additional image sizes] errors generating images

 *  [Marco](https://wordpress.org/support/users/mimecine/)
 * (@mimecine)
 * [15 years, 11 months ago](https://wordpress.org/support/topic/plugin-additional-image-sizes-errors-generating-images/)
 * When I try to regenerate additional sizes, I get the error:
    error_getting_dimensions::
   Could not calculate resized image dimensions I have been looking through the 
   code a bit and it seems to not be the plugin itself that generates the error 
   but wp’s image_resize(). Will post if come up with a solution… gd is installed
   and the blog behaves well in other respects, so I don’t think it’s my environment,
   but one never knows… Just thought I’d alert it here..
 * [http://wordpress.org/extend/plugins/additional-image-sizes/](http://wordpress.org/extend/plugins/additional-image-sizes/)

Viewing 9 replies - 1 through 9 (of 9 total)

 *  [Teeks](https://wordpress.org/support/users/teeks/)
 * (@teeks)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-additional-image-sizes-errors-generating-images/#post-1555589)
 * had this problem too. same all round.
 * it works when I use “300px” as the value, instead of just “300”.
    the **px** 
   is the important bit, not 300 🙂
 * random. hope that fixes it for you too.
 *  [Teeks](https://wordpress.org/support/users/teeks/)
 * (@teeks)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-additional-image-sizes-errors-generating-images/#post-1555590)
 * Nope, sorry, that wasn’t actually a solution. It seemed to work once, but I couldn’t
   replicate it.
 * My new theory is that it works only when you have at least two additional image
   sizes defined. That’s what it had when I was testing the above solution, one 
   with px, one without, but as soon as I deleted the non-px one, the px one didn’t
   work anymore either.
 * If you have two it works, but for some reason it will still generate an error,
   even though it follows by saying that it worked. Double random.
 * Tried with two images and two image sizes and got the following result:
 * > Something(s) went wrong:
   >  error_getting_dimensions: Could not calculate resized
   > image dimensions error_getting_dimensions: Could not calculate resized image
   > dimensions
   > That went quite well:
   >  Resized IMG_0033 to size Excerpt. Resized IMG_0033 to
   > size Featured. Resized TK Test Image to size Excerpt. Resized TK Test Image
   > to size Featured.
 *  [Teeks](https://wordpress.org/support/users/teeks/)
 * (@teeks)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-additional-image-sizes-errors-generating-images/#post-1555591)
 * nope – doesn’t work. WP 3.0 i guess.
 *  [gegenalles](https://wordpress.org/support/users/gegenalles/)
 * (@gegenalles)
 * [15 years, 10 months ago](https://wordpress.org/support/topic/plugin-additional-image-sizes-errors-generating-images/#post-1555606)
 * Hi, i got the same problem, but now I found a workaround. Process the images 
   with the plugin [“regenerate thumbnails (viper007bond)”](http://www.viper007bond.com/wordpress-plugins/regenerate-thumbnails/)
 *  [mardala](https://wordpress.org/support/users/mardala/)
 * (@mardala)
 * [15 years, 6 months ago](https://wordpress.org/support/topic/plugin-additional-image-sizes-errors-generating-images/#post-1555639)
 * I think the underlying issue with this plugin is it needs to get the single full
   sized images from the post attachment, not all sizes, then create a new size 
   for the ones from this plugin. Otherwise it throws an error because its trying
   to resize an image that is already the max w / h. I may try and sort this if 
   I can find time.
 *  [beingzoe](https://wordpress.org/support/users/beingzoe/)
 * (@beingzoe)
 * [15 years, 5 months ago](https://wordpress.org/support/topic/plugin-additional-image-sizes-errors-generating-images/#post-1555645)
 * I think you figured out the problem mardala.
    I didn’t notice the problem until
   a client cropped an image using the WP admin image editor. That was when the 
   error started in my themes. Until the image editor is used there doesn’t seem
   to be a problem.
 * Hopefully the Walter is still around and will fix this. If not I am curious if
   you are seriously going to tackle this or if I need to start looking into doing
   it myself?
 *  [mardala](https://wordpress.org/support/users/mardala/)
 * (@mardala)
 * [15 years, 4 months ago](https://wordpress.org/support/topic/plugin-additional-image-sizes-errors-generating-images/#post-1555647)
 * I will try! I’ve got limited time and have a few issues piled up I want to fix,
   including this one. I will definitely post back here if I find a solution.
 *  [beingzoe](https://wordpress.org/support/users/beingzoe/)
 * (@beingzoe)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-additional-image-sizes-errors-generating-images/#post-1555655)
 * I’ve revised the plugin and will be re-releasing it as soon as the review team
   get’s back to me. All the resize errors are resolved. A variety of minor bugs
   were fixed. And I added the ability to resize the built-in WordPress sizes ‘thumbnail,‘
   medium’, and ‘large’ if the image size is changed in the Settings > Media options.
 * You can test the new revised “[Additional Image Sizes (zui)](https://github.com/beingzoe/wpplugin-additional-image-sizes-zui)”
   out from the source at github.
 * Indeed I would appreciate the help testing it out and making sure I actually 
   fixed everything. It also runs a little faster now but not much I can do with
   how long the actual images take to resize.
 * This functionality is also included ready-to-go in my new platform/framework 
   plugin [Kitchen Sink HTML5 Base](https://github.com/beingzoe/wpplugin-kitchen-sink-html5-base)
   if you are interested in trying out another new plugin.
 *  [beingzoe](https://wordpress.org/support/users/beingzoe/)
 * (@beingzoe)
 * [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-additional-image-sizes-errors-generating-images/#post-1555656)
 * The updated version of “Additional Image Sizes (zui)” is available in the WordPress
   repository.
 * [http://wordpress.org/extend/plugins/additional-image-sizes-zui/](http://wordpress.org/extend/plugins/additional-image-sizes-zui/)
 * All the errors of the original plugin fixed and some new functionality added (
   resizing predefined WordPress default sizes ‘thumbnail’, ‘medium’, and ‘large’).
   It has also been optimized somewhat and gives more control over how many images
   are processed at a time and to increase the time limit for script processing.
 * Special thanks to Ami for testing everything and the great ideas.
 * Hope this helps some of you out.

Viewing 9 replies - 1 through 9 (of 9 total)

The topic ‘[Plugin: Additional image sizes] errors generating images’ is closed 
to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/additional-image-sizes.svg)
 * [Additional image sizes](https://wordpress.org/plugins/additional-image-sizes/)
 * [Support Threads](https://wordpress.org/support/plugin/additional-image-sizes/)
 * [Active Topics](https://wordpress.org/support/plugin/additional-image-sizes/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/additional-image-sizes/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/additional-image-sizes/reviews/)

 * 9 replies
 * 5 participants
 * Last reply from: [beingzoe](https://wordpress.org/support/users/beingzoe/)
 * Last activity: [15 years, 3 months ago](https://wordpress.org/support/topic/plugin-additional-image-sizes-errors-generating-images/#post-1555656)
 * Status: not resolved