Doesn't work in IE7

pasada - August 21, 2008 - 02:22
Project:FancyZoom
Version:6.x-1.0
Component:User interface
Category:bug report
Priority:normal
Assigned:slurslee
Status:active
Description

Congratulations on a very beautiful tool. Forgive me if this was noted somewhere in the documentation, but it appears that this does not work in IE7. The link simply opens the image as if FancyZoom did not exist.

#1

pillow - August 21, 2008 - 23:48

Thanks to pasada for provide such a beautiful mod!

Have you changed the Zoom Image Path setting in Site Configuration page?
Mine works after that, but FancyZoom zooms in the picture more than the images' actual size and lost the ratio width to length occasionally. Is it related to the value of "Minimium Border Settings" ?

what information should I collent for debugging?

#2

errement - August 21, 2008 - 22:56

Btw, slurslee is the one who made the mod for us!!
Under Cabel Sasser permission (tell me if i am wrong).

;-)

#3

pillow - August 21, 2008 - 23:53

Sorry for my carelessness,
It doesn't work in my IE 7 neither, all I mentioned in #2 was in FireFox 2.0.

#4

pillow - August 22, 2008 - 00:09

I‘ve found some common point to how the image will be out of shape.

eg:

1.First I click a image with resolution 300*500, it shows itself in right shape.
2.Second clicking a image 300*200, it is in right shape too.
3.Third clicking a 400*300 one, it is still in right shape.
4.Clinking the 300*500 image in first step AGAIN, FancyZoom display it in a 400*300 region but not 300*500.

so it seems that there is some variable not unset or such as, but change to the biggest width it have been reached.
After refresh the page, FancyZoom work in this way again.

please NOTICE, THIS OCCURs ALL THE TIME in my FireFox 2.0

#5

CosminCH - August 22, 2008 - 16:40

I have, in IE7, an "invalid argument" error, line 1, char 1. Firefox opens the page without any error.

The error is the same, IE opens another page with the image, no fancy zoom.

#6

edalcin - January 1, 2009 - 12:25

Same for me. IE7 opens another page with the image, no fancy zoom.

#7

CoPut - January 27, 2009 - 13:56

This problem is already solved in original JS script. You can fix it by updating Fancy Zoom script from original site, but you need to change those scripts for FZ module integration.

My version of scripts in attach. Put them into <module path>/js/src/ and turn off "Use Minimized Javascript" in module settings. It works for me.

I hope slurslee will update it soon :)

AttachmentSize
FancyZoomFixedScripts.tgz 9.63 KB

#8

aiwata55 - June 28, 2009 - 10:13

in IE8, neither.

But pictures on the author of this effect plugin (http://www.cabel.name/) seem to be working with no problem at all. I want this module to be updated so that it uses the latest Fancyzoom script.

#9

slurslee - July 23, 2009 - 04:59
Assigned to:Anonymous» slurslee

Apologies. I rewrote the script to use JQuery and it may have some lingering issues. The image size problem is known. The IE7 issue hasn't been examined yet. I'll mess with this soon.

#10

Jorrit - August 5, 2009 - 17:28

I solved it by changing

if (!$("#ZoomImage").css("-webkit-box-shadow") && ! browserIsIE) {

to

if (! browserIsIE && !$("#ZoomImage").css("-webkit-box-shadow")) {

When you use the non-minimized version, that line gives the error in IE.

#11

mikec - August 12, 2009 - 17:50

I reverted to the original scripts as suggested in #7 by CoPut. Subscribing.

 
 

Drupal is a registered trademark of Dries Buytaert.