Title: WordPress Gallery Feature doesn&#039;t work with Lightbox Plugin
Last modified: August 21, 2016

---

# WordPress Gallery Feature doesn't work with Lightbox Plugin

 *  [Melroy](https://wordpress.org/support/users/danger89/)
 * (@danger89)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wordpress-gallery-feature-doesnt-work-with-lightbox-plugin/)
 * 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](http://blog.melroy.org/?p=987#gallery-1)
 * Thanks!
 * – Melroy
 * [http://wordpress.org/plugins/wp-jquery-lightbox/](http://wordpress.org/plugins/wp-jquery-lightbox/)

Viewing 1 replies (of 1 total)

 *  Thread Starter [Melroy](https://wordpress.org/support/users/danger89/)
 * (@danger89)
 * [12 years, 4 months ago](https://wordpress.org/support/topic/wordpress-gallery-feature-doesnt-work-with-lightbox-plugin/#post-4486000)
 * More info about WordPress Gallery:
    [http://codex.wordpress.org/The_WordPress_Gallery](http://codex.wordpress.org/The_WordPress_Gallery)

Viewing 1 replies (of 1 total)

The topic ‘WordPress Gallery Feature doesn't work with Lightbox Plugin’ is closed
to new replies.

 * ![](https://ps.w.org/wp-jquery-lightbox/assets/icon-256x256.png?rev=3274178)
 * [LightPress Lightbox](https://wordpress.org/plugins/wp-jquery-lightbox/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/wp-jquery-lightbox/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/wp-jquery-lightbox/)
 * [Active Topics](https://wordpress.org/support/plugin/wp-jquery-lightbox/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/wp-jquery-lightbox/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/wp-jquery-lightbox/reviews/)

## Tags

 * [feature](https://wordpress.org/support/topic-tag/feature/)
 * [gallery](https://wordpress.org/support/topic-tag/gallery/)
 * [jquery](https://wordpress.org/support/topic-tag/jquery/)
 * [work](https://wordpress.org/support/topic-tag/work/)

 * 1 reply
 * 1 participant
 * Last reply from: [Melroy](https://wordpress.org/support/users/danger89/)
 * Last activity: [12 years, 4 months ago](https://wordpress.org/support/topic/wordpress-gallery-feature-doesnt-work-with-lightbox-plugin/#post-4486000)
 * Status: not resolved