WordPress.org

Forums

Lightbox Plus Colorbox
"File as Photo" option not included in script output (1 post)

  1. William Rettmann
    Member
    Posted 2 years ago #

    I found that in version 3.7 of the plugin, as well as the previous couple of versions, it does not included the appropriate output in the colorbox JS options for the "File as Photo" option. I am using phpThumb for some images and they were displaying as text, rather than an image. I fixed this by adding the code below to classes/actions.class.php around line 115, where the other options are determined.

    if ( $lightboxPlusOptions['photo'] == '1' ) { $lbpArrayPrimary[] = 'photo:'.$this->setBoolean( $lightboxPlusOptions['photo'] ); }

    https://wordpress.org/plugins/lightbox-plus/

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 2 years ago by William Rettmann
  • This topic is not resolved
  • WordPress version: 3.9

Tags

No tags yet.