If I post an image in HTML to a page, FancyZoom works fine, example:

<a href="http://static.howstuffworks.com/gif/frog-1.jpg">
<img src="http://static.howstuffworks.com/gif/frog-1.jpg">
</a>

However if I create a gallery (using Image Gallery within the Image Module http://drupal.org/project/image ) and add images to it the images when clicked just link through to a page with the larger image on it. Is there a reason for this? Is there something I need to tweak in order to get this to work? I do not want to have to add all of my images with HTML I would much prefer to be able to upload them to the gallery.

Any pointers would be much appreciated

Thanks

Comments

thinkyhead’s picture

Assigned:Unassigned» thinkyhead

I'll have to look into this. I'd like to see an example, so I can look at the HTML being output by your gallery module.

thinkyhead’s picture

Status:Active» Needs review

This is likely fixed in the latest version of the module. Issue will be closed soon.

thinkyhead’s picture

Status:Needs review» Closed (won't fix)

If the gallery does its thing via Javascript, then FancyZoom would need to execute afterwards. So try messing with module weights using the Util module and see if making FancyZoom load last has any effect. On the other hand, there may be other reasons why it isn't being applied. Check the Javascript console in your browser and see if any errors are showing up, which could indicate some kind of conflict.