WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. GraceC
    Member
    Posted 10 months 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 ! :)

    http://wordpress.org/plugins/slideshow-jquery-image-gallery/

  2. Stefan Boonstra
    Member
    Plugin Author

    Posted 10 months 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
    Member
    Posted 10 months 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?

    Thanks!

    [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
    Member
    Plugin Author

    Posted 10 months 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
    Member
    Posted 10 months 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?

    Thanks!

  6. Abdulrahman1
    Member
    Posted 10 months ago #

    me too , and still won"t work .

    =(

    i hope some one help us ..

    thank you so much stefan

Reply

You must log in to post.

About this Plugin

About this Topic