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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

Enhancement - Better control off image scale and position #22

Open
nimrod-zg opened this issue May 31, 2019 · 3 comments
Open

Enhancement - Better control off image scale and position #22

nimrod-zg opened this issue May 31, 2019 · 3 comments

Comments

@nimrod-zg
Copy link

Hi! Thanks for taking the time to make this 馃槃

We're facing an issue with the way the library handles positioning the image - it's set to absolute position 0,0, and it gets stretched under other elements and even outside the screen.

Is it possible to get more control over the way the cropper positions the image? To have it scaled down to fit a parent element?

Here's a picture (of my floor, pardon the lack of creativity 馃槵) to give an example of the issue as we're facing it right now -

screenshot-1559320218910

As is visible, the image is stretched under the bottom bar and outside the boundary of the screen. The initial coordinates for the corners are set to near the corners of the image, and as is apparent, the bottom ones aren't visible.

Is this a possible enhancement?

@zahidahmed024
Copy link

zahidahmed024 commented Jun 16, 2019

@nimrod-zg can you give me your code ?? :'( .i've been trying for two days -- ,and failed ? i only get one point instead of getting four point -- .

@nimrod-zg
Copy link
Author

Sorry @zahidahmed024, proprietary code 馃し鈥嶁檪
Maybe reduce your code to the bare minimum and publish a stack overflow question?

@zahidahmed024
Copy link

hey did you find the solution of your problem ?? im also having this issue @nimrod-zg

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