fixes #316 temporarily deactivate photoswipe & slick
fixes #316 temporarily deactivate photoswipe & slick

When images > 1000, temporarily deactivate photoswipe and slick
Also only retrieve necessary information from database

tkuther/piwigo-bootstrap-darkroom,tkuther/piwigo-bootstrap-darkroom