humanmade / S3-Uploads

The WordPress Plugin to Store Uploads on Amazon S3
1.92k stars 389 forks source link

PDF thumbnails of document are not getting generated on upload #629

Open brown-a2 opened 1 year ago

brown-a2 commented 1 year ago

Hi s3-uploads team,

When we upload a PDF (or other documents), normally we have a thumbnail image generated of the document cover. However, when using the s3-uploads plugin, no uploaded image thumbnail is generated.

If we turn the plugin off, the document thumbnails appear again on upload. So it seems related to the plugin.

Reviewing the plugin code it seems you modify how imagick works, so maybe this is an imagick issue? Or maybe a permission issue writing the temporary file?

Otherwise however, the plugin works great, URLs are getting rewritten and we're not logging any errors.

WordPress is updated to the latest version (6.2) and imagick is on version 3.6.0.

Many thanks for any suggestions.