Are you enjoying the extensions? Did you like the support? Help others decide.

Leave a review

file webp thumbnails

More
3 years 1 month ago #5560 by teddyfresco
Replied by teddyfresco on topic webp thumbnails
Olivier, the fallback plan seems super!
Meanwhile, surfing the web, I stumbled across this link , absolutely by chance, maybe it can be useful.
Best regards,
teddy
 

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago #5561 by syw
Replied by syw on topic webp thumbnails
Thanks Teddy, the link is useful, I had not investigated it much yet :-)

Hopefully, I will be able to provide support for the Imagick library soon as well... It's in my plans!

Olivier.
The following user(s) said Thank You: Bissau

Please Log in or Create an account to join the conversation.

More
3 years 1 month ago - 3 years 1 month ago #5566 by syw
Replied by syw on topic webp thumbnails
Teddy,

I have re-visited the code to see if I could allow external images to be used in the creation of image thumbnails.

I have replaced some functions with curl in places where those functions could stop the process (getting the image type or the http status code for instance).

I have gone all the way to the creation of the thumbnails themselves.
Unfortunately, the creation of an image fails with the GD library when allow_url_fopen is disabled.

I have installed and tested Imagick (Image Magick) on my own test servers. The creation of thumbnails does NOT fail for external images.

Therefore, the only workaround I have for you is to wait for Imagick support in SimplifyYourWeb extensions, considering that your own servers have the library installed (GD comes packaged with PHP, not Imagick).

Or enable allow_url_fopen...

Olivier.
Last edit: 3 years 1 month ago by syw.
The following user(s) said Thank You: Bissau

Please Log in or Create an account to join the conversation.