Expand my Community achievements bar.

Dive into Adobe Summit 2024! Explore curated list of AEM sessions & labs, register, connect with experts, ask questions, engage, and share insights. Don't miss the excitement.
SOLVED

Dynamic Media - Original Image and Responsive

Avatar

Level 4

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

1 Accepted Solution

Avatar

Correct answer by
Level 2

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

View solution in original post

3 Replies

Avatar

Correct answer by
Level 2

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

Avatar

Level 4

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

Avatar

Level 4

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