Title: Using with NextGen
Last modified: August 6, 2017

---

# Using with NextGen

 *  Resolved [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/using-with-nextgen/)
 * I followed rafaelmagic’s (@rafaelmagic) post from about a year ago to get this
   working with NextGen, and it works. Thanks, rafaelmagic. However, on mobile, 
   the images open too large and off to the right. They swipe okay, but you can’t
   see the whole image.
 * Any ideas on how to fix this? Thanks for any help.

Viewing 1 replies (of 1 total)

 *  Thread Starter [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * (@jamminjames)
 * [8 years, 9 months ago](https://wordpress.org/support/topic/using-with-nextgen/#post-9386185)
 * Okay, I put this in the media queries for tablets and smaller, and it seems to
   be working:
 *     ```
       .pswp img {
           max-width: 100% !important;
       }
       ```
   

Viewing 1 replies (of 1 total)

The topic ‘Using with NextGen’ is closed to new replies.

 * ![](https://s.w.org/plugins/geopattern-icon/photo-swipe.svg)
 * [PhotoSwipe](https://wordpress.org/plugins/photo-swipe/)
 * [Frequently Asked Questions](https://wordpress.org/plugins/photo-swipe/#faq)
 * [Support Threads](https://wordpress.org/support/plugin/photo-swipe/)
 * [Active Topics](https://wordpress.org/support/plugin/photo-swipe/active/)
 * [Unresolved Topics](https://wordpress.org/support/plugin/photo-swipe/unresolved/)
 * [Reviews](https://wordpress.org/support/plugin/photo-swipe/reviews/)

## Tags

 * [gallery](https://wordpress.org/support/topic-tag/gallery/)
 * [image](https://wordpress.org/support/topic-tag/image/)
 * [nextgen](https://wordpress.org/support/topic-tag/nextgen/)

 * 1 reply
 * 1 participant
 * Last reply from: [jamminjames](https://wordpress.org/support/users/jamminjames/)
 * Last activity: [8 years, 9 months ago](https://wordpress.org/support/topic/using-with-nextgen/#post-9386185)
 * Status: resolved