RE: How to enable webp in page editor and webcontent editor?

thumbnail
Fernando Fernandez, modified 7 Months ago.

How to enable webp in page editor and webcontent editor?

Expert Posts: 401 Join Date: 8/22/07 Recent Posts

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, modified 6 Months ago.

RE: How to enable webp in page editor and webcontent editor?

Liferay Legend Posts: 6441 Join Date: 9/23/08 Recent Posts

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.

Community
Company
Feedback