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.
When I implement this into a simple view of images, when I click on an image and it opens the photoswipe popup you cannot navigate between images.
Comments
Comment #1
jami3z CreditAttribution: jami3z commentedHas no one run into this issue yet?
Comment #2
Stathes CreditAttribution: Stathes commentedHey I don't have a whole lot of time this second ill recomment later. I have been using this module for months now with no problems in a production environment. The key is to use the older version of the JavaScript library. When I have a few extra minutes I will tell u exactly which. I even have the title field showing with no problem whatsoever.
This module is awesome I think something went wrong with the updates! Shoot me an email for a faster response gregstathes@gmail.com
Comment #3
jami3z CreditAttribution: jami3z commentedThanks @Drupal Rookie. Any chance of further details?
cheers
Comment #4
mdotcomegypt CreditAttribution: mdotcomegypt commentedI'm facing the same issue
Comment #5
jami3z CreditAttribution: jami3z commentedI got this working by I think adding a class to the view. I just don't have access to the site at the moment to check exactly what it was, maybe .gallery? I'll have a look and provide an update.
I also ended up not using the latest photoswipe version (I had issues getting it working) and used the older version stated in the readme of the module.
Comment #6
mdotcomegypt CreditAttribution: mdotcomegypt commentedAdding a class ".photoswipe-gallery" will fix it
Comment #7
mazze CreditAttribution: mazze commented@m_dotcomegypt you just saved my day, thank you. (@Others: it has to be applied to the View, not the views-item as I first did:-)
Comment #8
mfgr CreditAttribution: mfgr commentedTo clarify for the uninitiated: you can add a class to the view in the 'Advanced' column, under 'Other'. Add 'photoswipe-gallery' to the 'CSS class:' item.
Writing this down because I spent 10 minutes finding this out for myself and just want to help. Thanks guys. I love this module even if it isn't maintained so well.
Comment #9
marcoka CreditAttribution: marcoka commentedawesome. thank you for the information? has this been docuumented? it should?
Comment #10
ParisLiakos CreditAttribution: ParisLiakos commentedall of this is documented in README people
http://cgit.drupalcode.org/photoswipe/tree/README.txt?h=7.x-2.x
Comment #11
marcoka CreditAttribution: marcoka commentedOh great - Thank you my friend.