Hi,
I did a fresh install of wpg2 3.0.7 on wordpress 2.7. I've enabled internal lightbox script on the options page and wonder why the lightbox scripts and css files are not included in page output.
I believe this is because of the lightbox/slimbox switch.
In wpg2.php the lightbox header gets included if the option "wpg2_enablelightbox" is set.
Quote:
if ($wpg2_option['wpg2_enablelightbox'])
add_action('wp_head','wpg2_lightboxheader');
But I could not find where this option should be set.
I think this should be changed to:
Quote:
if ($wpg2_option['wpg2_effectscript']!='none')
add_action('wp_head','wpg2_lightboxheader');
At least this worked for me. Maybe only fresh installs are affected from this bug.
Hope this helps.
Nico
Posts: 1378
Nice Spot Nk111
____________________________________
Wordpress / Gallery2 (WPG2) Plugin, , WPG2 Documentation, WPG2 Demo