mirror of
https://github.com/alangrainger/immich-public-proxy.git
synced 2024-12-28 03:41:58 +00:00
Update docs
This commit is contained in:
parent
f58d99d2ec
commit
efaa9ba20a
1 changed files with 26 additions and 0 deletions
26
README.md
26
README.md
|
@ -52,3 +52,29 @@ docker-compose up -d
|
|||
|
||||
Now whenever you share an image or gallery through Immich, it will automatically create the
|
||||
correct public path for you.
|
||||
|
||||
## Configuration
|
||||
|
||||
The gallery is created using [LightGallery](https://github.com/sachinchoolur/lightGallery). You can change various settings to change how your gallery displays by
|
||||
updating the `lightGallery` section in `/views/gallery.ejs`:
|
||||
|
||||
```javascript
|
||||
lightGallery(document.getElementById('lightgallery'), {
|
||||
plugins: [lgZoom, lgThumbnail, lgVideo, lgFullscreen],
|
||||
speed: 500
|
||||
})
|
||||
```
|
||||
|
||||
For example to disable the download button for images, you would add `download: false`:
|
||||
|
||||
```javascript
|
||||
lightGallery(document.getElementById('lightgallery'), {
|
||||
plugins: [lgZoom, lgThumbnail, lgVideo, lgFullscreen],
|
||||
download: false,
|
||||
speed: 500
|
||||
})
|
||||
```
|
||||
|
||||
You can find all of LightGallery's settings here:
|
||||
|
||||
https://www.lightgalleryjs.com/docs/settings/
|
||||
|
|
Loading…
Reference in a new issue