WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. g100g
    Member
    Posted 1 year ago #

    hi,
    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.
    .g

    http://wordpress.org/extend/plugins/simple-image-sizes/

  2. Rahe
    Member
    Plugin Author

    Posted 1 year ago #

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

    Rahe

  3. ScreenfeedFr
    Member
    Posted 1 year 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
    Member
    Posted 1 year 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
    Member
    Posted 11 months 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

About this Topic

Tags

No tags yet.