Support for Drupal 7 is ending on 5 January 2025—it’s time to migrate to Drupal 10! Learn about the many benefits of Drupal 10 and find migration tools in our resource center.
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
Comment #1
thinkyhead CreditAttribution: thinkyhead commentedI'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.
Comment #2
thinkyhead CreditAttribution: thinkyhead commentedThis is likely fixed in the latest version of the module. Issue will be closed soon.
Comment #3
thinkyhead CreditAttribution: thinkyhead commentedIf 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.