Piwigo / piwigo-bootstrap-darkroom

A mobile-ready and feature-rich theme for Piwigo photo gallery, based on Bootstrap 4
Apache License 2.0
83 stars 40 forks source link

Don't reload entire page when loading new pictures #180

Closed straaljager closed 5 years ago

straaljager commented 5 years ago

Hi, first of all the Bootstrap Darkroom theme is extremely nice and gives Piwigo a professional look, many thanks for open-sourcing this.

However there is one thing that annoys me and my teammates which is the fact that the page has to reload every time while browsing through the picture bar at the bottom. Also the pictures ribbon fades out and fades in again, which is annoying (especially since everything else works fine), for example on this page: https://pwgdemo.kuther.net/picture/11-dsc02679/category/5-travel

Is it possible to use AJAX to load new content without reloading the full page?

tkuther commented 5 years ago

Short answer: no. Just use the PhotoSwipe slideshow if you want to cull through faster. Personally, I do not use the picture detail page that much.

Long answer: rewriting the picture page to use AJAX would require the Piwigo webservice API to expose all required information (metadata, comments, etc), which is not the case.

straaljager commented 5 years ago

OK, thanks for your reply, I will try the Photoswipe feature.