Support » Plugin: Lightbox Plus Colorbox » "File as Photo" option not included in script output

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

  • The topic ‘"File as Photo" option not included in script output’ is closed to new replies.