Dmytro Semenov
Dmytro Semenov
@AdamPietrasiak, sure, preload image, find its size and only then initialize PhotoSwipe. But you'll need to handle progress indication by yourself.
@sk29110, http://photoswipe.com/documentation/faq.html#image-size
@markfinst I wouldn't recommend using it in production for now.
@fedyd I want to keep the library slim, so video/doc/pdf will unlikely be supported by the core. It should be possible to implement via API though.
> What's the reason behind ditching history API and social sharing/deeplinking? History API is removed because of inconsistent behavior across different routing systems (such as Turbolinks), it also pollutes the...
@Cube707 documented options should work, how exactly are you modifying it? It must be a number between 0 and 1. Please open a separate issue if you won't be able...
v5 does not prevent you from using an external svg or a font, simply set a default value to an empty string `zoomSVG:''` or whatever markup you wish. `pswp--zoomed-in` class...
> why you name the option SVG than? Because its primary usage is SVG or an empty string (if the developer wants to style the icon just via CSS). And...
Hard to tell. Get unminified version of PhotoSwipe and debug what line causes the issue, function `returnToOriginal` (https://github.com/dimsemenov/PhotoSwipe/blob/master/src/js/history.js#L167) is executed after gallery is closed. Or you can just disable history...