Comments (6)
The plugin doesn't currently support that.
You could easily workaround that restriction by resizing the image 2x in before feeding it into cropbox. Search for HTML5 canvas element to see what I'm talking about, or go here https://developer.mozilla.org/en-US/docs/HTML/Canvas for the reference (I don't think you will find a css work around btw).
I'll look into adding support for this later this week.
from jquery-cropbox.
Great! Checked the workaround and it seems like a very easy one as you said.
I'm in no hurry though as I have more things to implement as well. Following your project and keeping my fingers crossed that it isn't too much work to get the functionality directly in cropbox.
Thanks again for all the nice work with the plugin!
from jquery-cropbox.
Hi, First of all you really made a nice plugin. All functionality (crop, pan, zoom) is available in one plugin.
Right now I found that the image zoom option is not very scale able like Sedins mention in his comment. For me using canvas is not an option because a lot of other things happening with the image. Would be great if you extend the zooming option or could provide some tip to make it work.
from jquery-cropbox.
Hi,
Just to say that I plan to add a maxZoom option for you guys.
Its default value will be 1, which will result in the current behavior
(which means you can't zoom past the point where you would be loosing
image quality)
However, you can also set to larger values (say 1.5, 2, 3 or 10) which allows
the user to zoom the image and start loosing quality.
Unfortunately my real job prevents from doing it now, but I hope this
weekend I'll get some spare time to work on it. Pull-requests to add
this option will be gladly accepted.
from jquery-cropbox.
I'm excited to hear you plan working on this feature. I'm not that familiar with the cropbox code myself and is also involved in another larger project besides my real job to be of any major help. Can help with testing or something other minor tasks if needed though.
Haven't been using github that much. What is a pull-request and how can that help you? I guess it involves in contributing a bit with coding?
from jquery-cropbox.
maxZoom feature has been added, try it out. image quality will inevitably decrease when using values greater than 1.
Closing this issue.
from jquery-cropbox.
Related Issues (20)
- iPhone dragging issue HOT 5
- Zoom Issue HOT 3
- Enhancement : image format when calling getDataURL() HOT 1
- Wrong Logic in Drag Event
- Crop the full-size image, not the cropbox bounding box HOT 2
- Enhancement : Adding slider for zooming in and out the image.
- Failed to execute 'toDataURL'
- Padding on container
- Zoom not working correctly when maxZoom > 1 and image smaller than cropbox HOT 2
- if you use any js script which are using "mouseup" event isn't working HOT 1
- Currently dragging is not working in latest chrome version HOT 4
- I have added rotation as a feature anyone interested? HOT 2
- Giving alert when width and height less than configuration in css
- Cannot read property 'getBlob' of undefined"
- Drag Not Working on Mobile
- bug report [solved]
- Can i set aspect ratio of cropping area?
- NO DRAG
- Retina support
- Uncaught TypeError: hammerit.get is not a function jquery cropbox
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from jquery-cropbox.