Highlighted

DAM image with query parameter getting downloaded instead of opening it

Avatar

Avatar

creative83

Avatar

creative83

creative83

26-04-2018

    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?

Replies

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

26-04-2018

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

Highlighted

Avatar

Avatar

creative83

Avatar

creative83

creative83

26-04-2018

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.

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

26-04-2018

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

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

26-04-2018

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...

Highlighted

Avatar

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K

Avatar

smacdonald2008

Total Posts

12.7K

Likes

1.4K

Correct Answer

2.3K
smacdonald2008

26-04-2018

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