Comments (6)
I've made a few commit to add a new option, and to document it.
Now there is a stretch option, default value is 1, but you can put what float you want greater than 1 (2 allow to zoom up to 2x ...).
In the code, it wasn't minPercent the pb, but the "1" right next to it ;)
And about the click controls only zoom 1px per click... since the commit i couldn't reproduce the bug!
Hope this help. I'm waiting your response to close the issue.
from jquery-crop.
Hi Adrien,
wow, thanks for the quick turnaround.
I think this is a step in the right direction, but the behavior is still not always as expected.
when loading an image larger than the window, it zooms as before
when loading an image the same size as the window, it doesn't zoom at all
when loading an image that is smaller than the window, the minus button zooms in, and the plus button zooms out
I made a fiddle to show you what I mean.
http://jsfiddle.net/szZGe/
btw, there is a typo *stretch
Daniel
from jquery-crop.
Hi,
Oops, That's what happend when I code after 2 am when my son wakes me up!
The latest commit should fix this, thanks for the fiddle and typo ;)
Adrien
2013/10/13 niestudio [email protected]
Hi Adrien,
wow, thanks for the quick turnaround.
I think this is a step in the right direction, but the behavior is still
not always as expected.
when loading an image larger than the window, it zooms as before
when loading an image the same size as the window, it doesn't zoom at all
when loading an image that is smaller than the window, the minus button
zooms in, and the plus button zooms outI made a fiddle to show you what I mean.
http://jsfiddle.net/szZGe/btw, there is a typo *stretch
Daniel
—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-26209533
.
from jquery-crop.
you can test it, i've updated the js fiddle: http://jsfiddle.net/szZGe/3/
from jquery-crop.
brilliant!
You may want to update the version number too.
Merci
from jquery-crop.
merci,
et dire qu'on aurai pu parler en français depuis le début ;)
Adrien
2013/10/13 niestudio [email protected]
brilliant!
You may want to update the version number too.
Merci—
Reply to this email directly or view it on GitHubhttps://github.com//issues/4#issuecomment-26219232
.
from jquery-crop.
Related Issues (7)
- cropping with bootstrap HOT 2
- IE8 and IE9 initializing crop via ajax HOT 11
- multiple image sizes HOT 12
- touch support? HOT 1
- How can destroy() ? HOT 1
- jQuery-crop scroll issue in firefox! HOT 3
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-crop.