Working upon prototype 1.6.0.2 and script.aculo.us 1.8.1

6 views
Skip to first unread message

Rauan Maemirov

unread,
Apr 29, 2008, 5:22:29 PM4/29/08
to javascript-image-cropper-ui
Ok, on FF and IE it works. But in Opera (any version) doesn't .

Jimmy

unread,
Apr 29, 2008, 5:26:41 PM4/29/08
to javascript-image-cropper-ui
Funny, the demo page at http://www.defusion.org.uk/demos/060519/cropper.php
works fine in the versions of Opera I have. Perhaps it's *your* code
that isn't working in Opera.

Rauan Maemirov

unread,
Apr 29, 2008, 5:34:50 PM4/29/08
to javascript-image-cropper-ui
But it uses prototype 1.5.0_rc0 and scriptaculous 1.6.1...

On Apr 30, 3:26 am, Jimmy <jmalin...@gmail.com> wrote:
> Funny, the demo page athttp://www.defusion.org.uk/demos/060519/cropper.php

David Spurr

unread,
Apr 30, 2008, 5:53:36 AM4/30/08
to javascript-im...@googlegroups.com
Rauan, what did you do to switch in the latest version of prototype & script.aculo.us? Then again I'm assuming that as it works fine on FF & IE then it's switched out OK, you don't get any errors in Firebug do you?

What exactly doesn't work in Opera, the whole thing or just a part of it?

I haven't had time to look at the latest versions of prototype or script.aculo.us so I'm not sure what the changes are, maybe I have a work around for Opera that's not needed anymore. Any extra information about the issue would be helpful.

-D

Rauan Maemirov

unread,
Apr 30, 2008, 3:44:08 PM4/30/08
to javascript-image-cropper-ui
There are no exceptions in firebug and IE.

In Opera it just don't create cropper (resizable area) correctly and I
cannot resize it.

J Malinsky

unread,
May 2, 2008, 5:23:29 PM5/2/08
to javascript-im...@googlegroups.com
Indeed, the Cropper on Opera does not work correctly with 1.6 and 1.8.1

Rauan Maemirov

unread,
May 3, 2008, 3:17:03 PM5/3/08
to javascript-image-cropper-ui
When should we wait for fix?

On Apr 30, 3:53 pm, David Spurr <david.sp...@gmail.com> wrote:

Rauan Maemirov

unread,
May 6, 2008, 4:11:44 PM5/6/08
to javascript-image-cropper-ui
Hey guys!

U don't believe me, but on Kestrel (Opera 9.5b2) it works as fine as
on Firefox!

But, unfortunately it's not stable yet, and 95% (or even 99% except of
some geeks) of users still using 9.27 (at best). :(

On Apr 30, 3:53 pm, David Spurr <david.sp...@gmail.com> wrote:

Jimmy

unread,
Jun 5, 2008, 9:48:12 AM6/5/08
to javascript-image-cropper-ui
Hi everyone

I've found that setting a small timeout (say, 300 to 450 ms) fixes the
Opera problem, at least in my situation where I load images and
croppers dynamically. I attach the new image to the DOM, then call
attachCropper after the timeout.

Can't wait to show you all what i've managed to pull off with this
great library.

Rauan Maemirov

unread,
Jun 7, 2008, 10:36:48 AM6/7/08
to javascript-image-cropper-ui
Hm... As for me, it doesn't work anyway.

webtuning

unread,
Jul 9, 2008, 2:48:54 AM7/9/08
to javascript-image-cropper-ui
I'm trying to use the cropper with the newest prototype (1.6.0.2) and
scriptaculous (1.8.1). It works when I not update the file dragdrop.js
but when I update this file it doesn't work.
I become then the following three errors in firebug:

Effect is not defined (lib/dragdrop.js: Line 9)
if(Object.isUndefined(Effect))

Draggable has no properties (cropper.js: Line 19)
Object.extend(Object.extend(CropDraggable.prototype,Draggable.prototype),
{initia...

Cropper has no properties (test.html: Line 29)
new Cropper.Img(


What must I change, that it runs with the newest versions from
prototype and scriptaculous?
thx

David Spurr

unread,
Jul 9, 2008, 5:51:32 AM7/9/08
to javascript-im...@googlegroups.com
That looks like something is wrong with your prototype/scriptaculous
setup/includes as it is dragdrop which is erroring first and then the
cropper is erroring as Draggable is not defined (as dragdrop didn't load
properly).

I've not tried the latest prototype and scriptaculous yet I'll have a
look later if I get chance.

-D

Reply all
Reply to author
Forward
0 new messages