Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #1076
    Mark Clarke
    Participant

    Hi

    Plugin installed and working fine – if I set it as a default to say Image Links – but I don’t want it as a default

    Is there a method for setting individual image (s) as the lightbox?

    Thanks

    #1078
    Bartosz
    Keymaster

    Yes, of course.

    The simpliest way is to add rel=”lightbox” attribute to image links.

    #1079
    Mark Clarke
    Participant

    Magic – Thanks

    I’m rubbish without a manual :)

    #1080
    Bartosz
    Keymaster

    No problem. We should have added some info about that to the Doc’s. It’s just hard to find some time for that.

    I forgot: if you want to display each image or video separately (without navigating between images) you can add a unique value to the rel attribute: rel=”lightbox[1]”, rel=”lightbox[2]” etc. Those numbers might be attachment ID’s for example (which is always unique).

    #1081
    Mark Clarke
    Participant

    You have docs!!!!!

    Sorry, I could not find them

    Its a lovely chunk of code for sure

Viewing 5 posts - 1 through 5 (of 5 total)
  • You must be logged in to reply to this topic.