Renditions are being created with wrong dimensions in AEM as a cloud service | Community
Skip to main content
thiszparveen
Level 2
May 21, 2021
Solved

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

  • May 21, 2021
  • 3 replies
  • 2494 views

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! 

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.
Best answer by joerghoh

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

3 replies

Asutosh_Jena_
Community Advisor
Community Advisor
May 22, 2021

Hi @thiszparveen 

 

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

 

Thanks!

thiszparveen
Level 2
May 24, 2021
@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.
arunpatidar
Community Advisor
Community Advisor
May 24, 2021

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-microservices-configure-and-use.html?lang=en#post-processing-workflows

 

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

Arun Patidar
joerghoh
Adobe Employee
joerghohAdobe EmployeeAccepted solution
Adobe Employee
May 25, 2021

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