WordPress.org

Ready to get started?Download WordPress

Forums

WP jQuery Lightbox
WordPress Gallery Feature doesn't work with Lightbox Plugin (2 posts)

  1. danger89
    Member
    Posted 1 year ago #

    Hi,

    A normal & working link of your plugin will be:

    <a href="http://blog.melroy.org/wp-content/uploads/2014/01/ubuntu13.10-unity-menu.png" rel="lightbox[987]">

    However, when I choose the Gallery feature in WordPress to add pictures to my post AND I select 'Link to': "Media file" instead of "Attachment". I get the following links in my gallery:

    <a rel='attachment' href='http://blog.melroy.org/wp-content/uploads/2014/01/Linux_mint_menu.jpg' rel="lightbox[987]">

    You see a double rel in the a tag. This link won't work :(

    You should support the native WordPress Gallery feature! I hope you can help me.

    Live example:
    http://blog.melroy.org/?p=987#gallery-1

    Thanks!

    - Melroy

    http://wordpress.org/plugins/wp-jquery-lightbox/

  2. danger89
    Member
    Posted 1 year ago #

    More info about WordPress Gallery:
    http://codex.wordpress.org/The_WordPress_Gallery

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic