Which crop module to use for images on Drupal 7?

2 minutters læsning

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
Manual crop Yes No 1924 2/12/2012
Image javascript crop Yes No 5010 20/10/2012
EPSA Crop Yes No 2115 23/12/2011
Media crop No Yes 401 23/08/2012
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.

Image javascript crop has a little to many clicks to be able to resize your image - and the button is placed strange when editing. However, it is fairly easy to use.

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 *.

Your email address will not be published.

This site is protected by reCAPTCHA and the Google Privacy Policy and Terms of Service apply.