No Problem at all
Thomas
this is a really nice plugin, thx for sharing
First I would like to thank you for your time and knowledge
Win 7 Ext JS 4.1.3 IE(6-9), FF17
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
Thanks
Surinder singh Mattaur (Matoo)
Extjs Excel copy/paste Grid
Extjs Photo Uploader
Extjs Filter Row
Extjs Grid Query Builder
Extjs Simple Form
Extjs Form Phone Field
Sencha Cube Carousel
Sencha Date Picker
Sencha Touch Themes Builder
Joomla Component Creator
http://developerextensions.com
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?
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...
.