-
27 Dec 2010 1:16 PM #11
-
27 Dec 2010 1:34 PM #12
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
-
27 Dec 2010 3:06 PM #13
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;'); } } } });
-
18 Mar 2011 7:45 AM #14
Here is another way to do it
Here is another way to do it
Hi,
here is another approach to do so.
Demo url:http://www.developerextensions.net/i...1.2&Itemid=481Thanks
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
Extjs Form Week Field
Sencha Cube Carousel
Sencha Date Picker
Sencha Touch Themes Builder
http://www.developerextensions.com
http://www.developerextensions.net
-
21 Mar 2011 11:07 PM #15
x1, x2, y1, y2 coordinats
x1, x2, y1, y2 coordinats
Hello,
I see that Croper calculate x and y coordinats only, but how to calculate x2 and y2 coordinats also?
Best regards!
-
12 Oct 2011 4:17 PM #16
x2 = x1 + el.getWidth()
y2 = y1 + el.getHeight()
-
29 Jul 2012 9:20 PM #17
Is there anyone upgrade this class to compatible with 4.1?
-
10 Jan 2013 9:08 AM #18
-
28 Jan 2013 1:09 AM #19
ExtJS 4 Version created
ExtJS 4 Version created
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
-
4 Feb 2013 4:17 AM #20
the url has a lot of problem it seems to broken i dont know how it would be going to get resolved...
.
Similar Threads
-
Can Resizeable component crop?
By Sesshomurai in forum Ext 2.x: Help & DiscussionReplies: 2Last Post: 23 Oct 2009, 3:13 AM -
Help with Search Utility
By nj_gm in forum Ext 2.x: Help & DiscussionReplies: 0Last Post: 7 Nov 2008, 9:44 AM -
Is there any log utility in ext?
By yew98 in forum Ext 2.x: Help & DiscussionReplies: 7Last Post: 8 Nov 2007, 10:37 PM -
about Ext-yui XHR utility
By mysticav in forum Ext 1.x: Help & DiscussionReplies: 8Last Post: 23 Mar 2007, 11:20 AM


Reply With Quote

