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.

Support from Acquia helps fund testing for Drupal Acquia logo

Comments

webfaqtory’s picture

FileSize
1.98 KB

Ignore last patch, paths were local to my server

AntiNSA’s picture

Priority: Normal » Critical

This is almost useless without imagecache... any way to get it to work with image cache presets?

AntiNSA’s picture

While use lightbox at all if the size can be no larger and must be the same size as the default size?