legacy-knowledge-base
公開されました Sep. 10, 2025

ドキュメントのアダプティブ メディア URL を表示および作成する方法

written-by

Dávid Hegedüs

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

問題

  • URL が

Environment

  • Liferay DXP 7.2+

解決策

正確な例をガイドします。

  1. 使用する URL パターンは次のようになります: /o/adaptive-media/image/id/Thumbnail-300x300/url.png?t=
  2. ドキュメントとメディアに画像をアップロードする
  3. 画像を開いて最新バージョンの URL を確認します。たとえば、 になります
  4. DB を確認し、画像の fileEntryId を取得します。この場合は 35150です。
  5. この の情報から、 の URL を作成できます
  6. ご覧のとおり、URL パターンの id 35150 に置き換え、 ?t=1681903801009 パラメータを最後に配置します。最新版URLの末尾
did-this-article-resolve-your-issue

legacy-knowledge-base