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 events for beforeNext and beforePrevious

    We have a beforeChange event, but this gives no indication of which direction the user's moving in. I'm having to write my own code to keep track of the last and new index numbers and work out whether we're moving to next or previous. That's normally the kind of event that's built in.

    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…)
    • More than two image sizes (aka srcset)

      I want to define slides with all available image files:
      {
      thumbnailImage: {
      src: 'path/to/thumbnail-image-1.jpg',
      w: 80,
      h: 60
      }
      mediumImage: {
      src: 'path/to/medium-image-1.jpg',
      w:800,
      h:600
      },
      bigImage: {
      src: 'path/to/big-image-1.jpg',
      w: 1400,
      h: 1050
      }
      originalImage: {
      src: 'path/to/original-image-1.jpg',
      w: 1900,
      h: 1350
      }
      },

      and Photoswipe should decide what to use in popup (and update it if window is resized, went to fullscreen etc.)

      38 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        Signed in as (Sign out)
        You have left! (?) (thinking…)
      • 20 votes
        Vote
        Sign in
        Check!
        (thinking…)
        Reset
        or sign in with
        • facebook
        • google
          Password icon
          Signed in as (Sign out)
          You have left! (?) (thinking…)
        • Add an easy option for default scaling of images displayed

          Previous versions of PhotoSwipe had an imageScaleMethod option that would allow you to stretch or shrink image display size to the display area. At the moment you can do a hacky imitation of this by applying a zoom to the current item on beforeChange. But zooming deactivates the swipe on non-touch devices. It would be handy if we could specify how images should fit in the display area.

          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…)
            1 comment  ·  Admin →
          • Retina / HiDPI Screen Support

            Allow additional @2 images in items for HiDPI Displays.
            This, in combination with different image sizes.

            14 votes
            Vote
            Sign in
            Check!
            (thinking…)
            Reset
            or sign in with
            • facebook
            • google
              Password icon
              Signed in as (Sign out)
              You have left! (?) (thinking…)
            • Customize Selectors

              Please customize selectos so that the script does not look for the 'closest' Figure element, but a custom class name, as the thumbnails of a group could be in different divs (ie a layout grid) and Figure tags could be not near each other. Also a custom selector for click actions not necessarely A href tag..

              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…)
                1 comment  ·  Admin →
              • Show thumbnails inside PhotoSwipe container

                Show thumbnails inside PhotoSwipe container, so user can slide to any image from the gallery by clicking on it.

                277 votes
                Vote
                Sign in
                Check!
                (thinking…)
                Reset
                or sign in with
                • facebook
                • google
                  Password icon
                  Signed in as (Sign out)
                  You have left! (?) (thinking…)
                • Discourage save file as

                  For instance, placing a div over the image, or capture the right click over an image and replacing the context menu with an alert message.

                  24 votes
                  Vote
                  Sign in
                  Check!
                  (thinking…)
                  Reset
                  or sign in with
                  • facebook
                  • google
                    Password icon
                    Signed in as (Sign out)
                    You have left! (?) (thinking…)
                  • Ability to customize display of Social Share Buttons (not just an arrow)

                    To increase engagement (shares), it would be much more beneficial to have an option to display social media icons at first glance without needing to click on the "Share arrow" first. More steps = less engagement. Also, the share arrow can be easily overlooked where as social media icons are obvious and encourages clicking. Thanks!!!

                    24 votes
                    Vote
                    Sign in
                    Check!
                    (thinking…)
                    Reset
                    or sign in with
                    • facebook
                    • google
                      Password icon
                      Signed in as (Sign out)
                      You have left! (?) (thinking…)
                    • Goto Full Screen Directly

                      Please create a option to show the slide show in Full Screen if the browser supports it.

                      26 votes
                      Vote
                      Sign in
                      Check!
                      (thinking…)
                      Reset
                      or sign in with
                      • facebook
                      • google
                        Password icon
                        Signed in as (Sign out)
                        You have left! (?) (thinking…)
                      • 18 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  ·  Admin →
                        • Slide on mouse scroll

                          Slide images next and prev on mouse scroll when not in zoom mode

                          24 votes
                          Vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            Signed in as (Sign out)
                            You have left! (?) (thinking…)
                          • autoplay

                            Would like the option to automatically display each image after a specified pause duration.

                            34 votes
                            Vote
                            Sign in
                            Check!
                            (thinking…)
                            Reset
                            or sign in with
                            • facebook
                            • google
                              Password icon
                              Signed in as (Sign out)
                              You have left! (?) (thinking…)
                            • I want additional fields of the SQL table contents to show next to the image as description

                              I have a sql database and a table which has fields thumbnail, bigger image, qty, size, color, price etc. I am able to display the thumbnails and by clicking I am able to display the image, how can I display the other fields from the same table record?

                              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…)
                              • Support for background-image thumbnails

                                An maybe could possibly use the full image thumb indifferent of the background soft-cropping (set on the element via overflow: hidden).

                                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…)
                                • images only for zoom

                                  I like show high resolution images when the user zooms.
                                  Can I do it?

                                  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…)
                                  • slides with html and vertical scroll

                                    I have a slide with html content, but I need the vertical scroll, because the content is very long, is there any way to turn? Thank You

                                    22 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  ·  Admin →
                                    • Option to turn off secondary zoom

                                      Unless I am missing something, there does not appear to be an option to control whether or not the secondary zoom (ie the zoom in that occurs when user clicks an image that can be larger than the initial zoomed-in size). I have used the getDoubleTapZoom() option to set the maximum zoom to item.initialZoomLevel, but this doesn't prevent the cursor changing to a magnifier when it's over the image. I simply want the image to always close when it's clicked, unless a left/right arrow is clicked of course.

                                      For the time being I've changed ui.onGlobalTap() to call close() regardless of…

                                      17 votes
                                      Vote
                                      Sign in
                                      Check!
                                      (thinking…)
                                      Reset
                                      or sign in with
                                      • facebook
                                      • google
                                        Password icon
                                        Signed in as (Sign out)
                                        You have left! (?) (thinking…)
                                      • What about integrating with Masonry?

                                        I just download your plugin and trying to integrate with Masonry, I think it would be cool...

                                        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…)
                                          1 comment  ·  Admin →
                                        • onStartDrag event

                                          Hi!

                                          I need onStartDrag event for hide an element when the user swipe image.

                                          Thanks

                                          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…)
                                          • Don't see your idea?

                                          Feature Requests & Ideas

                                          Feedback and Knowledge Base