EPSA Crop is a module that allows a user to choose coordinates for different
styles on an image. If a user defines coordinates EPSACrop will create a image
with the points.
If the user doesn't change the coordinates, the normal crop process is applied.
Requirements
EPSACrop requires that the following modules are enabled:
- Image
- Libraries
EPSACrop requires that the following external libraries are installed:
Installation
-
Download the EPSAcrop module and place it into your modules directory.
-
Download and unpack the JCrop library. Rename the resulting directory to
'Jcrop' and place into the libraries directory (ex.: sites/all/libraries/Jcrop). -
Download the and unpack the json2 library. Rename the resulting directory to
'json2' and place it into the libraries directory (ex.: sites/all/libraries/json2). -
Go to admin/build/modules and enable EPSA Crop.
Configuration
-
Enable the module and set the permissions at People -> Permissions.
-
Go to Configuration -> Media -> Image styles and change/add an image style.
Add the effect 'EPSA Image crop' to any style. -
Adjust the field settings for any Image field. For a content type, the field
settings are located at Structure -> Content Type -> {type} -> Manage fields.
Click 'edit' and select Available EPSACrop styles under "EPSACrop settings".
(All image styles containing the 'EPSA Image crop' effect should appear.) -
Adjust the field display settings for this image field. For a content type,
the field display settings are located at
Structure -> Content Type -> {type} -> Manage display. Select the image style
chosen in step 3 again to see your cropped image display.
Issues
Bugs and feature requests should be reported in the Issue Queue.
Current Maintainers
Credits
- Ported to Backdrop CMS by Juan Olalla.
- Drupal 7 maintainer cb.