Doesn't work in IE7 within frame

1 view
Skip to first unread message

momo

unread,
Jul 15, 2008, 3:42:56 AM7/15/08
to javascript-image-cropper-ui
Dave, I really need your help. I just started using your cropper and
was really pleased until I found a major bug today.

It works fine in all browsers as long as you use it from my site
directly. But many of my users actually view my pages within a frame
in one of my partner sites. When viewed this way, the cropper works
fine in FF and Safari, but not on IE7. The picture flashes for a
split second, then it goes completely white and the cropped part is
pitch black instead of gray.

Could you take a look at one of the sites and see what you can do?
Because it's in a frame I can't give you a link, so please follow
these steps:

Go to raceshots.net, click on the first event, click on 'Search for
your....', click on 'View All xxx pictures', click the cart icon for
any pic, then Shopping Cart link above. Enter '1' for the 'One 8x10,
Two 5x7' package. Click the checkout button.

Looking through the comments in your site it appears people have had
this problem since last year and no solution (see comments by Magnus
and Ruud Boon).

I really hope you can help. Thanks in advance!

momo

unread,
Jul 27, 2008, 7:11:58 PM7/27/08
to javascript-image-cropper-ui
I figured out a fix myself. I'm not much of a javascript hacker, so
it involved a lot of trial and error, but it now works fine in IE, FF
and Saf, within a frame or outside.

I changed the click area class from:

.imgCrop_clickArea {
width: 100%;
height: 100%;
background-color: #FFF;
opacity: 0.01;
filter:alpha(opacity=01);
}

to

.imgCrop_clickArea {
width: 100%;
height: 100%;
background: transparent url(/img/filler.gif) repeat-x 0 0;
}

where filler.gif is a transparent image whatever size.

thm...@gmx.net

unread,
Aug 12, 2008, 3:22:49 AM8/12/08
to javascript-image-cropper-ui
Hello,


thanks for that solution.

i had a similar problem in ie7 and this solution works create.


Laser Lips

unread,
Sep 20, 2008, 6:37:32 AM9/20/08
to javascript-image-cropper-ui
This doesnt fix it completely, with your solution, I've lost the
ability to drag the 'highlighted' box.

Laser Lips

unread,
Sep 20, 2008, 6:31:53 AM9/20/08
to javascript-image-cropper-ui
This doesnt fix it completely, with your solution, I've lost the
ability to drag the 'highlighted' box.



On Aug 12, 8:22 am, "marx...@googlemail.com" <thm...@gmx.net> wrote:
Reply all
Reply to author
Forward
0 new messages