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

Ability to use different width calculator per conversion using Responsive Images #3520

Merged
merged 11 commits into from
Jan 29, 2024

Conversation

jhorie
Copy link
Contributor

@jhorie jhorie commented Jan 27, 2024

If you would like to use different width calculators for different conversions for responsive images. You use the method withWidthCalculator(WidthCalculator $widthCalculator) to provide a width calculator for this specific conversion. If none is given, the default width calculator from the config file is used.

@freekmurze freekmurze merged commit 04766fe into spatie:main Jan 29, 2024
5 checks passed
@freekmurze
Copy link
Member

Thanks!

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