Issue
- The preview is not getting generated for all the '.webp' files in Document and Media.
- Follow this guide and enable the use of WEBP
- Navigate to Content & Data > Documents and Media
- Upload an image in WEBP format
- Click the image title to check the preview
preview is not getting generated with the below error in the logs:
2022-08-04 10:46:46.646 WARN [liferay/adaptive_media_processor-3][AMMessageListener:90] com.liferay.adaptive.media.exception.AMRuntimeException$IOException: Unable to scale file entry 37851 to match adaptive media configuration Preview-1000x0 com.liferay.adaptive.media.exception.AMRuntimeException$IOException: Unable to scale file entry 37851 to match adaptive media configuration Preview-1000x0 at com.liferay.adaptive.media.image.internal.scaler.AMDefaultImageScaler.scaleImage(AMDefaultImageScaler.java:71) at com.liferay.adaptive.media.image.internal.processor.AMImageProcessorImpl.process(AMImageProcessorImpl.java:118) at com.liferay.adaptive.media.image.internal.processor.AMImageProcessorImpl.process(AMImageProcessorImpl.java:73) at com.liferay.adaptive.media.image.internal.processor.AMImageProcessorImpl.process(AMImageProcessorImpl.java:44) at com.liferay.adaptive.media.web.internal.messaging.AMProcessorCommand$2.execute(AMProcessorCommand.java:43) at com.liferay.adaptive.media.web.internal.messaging.AMMessageListener.doReceive(AMMessageListener.java:80)
Environment
- Liferay DXP 7.3
Resolution
- The observed behavior is a known issue LPS-155705 and will be fixed in the upcoming DXP 7.3 Update.
- Installing Fix Packs and Hotfixes on Liferay DXP will guide to install the Fixpack/Hotfix.