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. Image size to cover whole screen

    I would be nice to add a feature set up an option like css background-size: cover to cover on screen when click thumbnail.

    48 votes
    Vote
    Sign in
    Check!
    (thinking…)
    Reset
    or sign in with
    • facebook
    • google
      Password icon
      Signed in as (Sign out)
      You have left! (?) (thinking…)
    • Double click on zoomable images to close gallery

      I think this could be a useful desktop feature.

      8 votes
      Vote
      Sign in
      Check!
      (thinking…)
      Reset
      or sign in with
      • facebook
      • google
        Password icon
        Signed in as (Sign out)
        You have left! (?) (thinking…)
      • image padding on mobile

        I think it would be great to have the option to add a padding around images in the mobile view. Some people prefer when images have some framing around them.

        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  ·  Admin →
        • Add a button below the thumbnails (for the administration of photo information for example)

          I load my images with URLs stored in database.
          I build the tags contained in the rows retrieved according to my table like this :

          while ($photo = mysql_fetch_array($photoQuery) ) {
          $pathPetite = $path.'/'.$photo['petite'];
          $pathGrande = $path.'/'.$photo['grande'];
          $pathOriginale = $path.'/'.$photo['originale'];

          $miniaturePath = $pathPetite;
          $galeriePath = $pathGrande;

          list($width, $height) = getimagesize($galeriePath);

          echo '<figure itemprop="associatedMedia" itemscope itemtype="http://schema.org/ImageObject">';
          echo ' <a href="./'.$galeriePath.'" itemprop="contentUrl" data-size="'.$width.'x'.$height.'">';
          echo ' <center><img src="./'.$miniaturePath.'" itemprop="thumbnail" alt="'.$photo['description'].'" title="'.$photo['id'].'-'.$photo['originale'].'" /></center>';
          echo ' </a>';
          echo ' <figcaption itemprop_titre="'.$photo['titre'].'" itemprop_desc="'.$photo['description'].'" itemprop_originaleurl="'.$pathOriginale.'"></figcaption>';
          if ($copocorp_user_id == $album['idUser']) {
          sql2html("SELECT titre as 'Titre', description as 'Description', petite as 'Petite', grande as 'Grande', originale as…

          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 →
          • Add comment and like section

            I tried to change the layout, But I failed. It would be nicer if you'll allow html content with images.

            31 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 →
            • White version!

              Hi. It is posible to add a option for all white theme? I tried to do it but is too complicate to my. Some people does't like black background.

              Regards

              39 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 loading class name to images that are loading.

                I had this problem that I wanted to add a white background to loaded images. But this is impossible without manipulating the .js till great extend. Would be nice to have native support.

                This is useful because some images have transparent background.

                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…)
                • Add attribute with item index to images.

                  The listener functions often return an index. But what if we dynamically want to find this image in the DOM based on that index? Would be very handy.

                  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…)
                  • categories

                    is it possible to add categories of images??

                    6 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…)
                      • Option to Show Images Fully Zoomed

                        It would be ideal for products to show images fully zoomed to save the user the step of zooming in. Similar to the mobile site allsaints.com which is quite popular.

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

                          Hello Dmitry,

                          I have all references being accessed externally on Codepen (http://codepen.io/forrestwhitmore/pen/LVvvZv) and it works there. However, when the same HTML code is applied within a Wordpress page, nothing occurs.

                          All references are within the Wordpress header.php for testing purposes. Any ideas why this would not work?

                          Thank you

                          6 votes
                          Vote
                          Sign in
                          Check!
                          (thinking…)
                          Reset
                          or sign in with
                          • facebook
                          • google
                            Password icon
                            Signed in as (Sign out)
                            You have left! (?) (thinking…)
                          • Do not destoy it after close

                            For example, I have the only one gallery on my page. I don't want to create new gallery object every time.

                            var g = new PhotoSwipe( ... )
                            g.init()

                            so when i want to open it after close i should create new PhotoSwipe object; But i want something like g.open() instead

                            Thank!

                            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…)
                            • Click to advance to next image

                              Presently, clicking an image (optionally) will zoom, if the image is not at 100% scale, or close the slideshow.

                              I'd like an option to instead have the mouse click advance to the next image in the slideshow. This would set the aforementioned behavior false, of course. Zooming would then be accessible only using the toolbar icon, and perhaps via double-click.

                              16 votes
                              Vote
                              Sign in
                              Check!
                              (thinking…)
                              Reset
                              or sign in with
                              • facebook
                              • google
                                Password icon
                                Signed in as (Sign out)
                                You have left! (?) (thinking…)
                              • Option for replacement url on share buttons

                                I am loading galleries on a main page of a news/photo website throug ajax. The normal share buttons get the right url's to a secondary page with only desired active article (with photo's).
                                Because of the ajax loading, the share menu has the link to the main page. The article may even not be there anymore..

                                So i'd like to give the gallery' s a "static link" ?
                                (hope you understand. Enlisch is not my native language)
                                The gallery's are on: http://www.gaellemuun.nl/nieuws-genemuiden.html
                                some articles have a gallery which display's after click on "Lees verder" (Read more)

                                Regards,
                                Klaas Noordstra

                                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  ·  Admin →
                                • Tolerance for zoom-button

                                  The zoom-button shows as soon, as a zoom is possible. It still doesn't make sense to zoom in any case, though. For example, if only a few pixels can be zoomed in, it is no advantage.

                                  I suggest to add an option "zoom tolerance" in pixels or percent, which allows for to adjust, when the zoom-button should show (for example only if the image can be zoomind in by more than 20 %).

                                  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 →
                                  • Add support for pinch-out zoom gesture to open gallery

                                    Some users automatically attempt to use the pinch-out zoom gesture on images to start zooming in. It would be nice to have the gallery open with this gesture along with the tap that is already supported.

                                    This is a great plugin!

                                    13 votes
                                    Vote
                                    Sign in
                                    Check!
                                    (thinking…)
                                    Reset
                                    or sign in with
                                    • facebook
                                    • google
                                      Password icon
                                      Signed in as (Sign out)
                                      You have left! (?) (thinking…)
                                    • A with-a-white background-version

                                      I almost made it: all white with black icons, only if I hover the share and close etc. icons, it keeps showing a black background, the arrows are fine. I have tried everything in the css-files (default-skin.css) for a whole day to get rid of that, and when I did... the arrows didn't function well anymore....has anybody a suggestion..?

                                      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…)
                                      • Add 'staticClick' functionality

                                        This would easily allow Photoswipe to be combined Draggable image galleries

                                        6 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 RTL option

                                          It would be great to create a Right to left option to show it in inverse way, as the counter fits and the the goTo function getting fits to it.

                                          16 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