-
Notifications
You must be signed in to change notification settings - Fork 81
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
No zooming or dragging #37
Comments
I can confirm the website doesn't work on my computer either. I would guess that the cropbox is either being created twice, but its hard to say. Too much code in that website for me to try to debug it. I would suggest creating a minimal non-working example in jsfiddle of a back/forward and I could take a look and fix it (if there is a bug of cropbox). |
I have managed to find the issue, when the height or width of the image is equal to or less then the cropbox height or width, respectively, then it cannot be zoomed. Can you help with how to fix that? |
Will take a look at this over the weekend. Of the top of my head, having the cropbox with LARGER dimensions than the actual image requires zooming the image beyond the pixel accuracy (i.e. the resulting croppped image will have lower quality). Earlier versions of cropbox did not support this, but due to popular demand support for this feature was added and can be enabled by the maxZoom option (for instance, try 10.0 maxZoom). That being said, I don't recommend this since there will be an unavoidable loss of quality, its better to warn the user and recommend he uses a larger image. |
I am trying to zoom or drag the image using this plugin which is working very well.
![5 issues](https://cloud.githubusercontent.com/assets/6469239/2816312/c7750024-cec7-11e3-8df1-ea20b65c8cd4.png)
But when when the user go next and then come to the previous step it doesn't work.
If you go this url http://pprdev.onjumpstarter.io/resapp/#/selectImage and upload the image I am attaching and then press next and then back you will see what I am trying to say.
The text was updated successfully, but these errors were encountered: