WordPress.org

Forums

Simple Lightbox
[resolved] Groups of images (9 posts)

  1. Ann-Sophie
    Member
    Posted 2 years ago #

    Hi,

    We've used the Simple Lightbox plugin for this site: coiffurestefan.be/wp/ons-concept/

    On that particular page, I hardcoded the images in the template. I'd like to have the images grouped, so you can click next or previous on this gallery. The rel="" doesn't work...

    Any advice?

    http://wordpress.org/extend/plugins/simple-lightbox/

  2. Archetyped
    Member
    Plugin Author

    Posted 2 years ago #

    Hi, SLB's automatic grouping functionality only works with links that are activated by SLB.

    Removing the hardcoded rel="lightbox" from the links should allow SLB to handle the activation and grouping.

  3. Ann-Sophie
    Member
    Posted 2 years ago #

    If I remove the rel="slb" or rel="lightbox", there's no lightbox functionality...

  4. Archetyped
    Member
    Plugin Author

    Posted 2 years ago #

    Hmm, if the content on that page is from a page/post, then SLB should automatically activate links without any hardcoded rel values.

    If you can provide a link where the hardcoded rel values are removed I would be glad to take a closer look.

  5. Archetyped
    Member
    Plugin Author

    Posted 2 years ago #

    Marking thread as resolved due to lack of activity. Please feel free to update this thread if you have any additional info to provide.

  6. deeve007
    Member
    Posted 2 years ago #

    Could you please provide the code to add to group images?

  7. deeve007
    Member
    Posted 2 years ago #

    Okay, worked it out by Googling for other people who use this plugin, it would certainly help if you had a demo page to view it in action.

    If you want to group images yourself, rather than having just "slb" in the rel field, replace with "slb_group[9999]" and the images on that page will be grouped.

    The number "9999" is just some random number, my guess is make it a high one so it's higher than your highest post/page number.

  8. Archetyped
    Member
    Plugin Author

    Posted 2 years ago #

    I'm glad you found a solution that worked for your needs :)

    However, note that using internal functionality is not supported and can change at any time. For example, grouping is handled differently in the upcoming v2.0.

  9. deeve007
    Member
    Posted 2 years ago #

    Then hopefully you'll provide examples or documentation so relevant changes needed will be easily identified.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Simple Lightbox
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic

Tags

No tags yet.