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

Width and height can equals zero #2

Merged
merged 1 commit into from
Oct 30, 2021
Merged

Conversation

SonicGD
Copy link
Contributor

@SonicGD SonicGD commented Jul 29, 2021

Hello. Imgproxy can accept 0 as width or height, it will calculate the resulting width/height using the defined height/width and source aspect ratio.

https://docs.imgproxy.net/generating_the_url_advanced?id=width
https://docs.imgproxy.net/generating_the_url_advanced?id=height

@okolobaxa okolobaxa merged commit 17b88db into okolobaxa:main Oct 30, 2021
@okolobaxa
Copy link
Owner

Thanks! Available in v2.2

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.

None yet

2 participants