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

Comments

jwilde’s picture

Issue tags: +IE, +thickbox, +zoomify
infojunkie’s picture

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?

infojunkie’s picture

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

jwilde’s picture

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

jwilde’s picture

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

the url points to the zoomify tab.

infojunkie’s picture

Assigned: Unassigned » infojunkie

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

infojunkie’s picture

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?

jwilde’s picture

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

infojunkie’s picture

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!

jwilde’s picture

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.

infojunkie’s picture

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?

jwilde’s picture

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

jwilde’s picture

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

infojunkie’s picture

Issue tags: +lightbox2
infojunkie’s picture

Status: Active » Closed (duplicate)

Marking as duplicate of #472158: Zoomify in thickbox.