File ID: 98234
Changes made to the attachments are not permanent until you save the results, at which time your custom cropped version will overwrite the default file at that preset's location in the Imagecache filesystem.
In your theming you can use the imagecache theme function with your defined preset. The imagecache action will make a database call to choose the right crop area and (if necessary) scale down the image first.
The main difference with projects like eyedrop or imagefield_crop is that it doesn't provide it's own widget to upload images, instead it just 'hooks' into the image-handling modules you are already using.
image and Acidfree Albums : Link is underneath the thumbnail on the edit page.
Node Images : Underneath the thumbnail. You will need to add an override function to your theme's template.php; see README.txt for details.
Imagefield : On node edit form. Previews not supported (yet).
Everyone is invited to submit patches supporting other modules. Use the issue queue for patches and discussion.
Two screencasts are available
http://realize.be/imagecrop-5x10-out : first release
http://realize.be/imagecache-2-and-imagecrop : early development
You need imagecache 2, imageapi and jquery_interface (D5) OR jquery_ui (D5 / D6).
After you enable the module, you can go to admin/settings/imagecrop and enable support for modules & fields to display a link.
More info is in the README.txt file.
If you have the thickbox module installed, the popup isn't used but the thickbox overlay.
Related: Image, Modules, Module, imagecache, original, Action, vascript, preset, Display, Screen, ENABLE, Popup, Thumbnail, choose, Defined, Settings, Overlay, Function, thickbox
O/S:BSD, Linux, Solaris, Mac OS X
File Size: 20.5 KB
|More Similar Code|
EPSA Crop is a module that allows a user to choose coordinates for different presets on an image. If a user defines coordinates EPSACrop will override the Imagecache process and will set new coordinates.
Every preset with the crop...
Smart Crop is an imagecache action that crops based on entropy, which produces more pleasing results when cropping to a fixed aspect (for example it can help prevent cutting off people's heads when cropping a portrait to a square. This does not...
This module provides a new series of ImageCache formatters. The overall goal is to enable the ability to provide a hover state of an image when a mouse rolls over it. This is similar to functionality you would find on many shopping websites.
Dynamical loading of items from XML stream gives a possibility to...