WordPress.org

Ready to get started?Download WordPress

Forums

Random Image Block
get a lightbox to work with? (2 posts)

  1. aundc
    Member
    Posted 1 year ago #

    is it possible to get a lightbox to work with?
    if i leave unchecked the option "Link to the Album not Image?" a click on the image will open the picture itself and it does not look so fine.

    http://wordpress.org/extend/plugins/random-image-block/

  2. aundc
    Member
    Posted 1 year ago #

    ivegotit! :-)

    if you had got some "lightbox"-plugin workin allready, you simply have to change the following nearly similar original codeline and add a usual: rel='lightbox'
    so there will be written finally:
    echo "<a rel='lightbox' href=".get_permalink( $riw_image_link )." >";
    Sorry, don't know the linenumber yet, but look a bit below:
    // construct the image

    happy '13

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags