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
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
is it possible to add categories of images??6 votes
Dmitry, you should really publish this as a plugin on codecanyon. You'd earn a nice amount of money in no time with this!18 votes
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
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 you6 votes
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( ... )
so when i want to open it after close i should create new PhotoSwipe object; But i want something like g.open() instead
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
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)
Klaas Noordstra4 votes
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
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
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
This would easily allow Photoswipe to be combined Draggable image galleries6 votes
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
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
I want to define slides with all available image files:
and Photoswipe should decide what to use in popup (and update it if window is resized, went to fullscreen etc.)38 votes
It’s unlikely that there will be jQuery version in the main PhotoSwipe repository. But guys from Tuts+ wrote a tutorial on how to use new PhotoSwipe with jQuery http://webdesign.tutsplus.com/tutorials/the-perfect-lightbox-using-photoswipe-with-jquery--cms-23587 , it should help.
also, related GitHub issue: https://github.com/dimsemenov/PhotoSwipe/issues/771
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
Allow additional @2 images in items for HiDPI Displays.
This, in combination with different image sizes.14 votes
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
- Don't see your idea?