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 really need to get this working.... thanks!
I really need to get this working.... thanks!
Comments
Comment #1
publicmind CreditAttribution: publicmind commentedTip 1: http://protip.icecreamyou.com/tip/critical-means-totally-broken-not-look-me
Tip 2: http://protip.icecreamyou.com/tip/just-because-you-cant-figure-it-out-do...
All I know about lightbox is that you provide custom classes to your images, then you set those custom classes in the Lightbox settings and it should work. If it isn't working then you need help from someone who knows more about it, probably in the Lightbox forum.
Comment #2
AntiNSA CreditAttribution: AntiNSA commentedyou have image cache presetes loaded, but all the lightbox presets are not available . For all the other uses in drupal and when using views, selection of lightob presets are found everywhere imagecache presets aer found. what is the big challenge to hae the same behavior in fbsmp?
Comment #3
mrwhizkid CreditAttribution: mrwhizkid commentedGo to: http://www.yoursite.com/admin/settings/lightbox2/automatic -- enter in any name for the automatic preset then hit save.
Then go to http://www.yoursite.com/admin/settings/fbsmp/plugins/photo
Enter in that same name (nothing else) in Additional Classes and hit save.
Comment #4
AntiNSA CreditAttribution: AntiNSA commentedthanks! But is there any reason this does not show my image cache profiles?
Comment #6
AntiNSA CreditAttribution: AntiNSA commentedCan you verify this is working? I can not seem to get it to work by adding testx into class and custom class as described above . If you could help me get this to work I would really appreciate it.
Comment #7
Mosco_DJ CreditAttribution: Mosco_DJ commentedSame problem with colorbox. Overlay is loaded, but stills in "loading". This only happens with Facebook-style Micropublisher
Comment #8
trotsak CreditAttribution: trotsak as a volunteer commented@AntiNSA, for you have add class to link not to image.
that's adding to image:
Comment #9
mr.andrey CreditAttribution: mr.andrey commentedThis is still an issue for D7 and Colorbox because Colorbox requires the class "colorbox" to be set on the link, not the image.
To fix without hacking the module, set the the ImageCache preset to "... linked to image", then add the following to your template.php:
The real fix would be to add the ability to add a custom class to either image OR the link.
Cheers,
Andrey.