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
BedrockMission!

Learn more

View all

Sign in to view all badges

SOLVED

Image watermarking - always show after cropping

kimonp31365843
Level 4
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.

AEM 6.5 Asset filter images servlet watermark
1 Accepted Solution
Arun_Patidar
Correct answer by
Community Advisor
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

1 Reply
Arun_Patidar
Correct answer by
Community Advisor
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