You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Expected Behavior:
Uploaded images should be processed and rendered fully without any gray areas.
Actual Behavior:
Some images occasionally render with a gray block (see attached screenshots), appearing as if the rendering process was incomplete. I adviced my client to upload images who are less then 1MB for better performance, but some of the images they want to use are above 1MB.
How can it be avoided that these gray areas appear when uploading new images? Could the problem be the file size of the images? Or could the problem be somewhere else?
Additional info
Imager version & edition: 4.2.3 PRO
Imager transformer: craft
Craft version: 4.5.6.1 PRO
PHP version: 8.2.25
Image driver & version: GD 8.2.25
The text was updated successfully, but these errors were encountered:
This is almost certainly due to PHP/connections timing out one way or another. Imager adds as much safeguards as it can, but some scenarios can't be mitigated. Are you using external storages, ie AWS S3, DigitalOcean Spaces, or similar?
The only advice I can give is to increase timeout limits, most notably max_execution_time in PHP, request_terminate_timeout if you're using PHP-FPM with nginx, and also fastcgi_read_timeout when using nginx. This issue is probably not due to memory constraints, but there's a slim chance that increasing memory limits also could be beneficial. Also, generate as many transforms as possible up front, as long as you have a working queue running, it's less likely to cause these kinds of timeouts.
I'm submitting a...
Description
Expected Behavior:
Uploaded images should be processed and rendered fully without any gray areas.
Actual Behavior:
Some images occasionally render with a gray block (see attached screenshots), appearing as if the rendering process was incomplete. I adviced my client to upload images who are less then 1MB for better performance, but some of the images they want to use are above 1MB.
How can it be avoided that these gray areas appear when uploading new images? Could the problem be the file size of the images? Or could the problem be somewhere else?
Additional info
The text was updated successfully, but these errors were encountered: