thomasjacquin / allsky-portal

A simple, responsive web interface to control an allsky camera connected to a Raspberry Pi
GNU General Public License v3.0
35 stars 22 forks source link

images.php: navbar limit of 50 #64

Closed EricClaeys closed 3 years ago

EricClaeys commented 3 years ago

Fixes Project "allsky-portal loads too many thumbnails when viewing image". When viewing images in the WebUI there are typically hundreds or thousands per day. When clicking on an image it brings up a larger version and put a navigation bar at the bottom with tiny versions of ALL the images. This takes forever when there are thousands of images. My solution is to disable the navigation bar when > 50 images are displayed (50 are displayed quickly on a Pi 4.