Title: Exclude Elements from Gallery
Last modified: February 11, 2022

---

# Exclude Elements from Gallery

 *  Resolved [pattn](https://wordpress.org/support/users/pattn/)
 * (@pattn)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/exclude-elements-from-gallery/)
 * Hi Arno, hope you are doing well. Is there a way to exclude an element from the
   lightbox? Our pages use a mix of video and photo, so we would love to exclude
   videos from the lightbox loop. Is there a way?
 * Have a great day.
    Patrick

Viewing 2 replies - 1 through 2 (of 2 total)

 *  Plugin Author [Arno Welzel](https://wordpress.org/support/users/awelzel/)
 * (@awelzel)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/exclude-elements-from-gallery/#post-15355490)
 * Videos don’t need to be exlcuded – they should not be used anyway, since Photoswipe
   is only used for images.
 *  Thread Starter [pattn](https://wordpress.org/support/users/pattn/)
 * (@pattn)
 * [4 years, 2 months ago](https://wordpress.org/support/topic/exclude-elements-from-gallery/#post-15355563)
 * sorry, found out, the anchor around triggered it. removed it and now works. thanks!

Viewing 2 replies - 1 through 2 (of 2 total)

The topic ‘Exclude Elements from Gallery’ is closed to new replies.

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

 * 2 replies
 * 2 participants
 * Last reply from: [pattn](https://wordpress.org/support/users/pattn/)
 * Last activity: [4 years, 2 months ago](https://wordpress.org/support/topic/exclude-elements-from-gallery/#post-15355563)
 * Status: resolved