Part of the Graphql ecosystem · 39 projects
This module extends GraphQL to provide focal point coordinates for image fields. It makes focal point data available in various formats, including percentages, normalized values, and string representations.
A GraphQL extension module that exposes focal point coordinates for image fields.
Features
- Adds
focalPointfield toFieldItemTypeImagein GraphQL. - Provides coordinates in multiple formats:
- Percentage values (0-100)
- Normalized values (0-1)
- String formats for both
Post-Installation
Enable "Focal Point Extension" on the graphQL server configuration and clear caches.
Usage:
query {
node(id: "123") {
... on NodeArticle {
fieldImage {
focalPoint {
x # 50 (percentage)
y # 75 (percentage)
coordinates # "50,75"
xNormalized # 0.5 (0-1 range)
yNormalized # 0.75 (0-1 range)
coordinatesNormalized # "0.5,0.75"
}
url
alt
}
}
}
}
Ask your assistant about GraphQL Focal Point
Check compatibility with your Drupal and PHP version, maintenance and security coverage, from current release data. How it works
Depends on
Dependencies of the latest stable release
Required by
Tracked projects that depend on this one
No tracked projects depend on this one yet.
More in the Graphql ecosystem
Most installed first
Activity
Releases
| Version | Type | Core | PHP | Release date | |
|---|---|---|---|---|---|
| 1.0.0 | Stable | 10–11 | Oct 1, 2025 |