Imagefield Crop

yhager - January 13, 2008 - 21:08
Imagefield Crop

Note: #268765: incompatible with imagefield-5.x-2.1 Since 6.x version of imagefield is yet another rewrite, I will probably implement 6.x support first, and 5.x-2 later, if at all.

Overview

imagefield_crop provides a widget for cropping an image after upload.

Usage

When the user uploads an image, the image is presented inside a cropping area. A cropping box is show inside, and the user can resize and move it. Upon clicking 'preview' or 'submit', the image is cropped and the result is saved within the node.

Prerequisites

The imagefield_crop module uses interface elements library to implement the resize interface. The following modules are required:

  • jquery_interface (which by itself requires jquery_update).
  • imagefield (since imagefield_crop is just an image widget module, not a field module)

Installation

  • Install the module and enable it.
  • Then on the image field configuration page (admin/content/types/<content_type>/fields/<your_image_field>) choose the Image with cropping widget.
  • Save your field, and edit it again. There you can see the widget settings form where you can choose the cropping box size, and other configuration options.
  • Upon uploading an image, or editing an existing node, the image cropping interface will be presented.

Issues that you could help with

Releases

Official releasesDateSizeLinksStatus
5.x-1.12008-Apr-0717.23 KBRecommended for 5.xThis is currently the recommended release for 5.x.
Development snapshotsDateSizeLinksStatus
5.x-1.x-dev2008-May-1917.24 KBDevelopment snapshotDevelopment snapshots are automatically regenerated and their contents can frequently change, so they are not recommended for production use.
 
 

Drupal is a registered trademark of Dries Buytaert.