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

srikanthp689160
Level 4
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

Dynamic Media Scene 7 API Scene7
1 Accepted Solution
Vikas_Bharti
Correct answer by
Employee
Employee

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

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

srikanthp689160
Level 4
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.
Vikas_Bharti
Employee
Employee

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

srikanthp689160
Level 4
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?
Vikas_Bharti
Employee
Employee
@srikanthp689160 If you use the parameter scl=1 in the URL then yes, you should be able to serve original dimensions.
OlegMM
Level 2
Level 2
And what is the limit for INPUT images provided to DM for initial processing?