Viewing 9 replies - 1 through 9 (of 9 total)
  • Plugin Author TV productions

    (@tv-productions)

    It seems that an other plugin adds an old version of jQuery to the webpage (version 1.4.4), while Easy Photo Albums uses version 1.10.2. jQuery 1.10.2 is included on the right page, but that plugin overrides it.

    A part of the head of your url:

    <!-- Portfolio Slideshow-->
    <noscript><link rel="stylesheet" type="text/css" href="https://www.matthiasandsea.be/wp-content/plugins/portfolio-slideshow/css/portfolio-slideshow-noscript.css?ver=1.5.1" /></noscript><script type="text/javascript">/* <![CDATA[ */var psTimeout = new Array();  var psAutoplay = new Array();  var psFluid = new Array(); var psTrans = new Array(); var psSpeed = new Array(); var psLoop = new Array();/* ]]> */</script>
    <!--//Portfolio Slideshow-->
    
    <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>
    <script src="https://ajax.googleapis.com/ajax/libs/jqueryui/1.8/jquery-ui.min.js"></script>
    <script>
    var $j2 = jQuery.noConflict();

    The problem is: <script src="https://ajax.googleapis.com/ajax/libs/jquery/1.4/jquery.min.js"></script>. I don’t know which plugin adds this code, so you have to find out by yourself. The best solution would be to remove or update that plugin (it uses not the right functions to insert the jQuery code).

    An other solution
    Open the file EPA_PostType.php (probably in wp-content/plugins/easy-photo-album/.
    Search for the next lines of code (starting at line 486):

    wp_enqueue_script ( 'lightbox2-js', plugins_url ( 'js/lightbox.js', __FILE__ ), array (
    	                                                'jquery'
    	                                ), '2.6', true );

    and replace it with:

    wp_enqueue_script ( 'lightbox2-js', plugins_url ( 'js/lightbox.js', __FILE__ ), array (
    	                                                'jquery'
    	                                ), '2.6', false );

    Save the file to your server.
    I don’t know for sure if this works, but you can try.
    WARNING: you have do this again after every update of Easy Photo Album!

    Thread Starter Laurent

    (@mrllp)

    Hello,

    Thank you very much for having a look at my problem.
    Indeed, it was that old jQuery that prevent lightbox to work right.
    I removed it directly from the header.php since it wasn’t used by a plugin but by the photo slider that I manually implemented.

    Again, thank you for finding the solution, I will definitely use your nice plugin in my future WordPress sites ??

    Greets,
    MrLLp

    Hi,
    I have the same problem here:
    https://az-demos.com/jhon/#galeria

    I change the line in EPA_PostType.php source but nothing..
    Can you help me?

    Plugin Author TV productions

    (@tv-productions)

    @testing

    It seems that the required css and javascript isn’t included on the page. You can try to enable the option in main loop on the settings page. If that doesn’t work, I need more information about how your theme works before I can help you.

    Hi, I add the css & javascript and now is working =)

    But when I want delete some images from any album I got this error:
    Warning: Invalid argument supplied for foreach() in /home/azdemos/public_html/jhon/wp-content/plugins/easy-photo-album/EPA_PostType.php on line 383
    Warning: Cannot modify header information – headers already sent by (output started at /home/azdemos/public_html/jhon/wp-content/plugins/easy-photo-album/EPA_PostType.php:383) in /home/azdemos/public_html/jhon/wp-includes/pluggable.php on line 899

    I have onlu 2 albums with 3 images… but I can’t check and delete any image of the albums. Is something wrong?

    Plugin Author TV productions

    (@tv-productions)

    @testing

    It seems you’ve found a bug! Thank you for that. I was able to reproduce it and now I’ve fixed for the next release.

    Just to help you out: delete those two albums and create a new one and do what you want.

    Hello,

    I have a problem about lightbox view. My web site address is https://www.ena-med.com/cok-kullanimlik-fibrin-ignesi.html. When I click an image for lightbox view, Lightbox display doesn’t work.

    Do you have an idea of what I can do to solve that ?

    Best Regards,

    Plugin Author TV productions

    (@tv-productions)

    @fxonline

    In my browsers (latest versions of Firefox, Chrome and Internet Explorer) does the Lightbox work at your website.

    Hello, i use your plugin on a website that i’m currently developping. I think it’s really great but unfortunately, the lightbox doesnt work.

    Here is a page where your plugin is used:

    https://www.cinevideo816.be/RCV/albums/federation-des-cineastes-et-videastes-francophones-de-belgique/

    Can you help me ?

    Thanks.

Viewing 9 replies - 1 through 9 (of 9 total)
  • The topic ‘Lightbox doesn't work’ is closed to new replies.