zoomify with thickbox

jwilde - May 15, 2009 - 11:38
Project:Zoomify
Version:6.x-1.x-dev
Component:Code
Category:bug report
Priority:normal
Assigned:kratib
Status:duplicate
Issue tags:IE, lightbox2, thickbox, zoomify
Description

Hi,

Thanks for the great module. I'm using it along with thickbox and it works great in firefox. But I am having problems getting the image to display in IE, 7 and 8. Here's an example, http://www.thecouturecatalog.com/content/options (click on test popout with zoom). Zoomify works great in IE on its own, http://www.thecouturecatalog.com/content/zoom-test-page

Any ideas?

Kind regards,

Jim

#1

jwilde - May 15, 2009 - 11:38

#2

kratib - May 15, 2009 - 18:48

I tested this using IE8 on Windows XP. I found that the very first time I opened the Zoomify popup, it did show the image. Every subsequent time, the Zoomify Viewer showed a blank page. However, when I refreshed the thickbox frame (right-click + Refresh) the image appeared again. Can you reproduce that?

#3

kratib - May 16, 2009 - 07:02

Would you please also describe how you host the zoomify applet inside thickbox? It's a useful recipe that people might reuse. Thanks.

#4

jwilde - May 16, 2009 - 13:12

Hi,

Thanks for getting back to me. I can see the image if I clear my cache in IE. Hoe can I fix this?

Kind regards,

Jim

#5

jwilde - May 16, 2009 - 13:13

http://www.example.com/node/28/zoomify?keepThis=true&TB_iframe=true&height=575&width=575&modal=true" title="Vendor Page" font="16" class="thickbox">test zoomify with thickbox

the url points to the zoomify tab.

#6

kratib - May 16, 2009 - 17:07
Assigned to:Anonymous» kratib

I'll look at sending HTTP headers that instruct IE to clear the cache.
Thanks for the info.

#7

kratib - May 16, 2009 - 18:53

After looking at your page again, it appears that the URL http://www.thecouturecatalog.com/node/28/zoomify?keepThis=true& only returns an HTML fragment enclosed with DIV, not a full HTML page. IE might have problems dealing with this invalid fragment inside an IFRAME. When I used your Thickbox technique on my test site, but without modifying the theme, IE behaved correctly at every page load.

So I suggest to remove the custom theme and let Drupal render the zoomify URL normally. Does IE still have problems then?

#8

jwilde - May 17, 2009 - 12:14

Thanks for your help. I tried it with the full page and still get the same results with ie. It works one time after I clear cache. I am stumped. Best Jim

#9

kratib - May 18, 2009 - 06:01

Googling "IE zoomify refresh" yielded this solution: http://lists.deconcept.com/pipermail/swfobject-deconcept.com/2006-Novemb...

Basically, add a random number to the path of the ZoomifyViewer.swf. To try this in zoomify.module, alter theme_zoomify() by adding the following line:

$viewer .= '?r=' . mt_rand();

after the lines
drupal_set_title($node->title);
$viewer = variable_get('zoomify_applet', drupal_get_path('module', 'zoomify') .'/ZoomifyViewer.swf');

Let me know if this works!

#10

jwilde - May 18, 2009 - 10:53

Thanks!

I'm using the May 11th version.

Added the line in on line 190.

drupal_set_title($node->title);
global $base_url;
$viewer = variable_get('zoomify_applet', $base_url .'/'. drupal_get_path('module', 'zoomify') .'/ZoomifyViewer.swf');
$viewer .= '?r=' . mt_rand();

Same results in IE. No change.

#11

kratib - May 21, 2009 - 06:14

The main problem is that I cannot reproduce it on my side. However, I've seen many reports of Flash applets not properly refreshing on IE, so I don't think it's a Zoomify-specific issue.

At the moment, I'm afraid I can't put more time into this. If you need this issue to be fixed soon, you might want to consider getting some help on Drupal's IRC channel or paying someone - me included :-) - to fix it. Also, did you try Zoomify's support?

#12

jwilde - May 25, 2009 - 12:02

It turns out the problem is how I have the url coded for thickbox. So, i opened an issue over on thickbox. http://drupal.org/node/472158

I am still not sure where the problem is. I'll post the solution when I find one. Thank you for all of the help.

Kind regards, jim

#13

jwilde - May 29, 2009 - 18:36
Issue tags:+lightboz2

I could not get zoomify working with thickbox in ie. So, I tried using zoomify with lightbox2. It worked like a charm across all browsers - even ie.

Thanks,

Jim

#14

kratib - May 29, 2009 - 20:28
Issue tags:-lightboz2+lightbox2

#15

kratib - May 29, 2009 - 20:29
Status:active» duplicate

Marking as duplicate of #472158: Zoomify in thickbox.

 
 

Drupal is a registered trademark of Dries Buytaert.