Expand my Community achievements bar.

Guidelines for the Responsible Use of Generative AI in the Experience Cloud Community.

DAM image with query parameter getting downloaded instead of opening it

Avatar

Level 3

    Hi

When i user DAM image path with query parameter it downloads image instead of opening it. Any way of restricting download but show image?

5 Replies

Avatar

Level 10

Please specify the steps you are performing to see this behaviour.

Avatar

Level 3

Take example of any DAM image.

say www.abc.com/content/dam/xyz.jpb when we open up this path it opens image. Where as same path with query parameter www.abc.com/content/dam/xyz.jpb?123 downlaods the image. This happens in Desktop but in Mobile it is fine.

Avatar

Level 10

WHen you select the DAM asset to place into a page - are you using a dialog and a control like Pathfinder?

Avatar

Level 10

When selecting a DAM image from a dialog so that the Asset is displayed in the web page - it will never download but will be displayed in component.

To display the Asset in a web page - you can use a dialog. See this article - where in each multi-field - am asset is selected and it renders in the component.

Adobe Experience Manager Help | Creating a HTL Repeating Data Set 6.3 Component that uses Sling Mode...

Avatar

Level 10

Are you trying to modify the Asset by  using the Asset HTTP API -- Assets HTTP API ?