[Plugin: File Gallery] error code & not working with Lightbox Plus (1 post)

  1. Pattaya_Web
    Posted 4 years ago #

    Great plugin Bruno. I'm having a problem getting it work properly with Lightbox Plus on Weaver 2.0.

    I'm also getting the follwoing error code above the top row of images in the File Gallery image gallery panel.

    Warning: Division by zero in /home1/xxxxx/xxxx/xxxx/wp-content/plugins/file-gallery/includes/main.php on line 52

    Line 52 $attachment_thumb_ratio = get_option($attachment_thumb_size . '_size_w') / get_option($attachment_thumb_size . '_size_h');

    I have the shortcode [gallery link="file"] which is what Lightbox Plus requires. At this stage I'm not sure if it's a problem with Lightbox Plus or File Gallery, but fisxing this error might be a good place to start :)

    Thanks Bruno.

Topic Closed

This topic has been closed to new replies.

About this Topic


No tags yet.