In the particular use story where I need the Manual Crop module, the users need to select how the fixed-ratio crops of their article images are being cropped. Therefore, they don't necessarily need crop anything away, but just want to adjust the area which is used for the fixed-ratio crops.

I found it a little bothersome to drag a selection right from the edge of the image or moving it in place.

Therefore, I made this patch, which adds a "Maximize selection" button, that selects the entire image but also respects the aspect ratio if set in the image style settings.

Comments

esbenvb’s picture

Here's the patch.

It also shows the aspect ratio of the current selection, in the info box.

matthijs’s picture

Assigned: Unassigned » matthijs

Hi,

Thanks a lot for your patch, I'll review and commit it later this week. It looks great!

Matthijs

matthijs’s picture

Status: Patch (to be ported) » Fixed

Hi,

I applied and committed your patch (with some extra documentation), but I left out the section ratio information because it looks pretty useless, not?

Thanks again!

Matthijs

matthijs’s picture

Status: Fixed » Closed (fixed)