Page 1 of 1

image opens in new window instead of overlay

Posted: 07 Jun 2011, 15:30
by kimalders
Hello

I am at a loss for options. When i click a thumbnail in my Phoca Gallery, it opens in a new tab (FF for Mac) like this:

Code: Select all

<html>
    <head>
        <title>phoca_thumb_l_IMG_0007.jpg (JPEG Image, 640x480 pixels) - Scaled (99%)</title>
    </head>
    <body>
        <img width="634" height="476" 
            src="http://www.cop-groningen.nl/images/phocagallery/berendbotje/thumbs/phoca_thumb_l_IMG_0007.jpg" 
            alt="http://www.cop-groningen.nl/images/phocagallery/berendbotje/thumbs/phoca_thumb_l_IMG_0007.jpg"
            style="cursor: -moz-zoom-in">
    </body>
</html>
I read that in general settings i can choose for detail display in various modi, but i only get my image in a new window. Please help me fix this.

Cooliris is working, though. And if i opt for the mouseoverdisplay, it also works (you know, where the image is shown in a semi-transparent manner when hovering over the thumbnail).

I can post a link to the site: http://www.cop-groningen.nl/opvang-2-to ... rend-botje

Re: image opens in new window instead of overlay

Posted: 07 Jun 2011, 23:28
by Jan
Hi, on your site, there is some javascript error rendered, so the correct function of shadowbox is not loaded, try to check all your extensions and template.

Jan

Re: image opens in new window instead of overlay

Posted: 08 Jun 2011, 09:52
by kimalders
Thank you, i will.
Could you please give me a hint on how to proceed in this?

- The modal.js script is the first script that is loaded on the Phoca category-page of the website, debugging it does not seem really sensible. Does it need to be preceded by another script, possibly?
- Version number is 1.0rc1, while the newest version is 1.1 rc4 (2009-04-23). But as it's part of a Phoca product, updating only this file to the newest version seems not so good an idea.

Re: image opens in new window instead of overlay

Posted: 08 Jun 2011, 20:52
by Jan
Hi, the problem is, javascript error can be handled in some of the next script but the main error could happen in some previous scritp, the problem is I don't know your site and all the loaded javascript so cannot say what or where exactly can be something wrong, testing here:
https://www.phoca.cz/demo/ or other test site where this is working Ok and I cannot really say what can be wrong there (not a real javascript expert :-( to detect all possible problems there :-( :-( )

Jan

Re: image opens in new window instead of overlay

Posted: 09 Jun 2011, 08:19
by kimalders
Thank you, again. I will test my way into it :-)