Croptool

Categories

Component ID

2211213

Component name

Croptool

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Component created

Component changed

Component body

INTRODUCTION
------------

This module provides facility to crop single image in multiple dimensions. User can crop various part of singe image based on dimensions configured from back-end. Path for each cropped image is stored in one hidden field, we can fetch each cropped image for node/term using the hidden fields. In this way we can display different portions of image at each place holder in fronted.

CONFIGURATION
---------------

In admin one configuration page is provided to configure default location for storing cropped images on server.

CROP TAB CREATION FOR NODES/TAXONOMY
-------------------------------

This module provides support for content types and taxonomy. User can create crop tabs for each content type/taxonomy. Crop tab will be created for image fields of content type/taxonomy. After enabling this module, following links will be available at Admin->Configuration
1. Crop Tool Content Tabs
2. Crop Tool Taxonomy Tabs

On this page user can create crop tab by following steps
1. Select content type/taxonomy
2. All image fields for selected type will be displayed. Click on "Manage crop details" link.
3. Fill up the form displayed to configure crop dimensions and crop tab name.

This module will create hidden fields to store cropped image path and coordinates for each crop tab created using above steps.

CROP IMAGE FOR NODE/TERM
---------------------

User can crop image for particular field from node/term edit form. In that form crop tool tab will be comnig up along with link to cropping page based on fields for which crop tabs are created. On the cropping page all tabs created for that particular field will be displayed and user can crop image from this page.

AUTO CROPPING OF IMAGES
-----------------------

User can also auto crop images in bulk from following pages for nodes/terms
1. Crop Tool Content Tabs
2. Crop Tool Taxonomy Tabs

On these pages "Auto Crop Images" link will be available after selecting content type/taxonomy. From this section user can select filed for which he/she can auto crop uploaded images for nodes/terms.

REQUIREMENTS
------------

* Field Hidden
* Libraries
* jQuery imgareaselect plugin