Dynamic Media - Original Image Dimension or aspect ratio

srikanthp689160

12-10-2020

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

Accepted Solutions (1)

Accepted Solutions (1)

Vikas_Bharti

Employee

12-10-2020

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