Expose focal point coordinates in Photo Center api
We would like access to focal point coordinates/data from the photo center api, to support focal point specific cropping (if a focal point applies). Currently our galleries are using the resizer’s “smart” crop criteria as a default.
Hi Rebecca, thank you for your idea request.
This already exists. If a focal point is set for an image, we expose the focal point for an image and for the image in a gallery via the API.
This is what the ANS schema looks like for focal point inside the Photo ANS:
"focal_point" : {
"x" : 100,
"y" : 200
}