verbb / image-resizer

A Craft CMS plugin to resize images on upload.
MIT License
128 stars 14 forks source link

Not resizing reliably since Craft 4 #67

Open josh-attwood opened 2 years ago

josh-attwood commented 2 years ago

Describe the bug

Since updating to craft 4 this plugin seems to be extremely unreliable when resizing large files.

I am often getting a "Server error" message on upload and the plugin logs shows "Error. Resize operation failed".

We have tried switching between running GD and Imagick and increasing the memory limit to quite a silly value but nothing seems to fix it on our end.

Steps to reproduce

  1. Upload image bigger than the threshold

Craft CMS version

4.0.0

Plugin version

3.0.1

Multi-site?

No

Additional context

No response

engram-design commented 2 years ago

Hmmm, hard to say what the specific error is, but I'm surprised there's issues from Craft 3 to 4 like this, as not much has fundamentally changed.

Anything in your storage/logs/*.log files (either Image Resizer logs, Web request or PHP errors) about this server error that'd give us some more detail? It might help to clear these out before trying to upload a large asset again.

josh-attwood commented 2 years ago

@engram-design I've sent you an email with some log files if you have chance to have a look. There does seem to be something going on in the web log