Legacy Knowledge Base
公開されました Jul. 2, 2025

ドキュメントとメディアの.webpファイルに対してプレビューが生成されない

Written By

Sivakumar Perumal

How To articles are not official guidelines or officially supported documentation. They are community-contributed content and may not always reflect the latest updates to Liferay DXP. We welcome your feedback to improve How To articles!

While we make every effort to ensure this Knowledge Base is accurate, it may not always reflect the most recent updates or official guidelines.We appreciate your understanding and encourage you to reach out with any feedback or concerns.

Legacy Article

You are viewing an article from our legacy "FastTrack" publication program, made available for informational purposes. Articles in this program were published without a requirement for independent editing or verification and are provided"as is" without guarantee.

Before using any information from this article, independently verify its suitability for your situation and project.

問題

  • ドキュメントとメディアのすべての'.webp'ファイルについて、プレビューが生成されない。
    1. 本ガイド に従い、WEBPの利用を可能にする。
    2. コンテンツに移動する & データ > ドキュメントとメディア
    3. WEBP形式の画像をアップロードする
    4. 画像のタイトルをクリックすると、プレビューを確認できます

    プレビューが生成されず、ログに以下のエラーが表示されます:

    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

解決策

Did this article resolve your issue ?

Legacy Knowledge Base