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

Use cover method from Intervention #419

Open
wants to merge 7 commits into
base: 3.x
Choose a base branch
from

Conversation

deluxetom
Copy link

@deluxetom deluxetom commented Jan 2, 2025

Intervention v3 has a cover method that works as intended for the fit=crop parameter.
https://image.intervention.io/v3/modifying/resizing#cropping--resizing-combined

@deluxetom deluxetom changed the title Use cover method from Intervention Use cover method from Intervention Jan 2, 2025
@deluxetom deluxetom changed the title Use cover method from Intervention #420 - Use cover method from Intervention Jan 6, 2025
@deluxetom deluxetom changed the title #420 - Use cover method from Intervention Use cover method from Intervention Jan 6, 2025
@deluxetom
Copy link
Author

@ADmad I've been using this update with a project already, the documentation for glide could also be updated to add fit=cover

@ADmad
Copy link
Collaborator

ADmad commented Jan 6, 2025

the documentation for glide could also be updated to add fit=cover

Sounds good to me, would you like to take care of that?

@deluxetom
Copy link
Author

the documentation for glide could also be updated to add fit=cover

Sounds good to me, would you like to take care of that?

I think I can get started on the 3.0 docs, it looks like its not done yet

@ADmad
Copy link
Collaborator

ADmad commented Jan 6, 2025

Docs for 3.0 already exist and should be up to date unless I missed something https://github.com/thephpleague/glide/tree/3.x/docs/3.0

@deluxetom
Copy link
Author

Docs for 3.0 already exist and should be up to date unless I missed something https://github.com/thephpleague/glide/tree/3.x/docs/3.0

my bad, I was looking at the master branch :) I'll update the docs for the fit parameter

@deluxetom
Copy link
Author

@ADmad this is ready for review

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants