Title: Problem with wordpress gallery
Last modified: April 17, 2022

---

# Problem with wordpress gallery

 *  Resolved [Jellob77](https://wordpress.org/support/users/jellob77/)
 * (@jellob77)
 * [4 years ago](https://wordpress.org/support/topic/problem-with-wordpress-gallery/)
 * Hi, I’m using this pugin for a long time and it was working great until recently.
   Suddenly the link to open an image of a wordpress gallery send to the jpg file
   page instead of showing the Photoswipe interface (I select the “media file” link
   in the gallery editor and it was working before).
    I can’t find what’s changed,
   anyone faced this problem ? Thanks a lot
 * wordpress 5.9.3
    Lightbox with PhotoSwipe 3.4.2
 * The page I need help with: _[[log in](https://login.wordpress.org/?redirect_to=https%3A%2F%2Fwordpress.org%2Fsupport%2Ftopic%2Fproblem-with-wordpress-gallery%2F%3Foutput_format%3Dmd&locale=en_US)
   to see the link]_

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

 *  [temporalnaut](https://wordpress.org/support/users/temporalnaut/)
 * (@temporalnaut)
 * [4 years ago](https://wordpress.org/support/topic/problem-with-wordpress-gallery/#post-15630995)
 * I had this same problem but I don’t have it anymore and the lightbox is working
   properly. I’m not sure what it solved. I updated the theme, deleted some unused
   thumbnails of images, regenerated some, but I feel that what solved my problem
   is Cloudflare, I purged the cache: Caching > Configuration > Purge Cache > Purge
   Everything. I don’t use any caching plugins.
    [https://wordpress.org/support/topic/lightbox-is-displayed-and-then-overlaid-with-image](https://wordpress.org/support/topic/lightbox-is-displayed-and-then-overlaid-with-image)
 *  Thread Starter [Jellob77](https://wordpress.org/support/users/jellob77/)
 * (@jellob77)
 * [4 years ago](https://wordpress.org/support/topic/problem-with-wordpress-gallery/#post-15631453)
 * Lucky you 😉
    I updated everything in my site, cleaned the thumbnails, purge 
   the cache but nothing change. I’m still looking for fixing it.
 *  Thread Starter [Jellob77](https://wordpress.org/support/users/jellob77/)
 * (@jellob77)
 * [4 years ago](https://wordpress.org/support/topic/problem-with-wordpress-gallery/#post-15631671)
 * I finally found the problem, it was a conflict between Photoswipe and Animsition.
   
   If it can help, the issue is in the value of the option of Animsition called:
   linkElement

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

The topic ‘Problem with wordpress 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/)

## Tags

 * [gallery](https://wordpress.org/support/topic-tag/gallery/)
 * [links](https://wordpress.org/support/topic-tag/links/)
 * [media file](https://wordpress.org/support/topic-tag/media-file/)

 * 3 replies
 * 2 participants
 * Last reply from: [Jellob77](https://wordpress.org/support/users/jellob77/)
 * Last activity: [4 years ago](https://wordpress.org/support/topic/problem-with-wordpress-gallery/#post-15631671)
 * Status: resolved