Which crop module to use for images on Drupal 7?
Most sites I build use the same images with different crops. There is a lot of options - which might be why suggestions has been made for some modules to merge. So I investigated which was the better one.
|Project||Media field||WYSIWYG||Users||Last commit|
|Imagefield Crop (unsupported)||Yes||No||18302||26/01/2012|
|Imagefield Focus Patch||No||2350||22/09/2012|
|Media Image Transform (sandbox)||No||No?||14/07/2011|
|Smartcrop (automatic cropping)||Yes||No||3142||25/2/2011|
|Pointcrop (active sandbox)||Patch?||?||24/10/2012|
Notes on the different cropping approaches
I tried the following modules which to me was the most interesting ones. Media Image Transform is a sandbox and pretty much unmaintained. Imagefield crop is unsupported and looks as if it only works on upload.
Smartcrop does a better job than the core scale and crop, but works automatically on entropi in the image. So off course it is not perfect. All the crop modules should provide optional support for smartcrop or a similar module.
Imagefield focus lets the user choose the important parts of the picture - and when using the core Drupal image widget for a field, it is real easy for the end user to use the functionality. It is a little strange with the textboxes recording the coordinates, but but that won’t get in your way. Lacking is Media support, but there is an issue working on it. Imagefield focus has integration for smartcrop for images without a selection which is pretty clever.
Manual crop nicely integrates with the files entity. However, the interface is a little clunky that you need to choose what image style you want to crop and then the thumbnail changes on that page. It has fairly clever integration with small thumnails on the edit media directly from the content type also. I could not get the manual crop to work directly on a newly uploaded image.
EPSA Crop has a smart overlay where you can easily switch between all enabled file styles. However, the link to get there could be improved as it might be hard to see right out of the box.
Pointcrop sandbox looks promising. It works kind of the same way that imagefield focus does, but the area should be more precise as it is not a square. There is a patch which introduces media support. Swing by and help in the approval process. You can see the difference to the imagefield focus here.
Imagefield focus is IMHO the smartest approach (and maybe pointcrop is even smarter). With the patch mentioned above, this is the module, I will choose for now. Manual crop for me is the runner up. It is well maintained and has media integration and ease of use.
What do you use for easily achieving good results when having several image styles on your website?
You can be the first to add a comment below.
Leave a Comment
Din e-mail bliver ikke offentliggjort. Obligatoriske felter er markeret Required fields are marked *.
Måske kan du også lide
In search for a better admin experience for Drupal 7 users
5 minutters læsning
I am working on a site for Vejle Idrætshøjskole in Drupal 7. The content editors are non tech, so I am trying to improve the admin backend, so the experience...
Setting up a mediacenter with xbmc and mythtv on ubuntu natty (11.04)
5 minutters læsning
Setting up a mediacenter in Ubuntu is not neccessarily a Plug’n’Play experience. You need to dig hard in Google to make everything work. Here are my notes fo...
Understanding the power of Barracuda
4 minutters læsning
There is several ways you can use Barracuda. I am trying to find the most efficient ways, both as a developer and to utilize the server ressources efficiently.
Media Gallery gets a little attention
2 minutters læsning
I started using Media Gallery on Vejle Idrætshøjskole to quickly setup up a media gallery, and seeing that it builds on the media project and it is used in D...