How to create/add custom selecting focal point on image into edit asset | Community
Skip to main content
johant27131908
Level 2
July 26, 2018

How to create/add custom selecting focal point on image into edit asset

  • July 26, 2018
  • 1 reply
  • 6518 views

I would like to add a  focal point into /mnt/overlay/dam/gui/content/assets/assetedit.html where the author can be able to focus specific image points and then I can return like .../myimage.png?focus-at=50,40

any Idea or advice would be appreciated

Thank you.

This post is no longer active and is closed to new replies. Need help? Start a new post to ask your question.

1 reply

smacdonald2008
Level 10
July 27, 2018

Can you show an example of exactly what you want to do  - maybe an online demo.

johant27131908
Level 2
July 27, 2018

HI smacdonald2008, thank you.  I want to add some tool in aem touch (DAM) to select the image focus and save it. then I can select one of them to use in my page or another component.

Sothea
July 30, 2018

Hi JohanT,

In AEM 6.4, focal point is part of OOTB feature. Unfortunately, in AEM 6.3, it requires custom solution to achieve such requirements. There's a number of front-end tool that you might want to look into:

Focal Point: Pure HTML/CSS Adaptive Images Framework

NodeJS, The Focal Point, library that you might also want to take a look. See the demo here: GitHub & BitBucket HTML Preview