PhotoSwipe icon indicating copy to clipboard operation
PhotoSwipe copied to clipboard

Fit a div 100% and opening full-screen as an overlay when onclick'd?

Open Inlesco opened this issue 10 years ago • 2 comments

I haven't figured this out. I've configured pswp to display all images as a full-screen gallery. Where can make pswp__container to fit into a wrapper div? How do I make pswp an overlay so it goes full-screen whenever I click on it?

Also, a question on UI: how to make counter show when there's 1 photo in the gallery?

Inlesco avatar Mar 25 '15 18:03 Inlesco

For now there is no such option, though this feature is planned.

I recommend to just implement very simple scroller with overflow-x:scroll (you can use iscroll as a fallback, or https://github.com/filamentgroup/Overthrow-Sidescroller, or any other slider/carousel), click on images in which - opens PhotoSwipe. Or just stack images under each other, or use a grid, it'll be much more accessible/seo-friendly.

dimsemenov avatar Mar 26 '15 17:03 dimsemenov

+1

louisdmli avatar Apr 05 '15 02:04 louisdmli