Questions tagged [photoswipe]

PhotoSwipe is a JavaScript image gallery for mobile and desktop, modular, framework independent.

PhotoSwipe is a javascript-based image gallery for mobile and touch devices. The source code is available on GitHub.

350 questions
2
votes
1 answer

Responsive PhotoSwipe with large controls on mobile device

In this official codepen, on my mobile device the controls and caption look very small: http://codepen.io/dimsemenov/pen/ZYbPJM I tried adding this to the HTML but it didn't make any difference:
John Kornick
  • 301
  • 1
  • 6
  • 14
2
votes
1 answer

Photoswipe: How to show captions for a photo that doesn't have a thumb on display page

I have a very simple Photoswipe gallery on this page: http://neighborhoodpets.wink1733.com How do I add a caption to a photo that does not have a thumb showing on the home page? I only want it to show when the Photoswipe gallery is activated. Right…
swink1733
  • 27
  • 1
  • 6
2
votes
1 answer

PhotoSwipe How to center vertically thumbnails? Thank

I have a problem, I don't understand why I can't get thumbnails center vertically on the list? I tried: .my-gallery figure { display: block; float: left; margin: 0 5px 20px; vertical-align: middle; width:…
2
votes
0 answers

How to set scroll position after close image?

I'm using photoswipe to generate photo gallery on my website. The gallery is horizontal orientation. How to set position scroll? JavaScript code var initPhotoSwipeFromDOM = function(gallerySelector) { // Pass data to PhotoSwipe and initialize…
edrenchev
  • 21
  • 3
2
votes
2 answers

Photoswipe Custom Button

Is it possible to add a button to Photoswipe? I know that I can make a on-click event to a button, but then i can't change the button-icon. Is it possible to just add a new button that print the picture with the normal java script funktion 'print' ?
Jesaya00
  • 21
  • 1
  • 3
2
votes
2 answers

photoswipe - how to make custom pid work

i am building webside with photoswipe, it nice and has deeplinking kind of implementation, but the only problem with this pid gid implementation is that if someone link your photo somewhere using hash and you will remove that photo from your…
altair13
  • 21
  • 4
2
votes
1 answer

Why would the zoom button not show up in photoswipe?

I am trying to implement photoswipe in a new website, but for the life of me, I can't figure out why the zoom button won't show up. I tried in chrome and IE. I can pinch to zoom in mobile, but that may just be the built in zoom capability of the…
Chris
  • 31
  • 2
2
votes
2 answers

Photoswipe 4: How to properly disable "getThumbBoundsFn" in the pure Vanilla JS implementation with IE8 support

This code works well for a gallery where all images are indexed as thumbnails, but when just one index picture is shown on the site, and all other pictures are hidden, photoswipe hangs itself upon trying to return from a picture which is…
2
votes
2 answers

PhotoSwipe with Isotope (galleries)

Trying to get my gallery functioning properly. Right now I am using isotope.js to filter my gallery, and photoswipe.js as the lightbox. My problem is that even though it is filtering the gallery properly, photoswipe still shows all of the images. I…
Morgan
  • 21
  • 4
2
votes
1 answer

Easy Way to Invoke PhotoSwipe On Images List

From the document of PhotoSwipe I got the below snippet.
2
votes
1 answer

Is image dimensions really needed?

I've got an issue with the required image dimensions in the new Photoswipe. The CMS I use can't supply the image dimensions so that I can add the attribute data-size="" to my A tags. Is there any way to avoid having to supply the image dimensions?
2
votes
1 answer

PhotoSwipe multiple galleries on one site

I use PhotoSwipe on Typo3 based homepage using the yag-gallery extension and PhotoSwipe. I have 5 galleries on one site. When I click an image in one of the galleries, only the images of the last gallery are shown. The HTML looks like this:
mimii
  • 21
  • 2
2
votes
0 answers

like button in photoswipe

i have photoswipe and its working fine but i want to add like and comment button in the bottom. i have added those buttons and comment input field is also added but i want like an comment to be saved in server without refreshing the page, here is my…
Priya
  • 165
  • 1
  • 12
2
votes
2 answers

Photoswipe open photo directly full screen

I would like to open the Photoswipe gallery with jQuery Mobile directly in full screen instead the default
  • list. I saw the example page on the package downloaded from the plugin site (08-exclusive-mode.html) but I can't get it to work on…
Henry8
  • 266
  • 3
  • 8
  • 25
2
votes
1 answer

photoswipe gallery – X-icon between last and first image

photoswipe 3.0.5, jquery 1.8.2 gallery works fine. Only there is a black scrren with the X icon between the last and the first image of the carousel, appending class = ps-carousel-item-0 ps-carousel-item-error I used example 02-jquery. The js…
wishbone
  • 65
  • 5