Expand my Community achievements bar.

SOLVED

Renditions are being created with wrong dimensions in AEM as a cloud service

Avatar

Level 1

We created a rendition profile with different rendition dimensions. When we apply that profile to an asset, the generated rendition dimensions are not matching with what we configured in rendition profile.

For example when we gave 285 X 100 in rendition profile, it created rendition of dimension 133 X 100

Note: we are using OOTB rendition profiles only, no customization

 

is this behavior expected. IS AEM automatically adjusting the dimensions closest to what we provided?

If that is the case, will these dimensions be different for different resolution image?

Please help!

 

Thanks! 

1 Accepted Solution

Avatar

Correct answer by
Employee Advisor

Normally AEM does not change the aspect ratio of existing images. Meaning that you cannot convert a 16:9 aspect ratio automatically in a 4:3 (without smart crops).

View solution in original post

4 Replies

Avatar

Community Advisor

Hi @Parveen1 

 

As per the OOTB DAM Update Asset workflow model, image renditions are getting generated for different resolutions by resizing the images based on the resolution.

If you want the specific size of assets you will need to crop the assets by adding a custom workflow process. You can refer the below link:

http://www.sgaemsolutions.com/2017/02/image-rendition-with-cropping-in-aem-62.html

 

Else you can go for the ACS Commons - Named Transform Image Servlet

https://adobe-consulting-services.github.io/acs-aem-commons/features/named-image-transform/index.htm...

 

Thanks!

Avatar

Level 1
@Asutosh_Jena_ - Please note we are using AEM as a cloud service. And we are trying to use the processing profiles feature that is in cloud service.

Avatar

Community Advisor

Hi,

Have you applied the processing profile to the assets folder?

check the below article if helps.
https://experienceleague.adobe.com/docs/experience-manager-cloud-service/assets/manage/asset-microse...

 

I will try in local let you know if you missing something.



Arun Patidar

Avatar

Correct answer by
Employee Advisor

Normally AEM does not change the aspect ratio of existing images. Meaning that you cannot convert a 16:9 aspect ratio automatically in a 4:3 (without smart crops).