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

options for re size are set only according to width #6

Open
ghost opened this issue Sep 10, 2015 · 0 comments
Open

options for re size are set only according to width #6

ghost opened this issue Sep 10, 2015 · 0 comments

Comments

@ghost
Copy link

ghost commented Sep 10, 2015

in image-resize-client.js
we are setting the parameters like,
//line no.11 and 12
options.maxWidth = options.width;
options.maxHeight = options.width;

if i want to set height of resize image explicitly.

i think options should be
options.maxWidth = options.width;
options.maxHeight = options.height;

thanks in advance

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

0 participants