Your achievements

Level 1

0% to

Level 2

Tip /
Sign in

Sign in to Community

to gain points, level up, and earn exciting badges like the new
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Dynamic Media - Original Image and Responsive

victor_toledo_3
Level 3
Level 3

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
eharris3
Correct answer by
Employee
Employee

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
eharris3
Correct answer by
Employee
Employee

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

victor_toledo_3
Level 3
Level 3

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

srikanthp689160
Level 4
Level 4

Hi @victor_toledo_3, 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