Viewing 4 replies - 1 through 4 (of 4 total)
  • I have installed it in a 5.3.2 and it seems to work as expected, with one exception; image crops are always from center/center even with other postitions declared like “center”,”top”.
    I dug around in the code and I found an error, and fixed it, but the crop positions are ignored, still. I think it is a problem with WP 5.x own image scaling and the resulting “original-image-scaled-123×123.jpg” files.
    Anyway, here is the bug line:
    (in simple-image-sizes/classes/admin/Media.php line 407:)

    
    $crop = '["' . $crop[0] . '", "' . $crop[1] . '")';
    

    should be

    
    $crop = '["' . $crop[0] . '", "' . $crop[1] . '"]';
    

    (also on github: https://github.com/Rahe/Simple-image-sizes/issues/59 )

    cheers,
    Tom

    • This reply was modified 4 years, 8 months ago by Webrocker.

    Hello… R.I.P. Simple Image Sizes…

    Thread Starter a4jp

    (@a4jpcom)

    Can we take over the plugin development if you don’t want to do it anymore?

    Any good alternative to this plugin that is actually maintained?

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Warning: This plugin has not been tested with your current version of WordPress.’ is closed to new replies.