Participants Database
[resolved] Automatic Link Photo with add rel="prettyPhoto" (3 posts)

  1. globalaperta
    Posted 2 years ago #


    On single Participants Database page i want automatically add rel="prettyPhoto" to Participants Photo / Image, but i am confused how to do it. Some one please can help Me?

    Thank You.


  2. xnau webdesign
    Plugin Author

    Posted 2 years ago #

    Well, you have three alternatives, really. Likely the better of them is to see if your lightbox plugin can work with rel="lightbox" which is how the plugin marks images, and is a standard way of marking an image for a lightbox to show. You might want to ask in the support forum for the lightbox plugin if it's not clear how to do this.

    Otherwise, you could change it on the client side with Javascript, but that could be tricky as you'd need to change the element before the lightbox javascript tries to find it. If you're good with JS this won't be too hard.

    Or you could find the code in the Participants Database and change it there...you'd have to be careful of updates after that , though.

  3. globalaperta
    Posted 2 years ago #

    Thank you, for the answer and also for the Participants Database.

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Participants Database
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic