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.
I followed all the suggestions for adding Lightbox2 support via classes ie http://drupal.org/node/1136794, http://drupal.org/node/819406 but as other users have reported, with no luck in the most recent fbsmp builds. My solution was to add dedicated support for Lightbox2 (if the module is installed) with a checkbox in the photo plugin's admin form for enabling Lightbox2 support and if enabled, wrapping the call to theme(image) in an anchor with rel="lightbox".
This is only for the default fbsmp image attachment, not imagecache.
Comment | File | Size | Author |
---|---|---|---|
#1 | fbsmp-6.x-2.x-dev.patch | 1.98 KB | webfaqtory |
fbsmp-6.x-2.x-dev.patch | 2.03 KB | webfaqtory |
Comments
Comment #1
webfaqtory CreditAttribution: webfaqtory commentedIgnore last patch, paths were local to my server
Comment #2
AntiNSA CreditAttribution: AntiNSA commentedThis is almost useless without imagecache... any way to get it to work with image cache presets?
Comment #3
AntiNSA CreditAttribution: AntiNSA commentedWhile use lightbox at all if the size can be no larger and must be the same size as the default size?