0

So in my liip_imagine i have something like:

webp: generate: True quality: 70 

and it works good locally, it serves .png.webp images, but when i put it on my NGINX server i have an issue called unable to create path for ... "Get operation failed, im using imagick as a driver. I have webp in mime types on my server. The problem is that it shows error also on imagick like

 if (isset($options['format'])) { $this->imagick>setimageformat($options['format']); } 

It doesnt recognize the format, but i don't know how could i debug it to see what format is given, i tried dump($options['format']) but it doesnt show anything anywhere. How can i solve this problem? Should i use other way to create webp on my server? Why does it work locally ok, but on server not.

3
  • 1
    show us some error logs, show us the permissions of the directory Commented Aug 17, 2021 at 12:26
  • the problem was that imagick on server didnt support webp format, i had to update imagick Commented Aug 25, 2021 at 18:40
  • please answer your questions and accept the answer Commented Aug 25, 2021 at 19:12

0

You must log in to answer this question.

Start asking to get answers

Find the answer to your question by asking.

Ask question

Explore related questions

See similar questions with these tags.