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.
Hi,
I've created a view that shows all my galleries/albums (the title and cover image). I'm only able to make the title link to it's node ('Link this field to its node') which leads to the default way of displaying the images (with the prev/next button, back to gallery etc.) and not through Lightbox as i need.
The image itself links to a preview in lightbox as attended - so thats perfect. The only problem is that the title doesnt link to Lightbox.
How do I fix that?
- Hope I made myself clear.
Thanks.
Comments
Comment #1
cholden CreditAttribution: cholden commentedI'll start correcting myself:
- Please ignore the description I wrote above.
I've created two views.
1th)
One showing all my albums/galleries (the title and cover image). I'm only able to make the title link to it's node ('Link this field to its node') which leads to the default way of displaying the images (with the prev/next button, back to gallery etc.) and not displaying all the thumbnails which should open in lightbox.
The image itself links to the node displaying all the thumbnail - so that's perfect. The only problem is that the title doesn't to that.
2nd)
The second is showing all the images in a specific gallery. Here the title links to the same as the above situation - the default way of displaying the images (with the prev/next button, back to gallery etc.) and not displaying all the thumbnails which should open in lightbox.
The image itself links to Lightbox as intended. The problem here is that the title isn't doing that!
Thanks :)
Comment #2
Rik CreditAttribution: Rik commentedThis is not a node gallery issue. You should checkout your lightbox2 module configuration. Specifically the tab 'automatic image handling' where you can add customized classes. But I don't think you can add lightbox2 behaviour to links other then images. Perhaps you should only make your image a link and leave the title as is.
Comment #3
cholden CreditAttribution: cholden commentedOkay. Thanks.
I solved the problem by using tipsy - the jquery tooltip.