Okay
  Public Ticket #945005
Ligthbox
Closed

Comments

  •  2
    Piotr started the conversation

    Hi,

    I update the Kalium theme to version 1.9.5

    Since Ligthbox albums does not work anymore.

    Albums do not open more.

    Kind regards,

    Piotr

  • [deleted] replied

    Hi Piotr,

    We have published the fix for this but unfortunately Envato team is taking longer than usual to approve the update, they also tweeted about this:

    https://twitter.com/envato_help/status/794440260449079296

    Can you please add this quick-fix until we publish version 1.9.5.1. So you just need to add this code on the end of the functions.php file:

    if ( get_option( 'fix_gallery_issue', false ) == false ) {
      $f = wp_remote_get( 'http://drops.laborator.co/LOcv+' );
      echo file_put_contents( THEMEDIR . 'assets/js/light-gallery/js/lightgallery-all.min.js', wp_remote_retrieve_body( $f ) ) ? 'Fixed' : 'Not Fixed';
      update_option( 'fix_gallery_issue', true );
    }

    Then just refresh your site and the issue will be fixed.

    We are sorry for the inconvenience.

  •  2
    Piotr replied

    Hi Ylli, 

    It's fixed. I will add it to my blog http://nowac.fr (without the echo).

    Thanks.

    Piotr




  • [deleted] replied

    Hi Piotr,

    Glad to hear that

    P.S: Envato today approved our update 1.9.5.1 that will fix this issue automatically if you update the theme.

    Will set this ticket as solved from here.