legacy-knowledge-base
公開されました Jul. 2, 2025

Webコンテンツに50kb以上の画像をアップロードできない。

written-by

Rafael Regner

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

learn-legacy-article-disclaimer-text

課題

  • Webコンテンツのメイン画像に50kbを超える小さな画像をアップロードした後、変更内容を公開できず、以下のメッセージが表示されるという問題がありました。
    エラー: 有効なサイズの画像を入力してください (50 KB以下)

環境

  • Liferay DXP 7.2

解決

  • Liferayポータルのデフォルトの最大ファイルサイズは51200(50kb)です。
  • コントロールパネル > 設定 > システム設定 > コンテンツとデータ > Webコンテンツ で、 小さい画像の最大ファイルサイズ の項目を必要に応じて増やしてください。
did-this-article-resolve-your-issue

legacy-knowledge-base