Movable Selection?

45 views
Skip to first unread message

Spot

unread,
Jun 18, 2009, 10:47:43 PM6/18/09
to Jcrop Development Discussion
I have scoured the docs, and perhaps I am just missing it. However, is
there any reason that we could have a perfect implementation of Jcrop,
but the selection is not movable?

The cursor does not convert to a movable cursor, and dragging the
selection does not move the selection.

Are we doing something completely wrong?

P.S. This happens without any options specified, and with allowMove:
true.


Great plugin.

Thanks!

Spot

unread,
Jun 18, 2009, 10:52:17 PM6/18/09
to Jcrop Development Discussion
To be clear... resizing works just great. The problem we are having is
moving.

Spot

unread,
Jun 19, 2009, 7:15:53 PM6/19/09
to jcro...@googlegroups.com
Still haven't cracked this movable problem.

Ideas anyone?

Ok, we're going to look for another cropping solution in the meantime.


Spot

Kelly Hallman

unread,
Jun 21, 2009, 12:14:43 PM6/21/09
to jcro...@googlegroups.com
Hi, thanks for writing. Sorry I didn't respond in a more timely fashion...how is that search for other cropping tools going? :-) I assume that this is happening in different browsers, it's not e.g. an MSIE-specific problem, right? Anyway, the only thing that I can think of in that case is...do you have other layers with z-indexes that might be covering it? Do you have an example page where I can see this in action? You can send it privately in email if you like. I'd like to help resolve the issue for you. Thanks! -Kelly

Spot

unread,
Jul 29, 2009, 7:53:52 AM7/29/09
to jcro...@googlegroups.com
Kelly,

If my comment about looking for another solution came across as
offensive, I apologize. We were just in a big hurry, and didn't want to
cause anyone undue pressure because we were going to explore another path.

As it turns out, which I'm sure you know, there is not a lot of other
options out there. So we discussed rolling our own, but an emergency
surfaced which required us to drop the priority on the cropping
requirement, which is why it's taking this long to respond. :)

We still cannot get it to drag around in our implementation. Currently
the failure is on a development server, so I am sending you login
information in a private email.

Thanks a lot!

Spot

unread,
Jul 30, 2009, 5:28:01 PM7/30/09
to jcro...@googlegroups.com
Ok,

I've tracked down some information. When Jcrop is up and I am looking at
the result in firebug, this is the selection:

<div style="position: absolute; z-index: 300; width: 156px; height:
125px; top: 10px; left: 10px;">
<div style="overflow: hidden; width: 100%; height: 100%; z-index:
310; position: absolute;"></div>
<div style="width: 100%; height: 100%; z-index: 320; display:
block;"></div>
</div>

The selection will not drag, and the cursor does not change when hovering.

However, if I change the z-index on the first child (310) to something
_higher_ than the second child (above 320), I can then drag it around,
but it does block the inner-corners of the handles, and it's a little
more difficult to get to the drag bars. But it is definitely a z-index
issue of some kind.

Now why this is happening in a jQUI dialog, and not usually, I have no
idea without further debugging.

Btw Kelly. Very clean code. Impressive.

Any help here will be greatly appreciated.

Thanks,
Spot

Spot

unread,
Jul 31, 2009, 3:17:22 AM7/31/09
to jcro...@googlegroups.com
Actually, we ended up moving over to imgAreaSelect
(http://odyniec.net/projects/imgareaselect/) which is working good for us.

Sorry for the trouble.

Thanks.

pavel...@gmail.com

unread,
Dec 20, 2013, 6:27:52 AM12/20/13
to jcro...@googlegroups.com, sp...@napalmriot.com
Thank you for this post!

I have the same problem with the new Jcrop v0.9.12 (released 2/2/13) and new Firefox (26.0).
The moving of cropping area is not to see and I spend a few hours to solve this problem without success.

imageAreaSelect works great and I needet just a few minutes to implement it (thumb up).

Thanks again !!!


Dne pátek, 31. července 2009 9:17:22 UTC+2 Spot napsal(a):
Reply all
Reply to author
Forward
0 new messages