Feature #81391

Focus area improvement

Added by Christian Toffolo over 2 years ago. Updated 8 months ago.

Status:
New
Priority:
Must have
Assignee:
-
Category:
Image Cropping
Target version:
-
Start date:
2017-05-31
Due date:
% Done:

0%

PHP Version:
7.1
Tags:
Complexity:
Sprint Focus:

Description

Focus area should be instead a focus point like this: http://jonom.github.io/jquery-focuspoint/demos/helper/index.html
A point is simpler to handle than an area for both editors and developers.
(but maybe I'm failing to imagine an use case where an area is useful)

Also, Fluid viewhelpers f:media and f:image return an attribute 'data-focus-area' that is not useful because the coordinates are based on the original image size and the resulting image has been, most of the time, resized.

It's better to use coordinates of a singular focus point X/Y that represent a percentage of shift from the top/left corner or, in alternative, from the center o the image (or the crop area).

History

#1 Updated by Riccardo De Contardi about 2 years ago

  • Category set to Image Cropping

#2 Updated by Martin Kutschker 10 months ago

Areas are useful if you make sure that the whole face of a person is visible, etc. So IMHO having only a singular point is not an enhancement.

#3 Updated by Susanne Moog 8 months ago

  • Tracker changed from Task to Feature

Also available in: Atom PDF