Feature Requests & Ideas

Share your ideas on how PhotoSwipe can be improved. To report bugs please use GitHub. If you have questions regarding implementation use StackOverflow.

I suggest you ...

You've used all your votes and won't be able to post a new idea, but you can still search and comment on existing ideas.

There are two ways to get more votes:

  • When an admin closes an idea you've voted on, you'll get your votes back from that idea.
  • You can remove your votes from an open idea you support.
  • To see ideas you have already voted on, select the "My feedback" filter and select "My open ideas".
(thinking…)

Enter your idea and we'll search to see if someone has already suggested it.

If a similar idea already exists, you can support and comment on it.

If it doesn't exist, you can post your idea so others can support it.

Enter your idea and we'll search to see if someone has already suggested it.

  1. Add simple constructor.

    Not usefly.
    var gallery = new PhotoSwipe(jQuery("a.image"));
    gallery.init();
    This not working.
    How create lightbox for all link with image source?
    :(

    1 vote
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      You have left! (?) (thinking…)
      0 comments  ·  Flag idea as inappropriate…  ·  Admin →
    • Fix the IOS and certain windows browser "save image as..." capability.

      I found users having various bugs related to saving images in the gallery when trying to right-click or hold-tap on an image in an open gallery.

      Seems like windows 10 browsers — right clicking causes the gallery to close instead of giving the user the option to save the image.

      On IOS Safari — the user can hold-tap on the image and never get an option to save the image.

      On Android Chrome and all the MacOS browsers I've tested it with, I am still able to save the image on a right-click or hold-tap.

      1 vote
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        Signed in as (Sign out)
        You have left! (?) (thinking…)
        0 comments  ·  Flag idea as inappropriate…  ·  Admin →
      • Allow closing of mobile gallery when clicking outside of image

        I've had people complain that on mobile devices they have to click the small "x" button to close the gallery. I personally don't care and I can see why it was developed the way it was (for sloppy fingers) — but is there, or can there be a configurable initialization option for allowing the gallery to be closed clicking outside the image and not directly on the X button?

        It works like this out of the box on desktop browsers and not mobile.

        1 vote
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)
          You have left! (?) (thinking…)
          0 comments  ·  Flag idea as inappropriate…  ·  Admin →
        • Watermark

          Hi wonder if you could add a transparent watermark incorporated on to the images via an .png file

          If this could be done at a high z level to stop the unwise from stealing the images by simply right clicking ( i know this wouldn't stop the pro's and cache hunters)

          i produced this css code which worked on the main gallery image, but cant get it on image preview /

          img.pwsp___img {
          content: '' !important;
          position: absolute !important;
          left: 0 !important;
          top: 0 !important;
          right: 0 !important;
          bottom: 0 !important;
          background: url(https://irp-cdn.multiscreensite.com/c985c62c/dms3rep/multi/kisspng-nfl-draft-watermark-clip-art-stamp-5ac82f995269b7.4579887015230688253376-37705a56.png) !important;
          background-size: cover !important;
          }

          1 vote
          Vote
          Sign in
          Check!
          (thinking…)
          Reset
          or sign in with
          • facebook
          • google
            Password icon
            Signed in as (Sign out)
            You have left! (?) (thinking…)
            1 comment  ·  Flag idea as inappropriate…  ·  Admin →
          • Center the images on every resize

            On Every Resize instead of blank space on the sides , the photos must be justify to the center.

            3 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              Signed in as (Sign out)
              You have left! (?) (thinking…)
              0 comments  ·  Flag idea as inappropriate…  ·  Admin →
            • Horizontal swipe sensitivity.

              Horizontal swipe sensitivity. Need a setting so that easier to move (to swipe) image horizontally, i means need less effort to swipe the image.

              1 vote
              Vote
              Sign in
              Check!
              (thinking…)
              Reset
              or sign in with
              • facebook
              • google
                Password icon
                Signed in as (Sign out)
                You have left! (?) (thinking…)
                0 comments  ·  Flag idea as inappropriate…  ·  Admin →
              • Button on mobile devices (form)

                I love the Gallery, i would love to add an Paypal Button to it. It works flawless on the Computer. Unfortunately not on mobile devices.

                Any Idea why not? I guess its because if you press the touch screen the captivation disappears?

                1 vote
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                  0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                • Problem with checkbox and radio input

                  I need for a work to use checkbox and radio input and still use Photoswipe but this inputs are disabled in Photowsipe...
                  Why ??
                  Can I reactivated this inputs ?

                  1 vote
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                  • provide a list of item array properties

                    I would like to have (or know where there is) a list of properties that can be added to the items array. for example, the demo talks about the "author" property and says you can add more in that section, but what can be added? How would I know that title: meant caption, etc. I'm sure its in the documentation somewhere but I can't find it.

                    1 vote
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                      0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                    • More access to internal data

                      I think many of us would benefit from this.

                      I get it that it keeps only 3 slider in html. But we could really use those:

                      gallery.nextItem - object with the next item in array - same with prevItem

                      gallery.nextItemElement - dom element bound to the nextItem - same with prevItemElement

                      gallery.nextItemElementIndex - index of the element in dom 0/1/2

                      I have static elements that needs to be added on each slide and those elements must slide with the photo, not be fixed like the photo counter.. I've added some extra js to work this thing out but it would…

                      1 vote
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                        0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                      • jQuery Mobile compatibility

                        I would like to see a version compatible to jQuery Mobile.
                        Because both CSS use classes like "ui-btn" they don't play along very well. It disturbs the UI quite a bit.

                        1 vote
                        Vote
                        Sign in
                        Check!
                        (thinking…)
                        Reset
                        or sign in with
                        • facebook
                        • google
                          Password icon
                          Signed in as (Sign out)
                          You have left! (?) (thinking…)
                          0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                        • Captions didn't update if accidentally clicked on pictures [solved]

                          Comment the lines In photoswipde-ui-default in this method:

                          ui.update = function() {
                          // Don't update UI if it's hidden

                          // the lines commented in this function prevent a bug where the captions wouldn't update if clicked anywhere on the pictures or captions.
                          // if(_controlsVisible && pswp.currItem) {

                          ui.updateIndexIndicator();

                          if(_options.captionEl) {
                          _options.addCaptionHTMLFn(pswp.currItem, _captionContainer);

                          _togglePswpClass(_captionContainer, 'caption--empty', !pswp.currItem.title);
                          }

                          _overlayUIUpdated = true;

                          // } else {
                          // _overlayUIUpdated = false;
                          // }

                          if(!_shareModalHidden) {
                          _toggleShareModal();
                          }

                          _countNumItems();
                          };

                          3 votes
                          Vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            Signed in as (Sign out)
                            You have left! (?) (thinking…)
                            0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                          • add .webp image format

                            how is possible that?
                            i have enable .webp format inside my wp - but photoswipe cant see any .webp images - and so i cant serve a lot of images.

                            When we have the pleasure to see that?

                            1 vote
                            Vote
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              Signed in as (Sign out)
                              You have left! (?) (thinking…)
                              0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                            • Built in option to close modal after last slide

                              Pretty sure this doesn't exist at the moment, and I think this would be a good addition.

                              3 votes
                              Vote
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                Signed in as (Sign out)
                                You have left! (?) (thinking…)
                                0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                              • Anything that might be localized (text, url's) should be taken out of the .js files

                                Anything that might be localized (text, url's) should be taken out of the .js files. Not sure what is the better implementation, but may allow us to use json to "feed" the data into the appropriate classes and functions?

                                1 vote
                                Vote
                                Sign in
                                Check!
                                (thinking…)
                                Reset
                                or sign in with
                                • facebook
                                • google
                                  Password icon
                                  Signed in as (Sign out)
                                  You have left! (?) (thinking…)
                                  1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                                • Pagination or Load More option for large galleries

                                  An option to load an X amount of images at a time would be useful for those large galleries.

                                  5 votes
                                  Vote
                                  Sign in
                                  Check!
                                  (thinking…)
                                  Reset
                                  or sign in with
                                  • facebook
                                  • google
                                    Password icon
                                    Signed in as (Sign out)
                                    You have left! (?) (thinking…)
                                    0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                  • Is it possible to add the caption on the thumbnail

                                    Can yo add the caption to the thumbnail image.

                                    4 votes
                                    Vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      Signed in as (Sign out)
                                      You have left! (?) (thinking…)
                                      1 comment  ·  Flag idea as inappropriate…  ·  Admin →
                                    • The amount of time I spent initializing a gallery... Was absolutely ridiculous.

                                      Don't make us do half the work. My initialization is 5 functions and a couple hundred lines of code. It is ridiculous. Thanks for the work and it is an excellent plugin for the end user, but I spent a day today initializing *a lightbox*. The only word I have for this, is ridiculous.

                                      A constructor should construct. hence the name.

                                      51 votes
                                      Vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        Signed in as (Sign out)
                                        You have left! (?) (thinking…)
                                        4 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                      • Image Selection

                                        Allow the user to select an image in the gallery rather than view a larger version.

                                        http://neptunian.github.io/react-photo-gallery/examples/selection.html

                                        7 votes
                                        Vote
                                        Sign in
                                        Check!
                                        (thinking…)
                                        Reset
                                        or sign in with
                                        • facebook
                                        • google
                                          Password icon
                                          Signed in as (Sign out)
                                          You have left! (?) (thinking…)
                                          0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                        • Groups

                                          Add groups like fresojs does

                                          1 vote
                                          Vote
                                          Sign in
                                          Check!
                                          (thinking…)
                                          Reset
                                          or sign in with
                                          • facebook
                                          • google
                                            Password icon
                                            Signed in as (Sign out)
                                            You have left! (?) (thinking…)
                                            0 comments  ·  Flag idea as inappropriate…  ·  Admin →
                                          ← Previous 1 3 4 5 6 7
                                          • Don't see your idea?

                                          Feature Requests & Ideas

                                          Feedback and Knowledge Base