Jcrop Form Element

Integration of a popular jquery library Jcrop with the Drupal FAPI. The most useful for developers

This module provides an integration of popular jquery library Jcrop with the Drupal FAPI. Basically, it provides a new form element which can be used in your custom forms. This is an API module mostly intended for developers.

Usage

Can be used in any custom forms or for altering existing forms. New form element 'jcrop_image'  is similar to 'managed_file' and can be used instead of them, but for images of course. For example you can create a form with a webform module and add File component. On hook_form_alter you can simply change the type of the file field to 'jcrop_image'. Also 'jcrop_image' form element has #jcrop_settings array that allows to control the Jcrop API object on the client side.

Installation

  1. Download and install the Libraries API 2 module and the Jcrop Form Element module as a normal module.
  2. Then download the Jcrop plugin into libraries directory sites/all/libraries/jcrop.

Dependences

Libraries API 2, File, Image.

Profile picture for user usov

Denis Usov

Team Lead

Next modules

Auto image style

Keeping the dimensions and spacings specified in the template (a portrait or an album orientation

Sticky columns

Enabling sticky columns for Views table (by admin area) and for any table if we use an API

Facebook Reminder

Form - looking like a usual Facebook form - reminds users to sigh in with the Facebook

Drop us a line

Your email isn’t going to end up in the inbox abyss, never replied.
At ADCI Solutions, we care about each inquiry