Web enabled images with fixed size

Avatar

Avatar
Validate 1
Level 1
alexanderl34874
Level 1

Likes

3 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 1
alexanderl34874
Level 1

Likes

3 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
alexanderl34874
Level 1

09-06-2017

Hello Community,

we have a requirement to create renditions with fixed size. The problem is that aem always sizes the images along the ratio of the image and so a web enabled image which should be 1200x1200 has only a size of 1200x765 (for example) - which is good and totally okay!

But we need something like cropping an area with fixed size out of the center of the image.

is there any mechanism / workflow which can handle this? Or somebody who has similar problems / requirements?

Thank you for your help!

Thanks in advance,

Alex

Accepted Solutions (1)

Accepted Solutions (1)

Avatar

Avatar
Boost 1
Employee
Digant_Tyagi
Employee

Likes

2 likes

Total Posts

19 posts

Correct reply

13 solutions
Top badges earned
Boost 1
Affirm 5
Affirm 3
Affirm 10
Affirm 1
View profile

Avatar
Boost 1
Employee
Digant_Tyagi
Employee

Likes

2 likes

Total Posts

19 posts

Correct reply

13 solutions
Top badges earned
Boost 1
Affirm 5
Affirm 3
Affirm 10
Affirm 1
View profile
Digant_Tyagi
Employee

09-06-2017

You can use the ACS AEM Commons Matte Rendition workflow process to force a rendition to a particular size, filling in the “missing” pixels with a defined background color.

Rendition Matter

AFAIK The parameter mentioned above by ukgaurav is not available for the Web Enabled Image step in dam update workflow OOTB.

Answers (4)

Answers (4)

Avatar

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

487 likes

Total Posts

1,049 posts

Correct reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile

Avatar
Establish
MVP
Veena_Vikram
MVP

Likes

487 likes

Total Posts

1,049 posts

Correct reply

121 solutions
Top badges earned
Establish
Coach
Contributor 2
Seeker
Ignite 5
View profile
Veena_Vikram
MVP

09-06-2017

You can even try Image Magick I guess. I have not used , but have seen people using it in different projects

Thanks

Veena

Avatar

Avatar
Boost 5
Employee
ukgaurav
Employee

Likes

15 likes

Total Posts

86 posts

Correct reply

31 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile

Avatar
Boost 5
Employee
ukgaurav
Employee

Likes

15 likes

Total Posts

86 posts

Correct reply

31 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile
ukgaurav
Employee

09-06-2017

Review RenditionMaker ("The Adobe AEM Quickstart and Web Application.")  and review

createThumbnailTemplate

There is parameter which you need to pass.

Also review adobe - Managing image renditions on CQ5 / AEM DAM upload for responsive pages - Stack Overflow

Thanks

Avatar

Avatar
Validate 1
Level 1
alexanderl34874
Level 1

Likes

3 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile

Avatar
Validate 1
Level 1
alexanderl34874
Level 1

Likes

3 likes

Total Posts

10 posts

Correct reply

0 solutions
Top badges earned
Validate 1
Boost 3
Boost 1
View profile
alexanderl34874
Level 1

09-06-2017

Thanks for your quick answer.

I think that don´t matches our problem. the limitation gives us only the possibility to make "bigger" renditions.

we need renditions that have the exact size of our requirement.

e.g. an image of 1920x467 should create a rendition of  300x300 (as the real size of the image, not 300x25 for example). so forcing the resize workflow step is no option because the picture will be skewed. so we need another option to crop an 300x300 area out of the image.

Avatar

Avatar
Boost 5
Employee
ukgaurav
Employee

Likes

15 likes

Total Posts

86 posts

Correct reply

31 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile

Avatar
Boost 5
Employee
ukgaurav
Employee

Likes

15 likes

Total Posts

86 posts

Correct reply

31 solutions
Top badges earned
Boost 5
Boost 3
Boost 10
Boost 1
Affirm 5
View profile
ukgaurav
Employee

09-06-2017

Hi,

Please review the configuration mentioned here

Remove web rendition 1280 x 1280 limitation

Thanks