Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
Is it possible to define a fixed crop size for images?
Basically for each image upload I want to be able to define that the crop area should be X by Y pixels and then the user can only move the crop area to select what is going to be viewed and save it.
Comments
Comment #1
yhager CreditAttribution: yhager commentedThere is no way currently to do it, but it's a good idea nevertheless.
Can you come up with a way to add these settings into the administration screen without making it too confusing? It is quite complex at the moment, and although I like this idea, I prefer not to clutter the admin screen too much. Maybe it can be combined with the existing settings somehow?
Comment #2
tsvenson CreditAttribution: tsvenson commentedI will have a look at it and come back with a suggestion shortly.
Comment #3
tsvenson CreditAttribution: tsvenson commentedOki, had a look now and my suggestion is that you simply change the Enforce box crop... checkbox into three radio buttons:
None - same as unticking the existing
Enforce box crop box ratio - Same as ticking existing
Fixed size crop box - The new option
That way it will blend in well with the settings, especially since only one of those options can be selected.
Comment #4
vojvotkinja CreditAttribution: vojvotkinja commentedPlease I need this feature, when is it be in the downloads, I'm desperate! Searching for two days now. If not soon, do you at least know of some module that has that feature?
Thanks..