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
Bedrock Mission!

Learn more

View all

Sign in to view all badges

SOLVED

Issue with OOB Renditions

Maddy737
Level 4
Level 4

Hi All,

Am facing issue with renditions generated by out of the box workflow. 

I have uploading an images for example: xxxx.png

and below rendions are generated

cq5dam.thumbnail.140.100.png
cq5dam.thumbnail.90.90.png
cq5dam.thumbnail.48.48.png
cq5dam.thumbnail.277.236.png

But when i check the dimesions for cq5dam.thumbnail.90.90.png, it is 90*44 instead of 90*90. For this reason editor has to manually crop.

Can someone help on this.

Thanks
Madhu

1 Accepted Solution
Digant_Tyagi
Correct answer by
Employee
Employee
3 Replies
Digant_Tyagi
Employee
Employee

Hi,

A thumbnail in AEM Asset is defined by the width:height:center triple. Width and height define the thumbnail size in pixel. The center parameter, which is set to false by default, decides the dimensions of renditions. 

If the center flag is set to true, the thumbnail image will have exactly the size given by the configuraiton otherwise it maintains the original image ratio to create renditions. 

You can modify the dam update asset workflow to set the center parameter to true to get exact size renditions.

Maddy737
Level 4
Level 4

hi tyagi,

Thank you for the solution.

Can you please provide any reference link on how to set center flag or throw some light about how to do that?

that would be really helpful.

Thanks

Madhu

Digant_Tyagi
Correct answer by
Employee
Employee