WordPress.org

Support

Support » Plugins and Hacks » [Plugin: File Gallery] error code & not working with Lightbox Plus

[Plugin: File Gallery] error code & not working with Lightbox Plus

  • 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.

  • The topic ‘[Plugin: File Gallery] error code & not working with Lightbox Plus’ is closed to new replies.
Skip to toolbar