Comments (8)
I want to use it inside a firefox add-on so the jsCropperUI files are included
into
an XUL file and not an HTML one.
Original comment by [email protected]
on 23 Sep 2008 at 1:16
from javascript-image-cropper-ui.
AND ... it work on your demo page :(
Original comment by [email protected]
on 23 Sep 2008 at 1:19
from javascript-image-cropper-ui.
I see that there is a /mint/mint.js.php file included to your demo page. Do I
need it ?
Original comment by [email protected]
on 23 Sep 2008 at 1:27
from javascript-image-cropper-ui.
I guess your issue is due to Draggable (from the script.aculo.us framework) not
being
included, and no you don't need the mint.js.php file.
As for using it within a firefox add-on don't forget all the dependencies
(prototype
and script.aculo.us)
Original comment by [email protected]
on 23 Sep 2008 at 1:46
from javascript-image-cropper-ui.
The exception I get when calling
new Cropper.Img("toBeCropped", { onEndCrop: onEndCrop });
is
[TypeError] Cropper is undefined
Original comment by [email protected]
on 23 Sep 2008 at 2:10
from javascript-image-cropper-ui.
That could be anything, the Cropper could be undefined due to an error in
initializing the cropper or the fact that it's not included. You need to look
further
up the chain for errors as there has to be a reason why the Cropper isn't
defined.
Oh hang you, if you're using it in a Firefox extension it might be due to the
fact it
tries to dynamically include the CSS based on the URL of the cropper.js file --
that
wouldn't work in an extension, would it?
Original comment by [email protected]
on 23 Sep 2008 at 2:19
from javascript-image-cropper-ui.
Thank you for your answer. I think that the problem does not come from CSS
dynamic
include but from a synchronisation problem. In fact I have to include
jsCropperUI
files dynamically inside the page loaded using
document.createElement('<script>') and
document.getElementById('head').appendChild. jsCropperUI doesn't seem to be
happy
with that :)
Original comment by [email protected]
on 24 Sep 2008 at 9:36
from javascript-image-cropper-ui.
The ability to skip auto-include of JS is added in 1.2.1 which will be released
shortly
Original comment by [email protected]
on 6 Oct 2009 at 2:10
- Changed state: Fixed
from javascript-image-cropper-ui.
Related Issues (20)
- Not working with Scriptacoulous 1.8.2 HOT 2
- Cropper destructor HOT 2
- Not working with Firefox 3.5 on OSX HOT 5
- Polygon gates HOT 5
- IE7: crop values do not update for newly loaded images HOT 3
- Allow ratios that *limit*, but don't *lock* an aspect ratio HOT 2
- IE7 performance
- Homepage script src example needs extra parameter HOT 1
- ratioX and ratioY are not calculated in setParams
- Bug with applyRatioToAxis and bounds HOT 1
- Cropper doesnt work with IE. HOT 1
- Need method to close the cropper in an Ajax app HOT 2
- Compatibility issue with Google Chrome HOT 1
- Cropper will not work in IE9 HOT 1
- Event.observe(this.img, 'load', this.onLoad.bindAsEventListener(this)); fails in IE9
- cropper failing to retrieve image width / height in IE8 / IE9
- Large Images HOT 1
- Cropper won't calculate correct dimensions when the image is resized (css max-width property) HOT 1
- SCRIPT5007: Unable to get value of the property „x2”: object is null or undefined
- When used within a Bootstrap modal, imgCrop_selArea registers too tall
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 javascript-image-cropper-ui.