WordPress.org

Ready to get started?Download WordPress

Forums

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

  1. globalaperta
    Member
    Posted 6 months ago #

    Hi,

    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.

    http://wordpress.org/plugins/participants-database/

  2. xnau
    Member
    Plugin Author

    Posted 6 months 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
    Member
    Posted 6 months ago #

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

Reply

You must log in to post.

About this Plugin

About this Topic