summary refs log tree commit diff stats
path: root/resources/js/gallery.js
Commit message (Collapse)AuthorAgeFilesLines
* Display gallery title, fix authentication, show directoriesAndinus2022-06-111-1/+1
| | | | | | | - Earlier non-authenticated users could access the images too. - Serve original image if thumbnail doesn't exist. - Show directories in gallery. - Remove lazy loading attribute.
* Scope css, improve image error handling, show progress barAndinus2022-06-111-35/+61
| | | | | | - Errors are shown if some images fail to load. - Progress bar is shown while images are loading. - .pack is called after all images have been loaded.
* Add alt tags to images, fix flash of unstyled contentAndinus2022-06-101-1/+3
| | | | | | | - FOUC: On firefox, maybe the '@import' rule caused this. Also tried out lightGallery.js for lightbox, it doesn't work with text & anyways, it's buggy with bricks.js & you have to request license key.
* Improve responsiveness, fix bricks.js layoutAndinus2022-06-101-19/+44
| | | | | | The images weren't laid out properly on some devices. Solution: https://stackoverflow.com/questions/48987395/check-if-all-the-images-in-the-page-are-loaded
* Fix gallery item size, other improvementsAndinus2022-06-101-3/+4
|
* Add bricks.js for masonry layout, fix password inputAndinus2022-06-101-0/+40
multi-column didn't do what I wanted. bricks.js does the masonry layout, I think left-to-right would be even better but we'll go with this.