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

SVG 画像が Web コンテンツのドラフトに表示されない

Written By

Kanchan Bisht

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.

問題

  • SVG 画像は、パッチ レベル (Fix Pack 20) では表示されず、以前のもの (Fix Pack 11) では表示されていました。
    • 再現手順
      • Liferay DXP 7.1 と Fix Pack 20 のセットアップ
      • 基本的なドキュメントを作成する
      • SVG拡張子のファイルをアップロード→公開
      • 3ドットメニューをクリック→ダウンロードを右クリック→リンクアドレスをコピー
      • 新しい基本的な Web コンテンツを作成する
      • Web コンテンツのコンテンツ フィールドをクリックします。
      • コードビューボタンをクリック
      • 入力: <img src="dlfileurl" />
      • dlfileurl を画像のリンクに置き換えます
      • Text View ボタンをクリックします。
      • 予期される動作: SVG ファイルが表示されます。
      • 実際の動作: SVG ファイルは表示されません。

Environment

  • Liferay DXP 7.1 フィックスパック 20

解決策

  • これは既知の問題です。この問題にホットフィックスが必要な場合は、パッチの詳細を添付して、ホットフィックスを要求するサポート チケットを作成してください。
  • Liferay DXP にフィックスパックとホットフィックスをインストールすると、それぞれの環境にこのホットフィックスをインストールするためのガイドが表示されます。
Did this article resolve your issue ?

Legacy Knowledge Base