Download the PHP package ibelieve/statamic-image-cropper without Composer
On this page you can find all versions of the php package ibelieve/statamic-image-cropper. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download ibelieve/statamic-image-cropper
More information about ibelieve/statamic-image-cropper
Files in ibelieve/statamic-image-cropper
Package statamic-image-cropper
Short Description Image cropping fieldtype for Statamic
License MIT
Informations about the package statamic-image-cropper
Image Cropper
This addon adds an image cropping fieldtype, for those cases where focal point cropping just isn't enough. This project is a fork of tv2regionerne/statamic-image-cropper to add compatibility with Statamic 6, since as of March 2026 the original repo has not received any updates since June 2024 and is only compatible with Statamic 4 and 5.
Features
This fieldtype can be found under the "Media" category, and requires you to set Image Source Field and Dimensions.
If you rather want to do it YAML style, this is it:
How to Install
You can run the following command from your project root:
How to Use
After setting up the fieldtype and have chosen an image, you get the option to select a dimension to crop:
Selecting a dimension will trigger the cropping overlay, and once you're happy with your crop you press Save:
In a template you can then use the crop as so:
This line of code means that you're applying a cropping action to your image. The part :crop="crops:16_9:crop" tells the system two main things:
cropsis a reference (or "handle") to your specific Image Cropper setting. Remember, you should replace crops with whatever name you've given to your Image Cropper field.16_9indicates the aspect ratio for the crop. In this case, it's set to 16:9, which is a common widescreen format. You can change this to any other ratio you need for your image.
Enjoy cropping away!