How to create/add custom selecting focal point on image into edit asset | Community
Skip to main content
johant27131908
Level 2
Jul 26, 2018 9:48 PM UTC

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

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.

4 replies

smacdonald2008
Level 10
Jul 27, 2018 2:56 PM UTC

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

Translate
johant27131908
Level 2
Jul 27, 2018 6:12 PM UTC

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.

Translate
Sothea
New Participant
Jul 30, 2018 12:34 PM UTC

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

Translate