Dynamic Media - Original Image and Responsive | Community
Skip to main content
VictorToledo_
Level 3
March 13, 2019
Solved

Dynamic Media - Original Image and Responsive

  • March 13, 2019
  • 2 replies
  • 4526 views

Hi all,

i've integrated Dynamic Media Hybrid Mode with my AEM 6.3.3.0 environment. All is working fine but i have a question.

When i open the image url without any query parameter, preset, etc (https://dmserver/is/image/image.jpg) i'm getting a small image (300x200 px).

Is there a way to get the original image? (size, type, etc, without any modification)

And when i use the responsive feature with the OOTB responsive image preset, the page is doing two request https://dmserver/is/image/image.jpg?$responsive$​ which returns the small image, then is executed the s7responsiveImage js function and a new request is executed with the correct wid parameter https://dmserver/is/image/image.jpg?$responsive$&wid=XXX​X. is that the normal behavior? two request per image

Thanks in advance

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by edh82899156

Yes, that is the expected behavior.  Unfortunately, it's not possible to retrieve the original image file from the Delivery servers, but you can use the 'scl=1' command to get it back at full size.  For more information, check out the online HTTP Protocol docs for the Delivery Image Servers:

https://marketing.adobe.com/resources/help/en_US/s7/is_ir_api/is_api/http_ref/r_scl.html

2 replies

edh82899156Adobe EmployeeAccepted solution
Adobe Employee
March 15, 2019

Yes, that is the expected behavior.  Unfortunately, it's not possible to retrieve the original image file from the Delivery servers, but you can use the 'scl=1' command to get it back at full size.  For more information, check out the online HTTP Protocol docs for the Delivery Image Servers:

https://marketing.adobe.com/resources/help/en_US/s7/is_ir_api/is_api/http_ref/r_scl.html

VictorToledo_
Level 3
March 19, 2019

Hi eharris3, do you know why two request are made?

srikanthp689160
Level 4
October 13, 2020

Hi @victortoledo_, were able to render image with original size? If yes, could you please let me know what needs to be done?

 

We have similar requirement, where we need to render images with original height and width but dynamic media url without ay parameters is of 400*267, as a result we adding a preset to increase height and width which makes all images uniform in size. But our requirement is that images needs to be displayed with original dimensions. If scl=1 parameter is used for an image with original dimensions width=8589 and height=5726, says illegal image size. If original dimension is not possible for such images, we might want to have same aspect ratio.

Any inputs on this would be highly helpful.

 

Thanks

Srikanth