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

Image watermarking - always show after cropping

Avatar

Level 4

Hi all,

 

We are trying to achieve watermarking functionality in renditions as well as on-the-fly for the v2 core image component. We are using AEM 6.5 + SP6

 

So we want to 

1. Have renditions with watermark (we can modify the OOTB watermark workflow process step for this)

2. Show rendition when the image is shown in an image v2 core component (or even static reference to the image asset)

3. Show rendition even after cropping the image (as you might crop the watermark), when using the image v2 core component.

 

For items 2 and 3, what would be the way to go? Filter? Custom image servlet? And how to ensure the request serving is not "mixed" between OOTB filters/servlets and the custom  ones?

 

Thanks in advance for any inputs.

Topics

Topics help categorize Community content and increase your ability to discover relevant content.

6.5
1 Accepted Solution

Avatar

Correct answer by
Community Advisor

Hi, the core component uses an adaptive image servlet but in DOM you can find the actual assets path(data-asset) as well and with the help of javascript you can change the img src with rendition based on media width.

 

Screenshot 2021-02-17 at 22.09.38.png

View solution in original post

0 Replies

Avatar

Correct answer by
Community Advisor

Hi, the core component uses an adaptive image servlet but in DOM you can find the actual assets path(data-asset) as well and with the help of javascript you can change the img src with rendition based on media width.

 

Screenshot 2021-02-17 at 22.09.38.png