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

Adding JQueryMobile Dialog functionality to PhotoSwipe footer

Trying to get a jQueryMobile Dialog to open up upon the clicking of an option in a PhotoSwipe footer. I'm using the following code: options = { enableMouseWheel: true, enableKeyboard:…
JasonMHirst
  • 576
  • 5
  • 12
  • 31
2
votes
1 answer

New page is open with full image when I click on particular image using PhotoSwipe Jquery

I am sucess to display images from sdcard in grid view using PhotoSwipe. Now I want to click on any image from the grid view and that image is shown in next page with full display. But I have problem that I have no fix image so that I cant use…
2
votes
0 answers

PhotoSwipe: Disable Image Zoom-in and Zoom-out Animation

I want to disable the animation effect when clicking / double-tapping an image in PhotoSwipe, how can I achieve this? I checked PhotoSwipe options but didn't find anything there. I also checked other questions here in StackOverflow but didn't find a…
Carlo Fontanos
  • 422
  • 4
  • 10
2
votes
1 answer

JavaScript gallery gets triggered by click on navigation menu

I had combined FixedNav (fixed navigation menu for one page webpages) with PhotoSwipe (JavaScript gallery) on the same webpage. After doing that, when a link in the navigation menu is clicked, it scrolls down to the relevant section of the page. It…
2
votes
1 answer

How to hide image caption from Photoswipe WooCommerce image gallery?

Can someone help me please find a way to hide the caption from Photoswipe WooCommerce image gallery?
2
votes
1 answer

Photoswipe opens only first or second image

I need to have every two of images in gallery embed with extra
. I managed Photoswipe to use all images in that gallery. But I can't fix problem: when I click on any thumb (not first or second one), Photoswipe every time opens only first or…
Gore
  • 163
  • 2
  • 16
2
votes
1 answer

How to load Photoswipe with Ajax to get server side pictures?

I'm searching for a gallery library and I see PhotoSwipe. Actually I just made the tutorial in the documentation. I don't see any tutorial to load my server side pictures dynamically. I need to load them with Ajax because I have a datatables, and…
John
  • 4,711
  • 9
  • 51
  • 101
2
votes
1 answer

How to import and use PhotoSwipe with Aurelia / Typescript?

I am trying to use PhotoSwipe in an Aurelia project, but cannot find a way to make it work. In my aurelio.json under bundles, I have: { "name": "photoswipe", "path": "../node_modules/photoswipe/dist/", "main": "photoswipe.min", …
mark
  • 149
  • 1
  • 6
2
votes
0 answers

Use PhotoSwipe with cli generated Angular 2 project (without System.js)

I want to use PhotoSwipe (http://photoswipe.com/) in my cli generated Angular 2 project. I tried to use the components from this project https://github.com/wollio/angular2_photoswipe, but it didn't work for me. I have no idea about the…
2
votes
2 answers

photoswipe js "Cannot read property 'x' of undefined"

Library return me error on photoswipe.min.js: "Uncaught TypeError: Cannot read property 'x' of undefined" myPhotoswipe code is the same on official site get start: var initPhotoSwipeFromDOM = function(gallerySelector) { // parse slide data (url,…
Marco
  • 161
  • 3
  • 13
2
votes
1 answer

Infinite scroll with photoswipe

I use infinite scroll with imagesloaded and isotope and photoswipe for a photo gallery. When I click on my button "More photos" it loads next photos. But I don't know how to declare those new photos to photoswipe cause the way I do it, when I click…
Webaxones
  • 21
  • 1
  • 8
2
votes
0 answers

photoswipe, stops working when photo thumbnails are put in a DIV

I have setup photoswipe as per the tutorial on here http://photoswipe.com/documentation/getting-started.html and used the example of code about half way down under "How to build an array of slides from a list of links", copied it out and it works…
Wozzzzza
  • 41
  • 4
2
votes
1 answer

Photoswipe and Require.js configuration

I have a module which is dependent upon both, PhotoSwipe and PhotoSwipeUI_Default. I am requiring both modules, like so and inside of my module I am initialising my gallery. EG: define("modules/lightboxStart", ["vendor/PhotoSwipe",…
Antonio Vasilev
  • 2,845
  • 2
  • 14
  • 17
2
votes
1 answer

Photoswipe: Redirecting back a page upon closing gallery

I am implementing Photoswipe into a website, and I cannot get the PIDs to work, which is causing the page to redirect back a page when I close the gallery. E.g., if I am at google.com, then I open my index.html file, I click on a thumbnail, the…
Melanie
  • 21
  • 2
1 2
3
23 24