Gallery Block and Popup

Permalink
Does anyone know if these two can work together? I understand about using a CSS selector to call popup from a link but can't see a way of making it work with the gallery block.

Any help most welcome, thanks

dhdesign
 
LucasAnderson replied on at Permalink Reply
LucasAnderson
You may want to check out ProPhoto, which integrates well with the Image/File Details, Billboards, Image/File Search, and PopUp blocks


http://inneroptics.net/concrete5/prophoto/...

http://www.concrete5.org/marketplace/addons/prophoto/...
ScottC replied on at Permalink Reply
ScottC
what are the selectors?

the selectors that bind should be as specific as possible, and since they are using jquery/sizzle?(not sure on the latter) you can probably modify them to be more selector specific.

often they are something like $('a.popup').bind(// to $("a.gallery-lightbox" and $("a.popup-modal"

so a with a class of popup, you'll probably find that to be relatively repeated across various add-ons, so it would be better to add another class to your links created from the block as in <a href="#" class="popup-modal" and the other <a href="#" class="gallery-lightbox"

some just look for rel tags, look at the html for the triggered links and see what's the same, then change it.