Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add image cropping module/functionality to Drupal #49

Open
cwbragg opened this issue Feb 1, 2024 · 6 comments
Open

Add image cropping module/functionality to Drupal #49

cwbragg opened this issue Feb 1, 2024 · 6 comments
Labels

Comments

@cwbragg
Copy link
Contributor

cwbragg commented Feb 1, 2024

Is your feature request related to new functionality not yet included in the product? Please describe.
New. Adding the ability to crop photos from within Drupal.

Is your feature request related to a problem or a change to existing functionality? Please describe.
Problem. Czars and SMEs can have a hard time getting images with specific subjects (people in particular) to fit into styled components such as info cards and heroes.

Describe the solution you'd like
A cropping tool that not only allows for cropping within Drupal, but possibly offering cropping preset ratios related to the components we currently use.

Describe alternatives you've considered
Cropping outside of Drupal. Users don't often have an obvious, robust cropping tool at their disposal.

How will this impact users?
Much less fussing with resizing images for heroes, person images, content cards, etc.

Additional context
Possible module: https://www.drupal.org/project/manualcrop

@CB987
Copy link

CB987 commented Feb 1, 2024

The ManualCrop module was last updated in 2017 and is compatible up to d7, so it would be good to find one a little bit more active.

@CB987
Copy link

CB987 commented Feb 29, 2024

are there specific aspect ratios they are looking for? drupal has some built-in image styles and cropping options so we may be able to work with what we've already got if we know what is needed.
We'd recommend changing existing styles to what people need rather than adding more styles, for consistency's sake.

@maxdmayhew
Copy link

https://www.drupal.org/project/focal_point possible module we could consider

@maxdmayhew
Copy link

maxdmayhew commented Jan 8, 2025

Screenshot 2025-01-08 at 2.25.43 PM.png

Screenshot 2025-01-08 at 2.25.50 PM.png

Screenshot 2025-01-08 at 2.26.10 PM.png

so good news is we already habe focal point installed but the bad news is it isn't being used. Each component would need to be updated in order for this work. The annoying part is I think you might need to delete and reupload the image or a new image for it to take effect since the image wont have a focal point by default.

I do think I need to try and tweak this a bit further though, it could use some additional work.

@cwbragg How does this sound? Are there any components you want this for more than others?

@cwbragg
Copy link
Contributor Author

cwbragg commented Feb 6, 2025

@maxdmayhew I think this would be useful! Let me think through this a bit and then talk with the czars next week. They have been a little frustrated with the random suggested image sizes in Site Studio - content cards for example have weird ratios.

@cwbragg
Copy link
Contributor Author

cwbragg commented Feb 6, 2025

Blocking for czar conversation

@cwbragg cwbragg moved this from New to Blocked in Enhancement Requests - Web Feb 10, 2025
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Development

No branches or pull requests

4 participants