Legacy Knowledge Base
Published Jul. 2, 2025

Can I remove parameters appended to the image URL?

Written By

Laura Li

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.

Issue

  • Can I remove parameters appended to the image URL?

For example, https://[domain.name]/documents/48742/50327/xyz.jpg/8e72765b-3a49-42a2-ad95-7e262a163b83?t=1484729757000.

I want the image URL to be just:  https://[domain.name]/documents/48742/50327/xyz.jpg  

Environment

  • Liferay DXP 7.0, Liferay DXP 7.1 

Resolution

  • We do not recommend to remove the parameters because of the following reasons.

1. The first parameter (8e72765b-3a49-42a2-ad95-7e262a163b83) is the UUID of the file entry. The UUID will help retrieve the file in the event of a file rename. 
2. The second parameter (t=1484729757000) is the timestamp of the file being modified. This ensures that when a new version is uploaded, the latest content is delivered, no matter whether it was cached or not. 

Additional Information

  • Please refer to LPS-85654 for more details.

 

Did this article resolve your issue ?

Legacy Knowledge Base