Option wpg2_enablelightbox causes error

heyho

Joined: 2009-05-09
Posts: 1
Posted: Sat, 2009-05-09 12:28

Hello,

i'm using WP 2.7.1 with WPG 3.0.7. I want to use lightbox to display pictures on the frontpage.

My problem:
On a fresh install the lightbox script is not loaded and the pictures are shown in a normal nonlightbox way.

With a little looking around in the source i found the following:

in wpg2.php the lightbox javascript code is loaded depending on an option:
// Lightbox
if ($wpg2_option['wpg2_enablelightbox'])
add_action('wp_head', 'wpg2_lightboxheader');

However, the option wpg2_enablelightbox is nowhere settable in the UI. It seems to be an artefact. As a workaround i commented the if-part.

Can you look at that problem?

Thanks
Florian