The Support Forums will be in read-only mode for a scheduled maintenance window on 01 September 2016 14:00 UTC - 20:00 UTC. More information.

Anyway I can link through to a lightbox? (6 posts)

  1. GraceC
    Posted 2 years ago #

    Hi, LOVE the slideshow it works so well and was very easy to install. Is there anyway that the image can open up in a lightbox fashion? For example: http://www.easyplanwarwickshire.co.uk/gallery/

    Thanks ! :)


  2. Stefan Boonstra
    Plugin Author

    Posted 2 years ago #

    The lightbox feature will be available in version 2.3.0, which has yet to be released. You can try to combine a lightbox plugin with the slideshow to create the same effect. You can find a couple of tips on how to do this in this thread.

  3. GraceC
    Posted 2 years ago #

    In this file you have to locate line number 57, where the <img /> tag is visible. Make this line look like this:

    <img src="<?php echo htmlspecialchars($imageSrc); ?>" alt="<?php echo $alt; ?>" rel="lightbox" <?php echo ($imageWidth > 0) ? 'width="' . $imageWidth . '"' : ''; ?> <?php echo ($imageHeight > 0) ? 'height="' . $imageHeight . '"' : ''; ?> />

    This all looks pretty straight forward but I can't find the <img/> tag on line 57 this is what I can see

    if (empty($alternativeText))
    				$alternativeText = htmlspecialchars($attachment->post_content);

    Has the document changed since you posted the instructions?


    [Moderator Note: Please post code & markup between backticks or use the code button. Your posted code may now have been permanently damaged by the forum's parser.]

  4. Stefan Boonstra
    Plugin Author

    Posted 2 years ago #

    Yes, it's moved down a lot of lines. It still looks very similar, so you should be able too find it.

  5. GraceC
    Posted 2 years ago #

    Hi I found the code on line 97, saved zipped up the whole plugin file uploaded successfully on WordPress, activated the light-box plugin and it still won't work: http://www.easyplanwarwickshire.co.uk/test-page/ Did I miss a step?


  6. Abdulrahman1
    Posted 2 years ago #

    me too , and still won"t work .


    i hope some one help us ..

    thank you so much stefan

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Slideshow
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic