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

Image squished #686

Closed
simonj opened this issue Jun 23, 2020 · 2 comments
Closed

Image squished #686

simonj opened this issue Jun 23, 2020 · 2 comments

Comments

@simonj
Copy link

simonj commented Jun 23, 2020

Hey Fengy,

It seems like when I upload an image it squished the height of the image. Do you know if it's a known issue?

This is the settings I set on the image

        var $image = $('#coverImagePreview');
        $image.cropper({
            zoomable: false,
            minCropBoxWidth: 1200,
            minCropBoxHeight: 630,
            minContainerHeight: 630,
            minContainerWidth: 1200,
            minCanvasHeight: 630,
            minCanvasWidth: 1200,
            cropBoxResizable: false,
            cropBoxMovable: true,
            dragMode: 'move',
            viewMode: 3,
        });

See video

https://recordit.co/yjZPyaX29z

And thanks for a nice image cropper 🙏

@fengyuanchen
Copy link
Owner

See #685.

@simonj
Copy link
Author

simonj commented Jun 25, 2020

Thanks 🙏

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

No branches or pull requests

2 participants