Legacy Knowledge Base
Published Jul. 2, 2025

Uploading Images through Web Content disappear after upgrade

Written By

Justin Mann

How To articles are not official guidelines or officially supporteddocumentation. They are community-contributed content and may not alwaysreflect the latest updates to Liferay DXP. We welcome your feedback toimprove How to articles!

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

Legacy Article

You are viewing an article from our legacy "FastTrack"publication program, made available for informational purposes. Articlesin this program were published without a requirement for independentediting or verification and are provided "as is" withoutguarantee.

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

Issue

When uploading images using the image field in a web content structure, the images do not appear in the documents and media portlet. After running the upgrade to Liferay DXP 7.3 from a prior version of Liferay, the web content that contained the images that were uploaded through the image field no longer show the image.

 

Environment

  • Liferay DXP 7.3

Resolution

  • Although the file does not appeari n the documents and media portlet, when uploading an image using the image field in a web content structure, the file is still stored in the file system.
  • Therefore, when conducting an upgrade to Liferay DXP 7.3, it is still necessary to point the new Liferay environment to the old document library (or copy over the old document library to the location in the new environment.
  • During the upgrade, the following occurs:
    • Migrate the old image (Image table + file system) to the DL (DLFileEntry table + DL file system)
    • Remove the table JournalArticleImage that contained the old references since it is no longer needed. Now the DL is used as reference for the images in Web Content
  • The new DL URL format is:
 http://{domain}/documents/{groupId}/{DLFileEntry_UUID} 
  • All of the old URLs to the images are backward compatible, so as long as the document library is reconnected appropriately, you will still be able to access all the images through the old URLs as well as the new URL.
Did this article resolve your issue ?

Legacy Knowledge Base