Skip to content
This repository has been archived by the owner on Aug 12, 2023. It is now read-only.

Resizing with height=0 #53

Open
aless133 opened this issue Nov 12, 2021 · 2 comments
Open

Resizing with height=0 #53

aless133 opened this issue Nov 12, 2021 · 2 comments

Comments

@aless133
Copy link

Is it any posibility to use it like
fly_add_image_size('my_image',600,0,false);
for proportional resizing?

@horecny
Copy link

horecny commented Nov 12, 2021

Is it any posibility to use it like fly_add_image_size('my_image',600,0,false); for proportional resizing?

add 9999 as height

@aless133
Copy link
Author

aless133 commented Nov 12, 2021

Actually tried to comment || ! $height in add_image_size(), and it works, but maybe your solution is more correct.

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

No branches or pull requests

2 participants