WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. William Rettmann
    Member
    Posted 7 months 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/

Reply

You must log in to post.

About this Plugin

About this Topic

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

Tags

No tags yet.