Image watermarking - always show after cropping | Community
Skip to main content
New Participant
November 13, 2020
Solved

Image watermarking - always show after cropping

  • November 13, 2020
  • 1 reply
  • 966 views

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.

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 arunpatidar

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.

 

1 reply

arunpatidar
arunpatidarAccepted solution
New Participant
February 17, 2021

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.

 

Arun Patidar