As for Bitrix to resave all the images in the WEBP format?

Actually a subject. Must all pictures if you add to save to WEBP that would be on the front output them via picture. Scoured the Internet but have not found a solution. To climb into the kernel is not desirable. Now, this is not how to save to Webp - this is understandable, but how in the Bitrix override method save the image that would be next to the original picture to save webp.
March 23rd 20 at 19:08
4 answers
March 23rd 20 at 19:10
This problem is not solved. But vskidku you can try to do one of the following:

- Can be done as written here
- Optimizing images "on the fly"
March 23rd 20 at 19:12
no, the regular mechanism is not able
Thanks for the detailed answer - this way we know that is not able) a question how to override onFileSave event for example that it would be to add a save to webp - albin_Bode commented on March 23rd 20 at 19:15
@albin_Bode, I webp test, and see what Google says Paige AIDS and tests really perevedeny content on wbap, you know Google is in suspended animation and indicators not even close, in fact, about 8% increase to the size of the site well and speed, kaestve of content also falls on the 8% somewhere better, somewhere worse, but in General also on these percentages and the quality worse.
so it would be better Bitrix screwed jpegoptim or normally scribbled pictures learned, and webp until needed.
For such a modest real increase in the quality of the site you get is not fully compatible with several devices and browsers, and this is a sorry disadvantage.

Well, Yes your question is not obvious that you NATURAL know, sorry here are the questions sometimes asked. - carolanne.Hayes commented on March 23rd 20 at 19:18
March 23rd 20 at 19:14
You yourself found that the only event for which you can hold on, onFileSave. Here and write this event, it checks that the file is a picture and convertirse. How can I convert the image to the Bitrix does not apply, to help Google. It seems that even in gd and imagick such functions is.
March 23rd 20 at 19:16

Find more questions by tags 1C-Bitrix