No Problem at all ;)
Thomas
Printable View
No Problem at all ;)
Thomas
this is a really nice plugin, thx for sharing
Not sure if this helps anyone, but the solution I use is to modify the style for the offending class (x-resizable-handle), this works like a dream. You want to do it in the afterrender of the image cropper to ensure the class has been rendered and therefore added.
Code:var crop = new Ext.ux.ImageCrop({
imageUrl: imageSrc,
initialWidth: imgLoad.width,
initialHeight: imgLoad.height,
preserveRatio: false,
minWidth: 100,
minHeight: 100,
quadratic: false,
listeners: {
afterrender: function() {
var domElements = Ext.DomQuery.select('#imageEditorPreview .x-resizable-handle');
for (var i = 0; i < domElements.length; i++) {
var domElement = domElements[i];
var element = Ext.Element.get(domElement);
element.applyStyles('opacity: 1;');
}
}
}
});
Hi,
here is another approach to do so.
Demo url:http://www.developerextensions.net/i...1.2&Itemid=481
Hello,
I see that Croper calculate x and y coordinats only, but how to calculate x2 and y2 coordinats also?
Best regards!
x2 = x1 + el.getWidth()
y2 = y1 + el.getHeight()
Is there anyone upgrade this class to compatible with 4.1?
I bump this question up.
Hy all,
there is a new Version for Ext 4.1 out:
http://www.thomas-lauria.de/extample..._crop.html?v=4
https://github.com/thomaslauria/extjsimagecrop
thank you for your patience
the url has a lot of problem it seems to broken i dont know how it would be going to get resolved...