ncla/statamic-focal-point-fieldtype
Larablocks Analysis
ncla/statamic-focal-point-fieldtype works with Laravel 12 and 13 (latest release v5.1.0, Mar 28, 2026).
Recommendation checks
PromisingPromising: maintained and up to date, meets 2 of 4 checks; not yet widely used.
- Works with Laravel 13, the current version
- Released in the last 12 months (Mar 28, 2026)
- 329 downloads a month (needs 10,000)
- 2 GitHub stars (needs 100)
State
Maintained- Last stable release: Mar 28, 2026.
- 2 releases in the last 12 months.
- First released: Feb 1, 2023.
- Monthly downloads: 329.
- 0 open issues on GitHub.
Data from Packagist and GitHub, checked by Larablocks on Nov 27, 2026.
| Install | |
|---|---|
composer require ncla/statamic-focal-point-fieldtype |
|
| Latest Version: | v5.1.0 |
| Laravel: | 12 · 13 |
| License: | MIT |
| Last Updated: | Mar 28, 2026 |
| Links: | GitHub · Packagist |
Focal Point Fieldtype
The Statamic control panel has very useful focal point selection tool, unfortunately you can only set one focal point only for one asset. Fortunately this addon provides a fieldtype that allows you to set focal point in a separate field for an asset that has been linked in an assets field.
This addon can be useful in situations such as:
- You want to change focal point between responsive breakpoints
- Your site has the same asset appearing in multiple places and you do not want them all to share the same focal point
- You want to add "pins" to an image e.g. a map with interest points
Installation
Require it using Composer.
composer require ncla/statamic-focal-point-fieldtype
Fieldtype
As any fieldtype, you can add it through control panel interface. You will find the fieldtype in the "Media" category. In field options, you will just have to define "Assets Field Handle" and that is it.
Alternatively if you are feeling hacker vibes, you can of course add this fieldtype to your fields by editing blueprint file directly:
-
handle: focal_point_field
field:
display: 'Focal Point'
type: focal_point
assets_field_handle: assets_field
-
handle: assets_field
field:
# ..
Templating
Once focal point is set, you can pass it in your templates to Glide tag like this:
{{
glide
:src="assets_field"
fit="crop-{ focal_point_field }"
}}
If you are using Responsive Images addon then here is an example of having two different focal points for two breakpoints:
{{
responsive:assets_field
glide:fit="crop-{ focal_point_mobile }"
lg:glide:fit="crop-{ focal_point_desktop }"
}}
Related Packages
Version History
| Version | Released | License |
|---|---|---|
| v5.1.0 | MIT | |
| v5.0.0 | MIT | |
| v4.0.0 | MIT | |
| v3.0.0 | MIT | |
| v2.1.0 | MIT | |
| v2.0.0 | MIT | |
| v1.0.1 | MIT | |
| v1.0.0 | MIT |