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'm working on a site on which i use image attach to add images to a content type that is displayed in a view. There are multiple images per item, and they can all be opened with lightbox2 ( example: http://www.withtsjalling.nl/?q=exhibitions/now ), but i can't seem to find out how to make them able to use the next/prev button. Do i have to group the images somehow? How do i do that using image attach module? I've read something about adding rel="lightbox" and an id for the grouped images, but i can't find out how and where to do so. Hope Someone can tell me what to do!
Thanks,
Faab.
Comments
Comment #1
Faab CreditAttribution: Faab commentedI am the biggest loser in Drupal history, fixed it.
Comment #2
sio2yh20 CreditAttribution: sio2yh20 commentedHey Faab,
If you could share how you fixed it that would be great ......my issue is posted below.
-------------
I have installed all the proper modules and have lightbox 2 working fairly well in drupal. Af ew issues have come up though.
1. after creating a group and force enabling the next previous buttons in configuration they still do not show
2. the images show up in IE (all versions) and Chrome but not firefox....in firefox text shows that when clicked on opens the lightbox (without the next previous buttons)
I am using: latest release of drupal 7, wysiwyg api with tiny mce, image picker and lightbox 2.
Thanks
Comment #3
AniaMi CreditAttribution: AniaMi commentedsubscribe
Comment #4
yukare CreditAttribution: yukare commentedI have it working on my site, see at http://www.jaguaribe.net/drupal/modulos/lightbox2
Maybe the link to previous/next is on the page, but is hidden, please see admin/config/user-interface/lightbox2/general if "Force visibility of navigation links " is marked, so the link to previous/next will be always visible.
If you still have this issue, post here the html code that show the images and a link to site where i can see it, so we can try to find what is wrong.
Comment #5
yukare CreditAttribution: yukare commented3 weeks without any answer, so i am closing this as i think that the user fixed it and i can not reproduce. Please, if you still have still issue comment here and provide more details.
Comment #6
chazsmi CreditAttribution: chazsmi commentedI have this same problem.
I have force enabled the next previous buttons in configuration.
I get the images in the lightbox but cant scroll through them and cant see the navigation links.
Do you have to group these images specifically?
Comment #7
neha.goyal CreditAttribution: neha.goyal commentedHello,
I have installed lightbox2 module and its working fine. And I have enabled the option for force visibility of navigation links but still next previous buttons are not showing.
Please help.
Regards,
Neha
Comment #8
rachmason CreditAttribution: rachmason commentedHi - I'm having the same problem. If anyone managed to fix this, please would you let me know? Thanks
Comment #9
yukare CreditAttribution: yukare commentedThe images are grouped? If you want to show they in a group you have to use something like rel="lightbox[mygroup]" so all images in [mygroup] will have a link to prev/next. If you just put rel="lightbox" the images will not be in a group and will not have the link to prev/next, no matter how many images you have on same page they will not have prev/next.
Comment #10
rachmason CreditAttribution: rachmason commentedThank you!! I changed to rel="lightbox[%node]" and it is now working!
Comment #11
volca CreditAttribution: volca commentedyukare, rachmason, thanks, 4 years on and this helps me!