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

Cropping issue when width or height missing #15

Open
lohic opened this issue Sep 5, 2014 · 2 comments
Open

Cropping issue when width or height missing #15

lohic opened this issue Sep 5, 2014 · 2 comments

Comments

@lohic
Copy link

lohic commented Sep 5, 2014

An error happen on template with hard crop image with one of the 2 dimensions missing, for example :

add_image_size( 'custom-size', 200, '', true );

Is there any solution ?
Maybe automatically keeping the image ratio ?

@marsjaninzmarsa
Copy link

Or maybie you can don't force user to use strict ratio in that case, just letting him crop free?

@lohic
Copy link
Author

lohic commented Sep 8, 2014

Yes that would be the best solution.

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

No branches or pull requests

2 participants