Jump to:
| Project: | Image javascript crop |
| Version: | 7.x-1.x-dev |
| Component: | User interface |
| Category: | feature request |
| Priority: | normal |
| Assigned: | Unassigned |
| Status: | closed (fixed) |
Issue Summary
I'm trying out your module for the first time, and from the feature list it seems like exactly what I want. But I'm finding the actual cropping mechanism (even once #1097226: Crop selection problem gets fixed) is more restrictive than what I require. Instead of giving us a choice of 5 scaling options to resize the original image, none of which may be precisely the size we want, what if instead we were allowed to grab handles on the crop box and drag to resize while maintaining the aspect ratio? This is the way the Imagefield Crop module works (you can see a demonstration video here) and I have found that to be a very usable interface, offering more precise control and fewer clicks than the Image Javascript Crop interface.
There are many superior aspects of your module, most importantly that it uses the standard Image field widget, rather than defining a new one, so it integrates better with other image manipulation modules. So it would be great to see the same kind of flexibility in the cropping system itself, over the more rigid (and less intuitive) system you have now.
Thoughts? I have no idea how much more difficult that would be to code, but wanted to suggest it from a usability & functionality standpoint.
Comments
#1
Good idea, i was also thinking about such a scaling system.
Another system i was thinking of:
In sidebar, you have your controlbar, with input fields. (crop width, crop height, scale width, scale height).
When the user changes the values, the image / crop area automatically changes to the new values.
In #913968: Drupal 7 plans? you can find some other ideas.
#2
Maybe the croping dimensions don't need to be based on scaling options and ImageCache (image styles). There are some javascript plugins on the web that can do image cropping with drag and drop.
For example http://deepliquid.com/projects/Jcrop/demos.php?demo=advanced
After editing image, resulted image should be saved as original image (without defined style) and so it will be displayed.
This can be alternative to using scaling options.
#3
I just started using the module, but as far as I can see this is already part of imagecrop (7.x-1.x-dev). As far as I understand you need to tick "Resizable toolbox" on the imagecrop effect in order to enable the resizable box. Not sure why it isn't the default...
#4
I tried the re-sizable toolbox.
It essentially disregards the set crop dimensions, though the aspect ratio of the initial crop may be respected (if you set AR to CROP value) and the module recommends that you add a scaling action afterwards to get the dimensions you want. So theoretically you could select the portion of the image that you want and have the aspect ratio that you intend to have, through a two stage process (javascript crop first, scale second).
Problem is, the aspect ratio doesn't seem to be respected all that much. I set an initial crop of 940x360 and after fiddling with the selection box a bit and trying to revert it to it's initial dimensions, when I entered 940 as the width in the input field, the height went to 365, not 360. This seems to be a bug...
#5
Right. This is something I actually didn't understand right away; maybe an option to automatically do the "scaling" as well would be good.
Hm, sounds like it could be a rounding error. Maybe open a new issue for that?
#6
1. I too would like to see the idea initially stated in the case implemented. They key to this module is Media integration, but I also face the challenges of not being able to get the full width of the image.
2. I too have experiences this issue:
I have logged the case here with a screencast: http://drupal.org/node/1420494
#7
To my knowledge this feature is available in the latest dev. Give it a try!