Simple Image Sizes
[resolved] Regenerating Fix (5 posts)

  1. g100g
    Posted 2 years ago #

    after changing width and height to medium image size, the regenerate function told me that images with images size exists.

    I founded the problem in the file class.admin.php at line 623
    I moved this code before foreach and not after.

    // Only if not all sizes
    			if( is_array( $thumbnails ) ) {
    				// Fill the array with the other sizes not have to be done
    				foreach( $meta_datas['sizes'] as $name => $fsize ) {
    					$metadata['sizes'][$name] = $fsize;

    After this change everything worked as expected.
    Hope this help.


  2. Nicolas Juen
    Plugin Author

    Posted 2 years ago #

    Hi !
    Thank ou for your contribution :).
    I will integrate this modification on next version.


  3. ScreenfeedFr
    Posted 2 years ago #

    Oh, yes! This one was a big problem to me... but I never looked in the code to solve it :s

    Thanks a lot :)

  4. ScreenfeedFr
    Posted 2 years ago #

    The bug still here :( http://adrop.in/Q0j (and some typos)
    Or may be it's not a bug (but a feature ^^). May I ask for a "Force regeneration even if the damn file exists FFS!" checkbox? :3

  5. AshtonSanders
    Posted 2 years ago #

    I'm getting this error still... I just double checked the code, and it looks like this fix is in place; but I still get this bug.

    I have to go to individual image pages (in the media section) and click the regenerate button on that page.

    Any ideas?

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Image Sizes
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic


No tags yet.