• Resolved g100g

    (@g100g)


    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/

Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Author Nicolas Juen

    (@rahe)

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

    Rahe

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

    Thanks a lot 🙂

    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

    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?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Regenerating Fix’ is closed to new replies.