Cropping Doesn’t Work with Offload S3
-
Hello,
We just tested out uploading an image to the Media Library and it converted it to the S3 link just fine, but when I use Crop Thumbnails to crop an image, the thumbnail image stays the same. This happens when the ‘Remove Files From Server’ on Offload S3 is enabled, when it is disabled, Crop Thumbnail works.
I’ve talked with one of the devs of Offload S3 and he stated “It looks like the cropping tool you’re using isn’t using the proper WordPress API functions to get the local path of the image, it may be trying to access the local filesystem directly and therefore not finding the image file. WP Offload S3 normally sets things up so that the required file is temporarily pulled back down or made editable remotely if WordPress API functions such as
wp_get_attached_file()
are used.”After providing him with a debug.log to confirm, he said that the plugin is indeed having problems.
[13-Apr-2018 18:45:52 UTC] PHP Notice: Undefined offset: 9 in /var/www/vhosts/deleted.com/httpdocs/wp-content/plugins/crop-thumbnails/functions/helper.php on line 66 [13-Apr-2018 18:45:52 UTC] PHP Notice: Undefined offset: 9 in /var/www/vhosts/deleted.com/httpdocs/wp-content/plugins/crop-thumbnails/functions/helper.php on line 67 [13-Apr-2018 18:45:52 UTC] PHP Notice: Undefined offset: 9 in /var/www/vhosts/deleted.com/httpdocs/wp-content/plugins/crop-thumbnails/functions/helper.php on line 68
Is this possible to fix?
- The topic ‘Cropping Doesn’t Work with Offload S3’ is closed to new replies.