How to enable webp in page editor and webcontent editor?

thumbnail
Fernando Fernandez, modificado hace 1 año. Expert Mensajes: 401 Fecha de incorporación: 22/08/07 Mensajes recientes

This learn page says we can use webp in Liferay, but even with imagemagick enabled, webp files are not selectable to embed on webcontents or pages.

Since Lighthouse and other evaluation tools keep telling us to use "modern image formats" and customers use these tools to evaluate our work, this support seems very desirable.

Can somebody help?

TIA

Fernando

thumbnail
Olaf Kock, modificado hace 1 año. Liferay Legend Mensajes: 6441 Fecha de incorporación: 23/09/08 Mensajes recientes

I believe webp and avif require additional configuration, e.g. on allowed file types (System Settings / Documents and Media / Item Selector) and Mime type (System Settings / Adaptive Media / Images).

Those places are guesses that I have found right now - might be slightly different configurations, but I recall a file ending and a mime type required to be configured.