modxcms / aws-s3-media-source

7 stars 10 forks source link

Unable to view preview Thumbnails for images #22

Open rdegler opened 2 years ago

rdegler commented 2 years ago

I am using a bucket located at an academic institution's S3 instance. Running MODX 2.8.3 with aws-s3-media-source installed. I get the following errors in the manager error log when preview thumbnails are generated by hovering over image file name:

[2022-03-18 08:23:07] (ERROR @ /www/core/components/awss3mediasource/model/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php : 67) PHP warning: count(): Parameter must be an array or an object that implements Countable [2022-03-18 08:23:08] (ERROR @ /www/core/components/awss3mediasource/model/vendor/guzzlehttp/guzzle/src/Handler/CurlFactory.php : 67) PHP warning: count(): Parameter must be an array or an object that implements Countable

Additionally the same problem occurs in MODX 3 latest version.

rdegler commented 2 years ago

Added note: MODX3 is able to generate thumbnails for jpg's (in Files Tree and Media Browser) but not for png's.