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 Dimension or aspect ratio

Avatar

Level 4

Hi,

We have Dynamic Media configuration and image url without any parameters(https://xx.scene7.com/is/image/mycompany/image) 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

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

1 Accepted Solution

Avatar

Correct answer by
Level 4

Hi Srikanth,

Each DM account has a configuration setting called "Reply Image Size Limit." It specifies the maximum reply image width and height that can be returned to the client. The server returns the "illegal image size" message if a request would cause a reply image whose width or height is larger than this setting.

To adjust the MaxPix, log in to DM cloud(Scene7 Publishing System), and choose Setup > Application Setup > Publish Setup > Image Server > Reply Image Size Limit. Increase this setting to a value you think is sufficient, and save it. The current limit is 5000 x 5000 pixels. The Dynamic Media servers currently don't serve up images that are larger than 25 million pixels.

Thanks

View solution in original post

7 Replies

Avatar

Correct answer by
Level 4

Hi Srikanth,

Each DM account has a configuration setting called "Reply Image Size Limit." It specifies the maximum reply image width and height that can be returned to the client. The server returns the "illegal image size" message if a request would cause a reply image whose width or height is larger than this setting.

To adjust the MaxPix, log in to DM cloud(Scene7 Publishing System), and choose Setup > Application Setup > Publish Setup > Image Server > Reply Image Size Limit. Increase this setting to a value you think is sufficient, and save it. The current limit is 5000 x 5000 pixels. The Dynamic Media servers currently don't serve up images that are larger than 25 million pixels.

Thanks

Avatar

Level 4
Hi @Vikas_Bharti, Will there be any implications if Reply Image Size Limit to maximum value i.e. 5000*5000? After change, will this be applied to images which were published prior to updating this setting? Can you please suggest what can be done for images with larger than 5000 x 5000? Basically we would want images to be rendered original dimensions or same aspect ratio.

Avatar

Level 4

This setting gets applied to the complete account, so there won't be any problems with the delivery of existing assets. As mentioned earlier, dynamic Media servers currently don't serve up images that are larger than 25 million pixels(5000x5000). You can create an image preset[0] and adjust height and width as per requirement for large images and use that to deliver.

 

[0] https://docs.adobe.com/content/help/en/experience-manager-65/assets/dynamic/managing-image-presets.h...

Avatar

Level 4
Hi @Vikas_Bharti, One follow up question. Say for example if we set Reply Image size Limit is set to max value i.e. 5000 x 5000. will images with dimensions less than that value for example 1400 X 700 be with their original dimensions?

Avatar

Level 4
@srikanthp689160 If you use the parameter scl=1 in the URL then yes, you should be able to serve original dimensions.

Avatar

Level 2
And what is the limit for INPUT images provided to DM for initial processing?