1.1releasedField: Image Cropper
Adds image cropping functionality to upload fields.
Add as a submodulegit submodule add git://github.com/klaftertief/imagecropper.git extensions/imagecropper --recursive
Image Cropper is a field extension for the Symphony CMS. It adds image cropping functionality to upload fields.
Upload the 'imagecropper' folder in this archive to your Symphony 'extensions' folder.
Enable it by selecting the "Field: Image Cropper", choose Enable from the with-selected menu, then click Apply.
You can now add the "Image Cropper" field to your sections with already existing upload fields. The section has to be saved with an upload field before you can add an imagecropper field.
Make sure you have Modified JIT Image Manipulation extension installed and activated.
The XML output is something like
<thumbnail cropped="yes" x1="123" x2="723" y1="123" y2="523" width="600" height="400" ratio="1.5" />
The jCrop mode of JIT expects a url like
resize_height should either equal
crop_height (no resizing) or one should be 0 and the other smaller than the crop value (proportional resize).
There needs to be an upload field in the section before you can add an imagecropper field. The section has to be saved with an upload field before you can add an imagecropper field.
You can add a filter to your datasource. The syntax is like
cropped: yes and
There is an optional thumbnail preview in entry overview tables.
- Thanks to all extension developers for inspirations.
- Image cropper uses Jcrop » the jQuery Image Cropping Plugin
Requires Symphony 2.3
- Symphony 2.3 compatibility
- The used JIT mode changed from
5because of the latest JIT changes
- Updated jCrop version
- Updated jQuery UI version
- Support for Image Upload Field
Requires Symphony 2.2