Skip to content

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

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

How mediaparams on model works? #412

Closed
imknight opened this issue Oct 10, 2019 · 3 comments
Closed

How mediaparams on model works? #412

imknight opened this issue Oct 10, 2019 · 3 comments
Assignees

Comments

@imknight
Copy link
Contributor

when I attach an image to a model, it seems like it make use of js ( VUE ? ) and calculates the size of different crop of image, the only ratio will work, the rest of parameter like height and width doesn't work?

Screenshot 2019-10-10 at 3 10 11 PM

@Insperio
Copy link

It works the same for me. You could try removing the ratio and then height/width will work fine but obviously you lose the other functionality. Not sure if it's a bug or a feature :)

@titantwentyone
Copy link

If I remove the ratio, the minValues are still not adhered to. I noticed that the values of the crop turn red (bottom left) if the size is below that specified but the crop is not limited to these values.

@titantwentyone
Copy link

fengyuanchen/cropperjs#254 could be a potential fix?

@ifox ifox closed this as completed May 11, 2021
@area17 area17 locked and limited conversation to collaborators May 11, 2021

This issue was moved to a discussion.

You can continue the conversation there. Go to discussion →

Labels
None yet
Projects
None yet
Development

No branches or pull requests

5 participants