Download the PHP package paktdigital/focus-point-bundle without Composer
On this page you can find all versions of the php package paktdigital/focus-point-bundle. It is possible to download/install these versions without Composer. Possible dependencies are resolved automatically.
Download paktdigital/focus-point-bundle
More information about paktdigital/focus-point-bundle
Files in paktdigital/focus-point-bundle
Package focus-point-bundle
Short Description Symfony bundle for third774's image focus, for image cropping based on a focus point.
License
Informations about the package focus-point-bundle
FocusPointBundle
This Symfony bundle provides an liip/imagine-bundle filter extension, a form type (using VichImageType) and an optional Twig extension for third774's image focus.
Requires:
- liip/imagine-bundle
- vich/uploader-bundle
Usage
Image entity
Implement ImageInterface
in the entity you use for your images
and add
Configure image_entity
in the yaml file with your image entity
The filter
You can apply the filter to an image by adding paktdigital.focuspoint
to the image's filters in the liip_image.yml
configuration
Field type
Add ImageFocusType
to your form and add the css class js-focus-picker
, e.g. in EasyAdmin
and add the assets
In Twig
Twig filter extension
All versions of focus-point-bundle with dependencies
liip/imagine-bundle Version ^2.0
symfony/asset Version ^5.0
symfony/config Version ^5.0
symfony/dependency-injection Version ^5.0
symfony/form Version ^5.0
symfony/options-resolver Version ^5.0
vich/uploader-bundle Version ^1.16