image-resizer icon indicating copy to clipboard operation
image-resizer copied to clipboard

Not resizing reliably since Craft 4

Open josh-attwood opened this issue 2 years ago • 2 comments

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

josh-attwood avatar Aug 18 '22 17:08 josh-attwood

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.

engram-design avatar Aug 20 '22 05:08 engram-design

@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

josh-attwood avatar Aug 22 '22 14:08 josh-attwood