-
Notifications
You must be signed in to change notification settings - Fork 69
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Imagick + webp issues on DigitalOcean/ServerPilot #288
Comments
Could you clarify this; if you have GD as your image driver, and Also, check if the temp file, in this case |
Ok - weirdly, today I can't replicate that issue again. However, Imagick still doesn't generate a webp image at all. If I flick between adding and removing this in general.php:
When using GD, it will correctly generate webp images because |
What happens if you remove the |
I've been trying without success to get Imager serving webp images using Imagick on DigitalOcean/ServerPilot. I've installed webp and cwebp is correctly installed in
user/bin/cwebp
GD seems to work fine, but when I try and use Imagick, I get this error message:
shell_exec(): Unable to execute '/usr/bin/cwebp -q 80 "/srv/users/beyond-stage/apps/beyond-stage/storage/runtime/imager/temp/7321c9d3e512ac16a99d2b4f54bde5b7.jpg" -o "/srv/users/beyond-stage/apps/beyond-stage/public/imager/images/5587/work-nuffield-health-tube_20eb4bea08289a4390600e547b8810e7.webp"'
Almost certainly not your fault, but if anyone could help me troubleshoot what that means and how to fix it I'd be grateful! I've cleared Craft's caches and removed Imager transforms.
Contents of
imager.php
:The text was updated successfully, but these errors were encountered: