1
0
Fork 0
mirror of https://github.com/alangrainger/immich-public-proxy.git synced 2025-01-23 16:02:43 +01:00
 issue with video gallery
This commit is contained in:
Alan Grainger 2025-01-12 08:15:03 +08:00
parent 2cb492470f
commit a3095897ef
4 changed files with 6 additions and 7 deletions

View file

@ -2,9 +2,9 @@
<p align="center" width="100%">
<a href="https://hub.docker.com/r/alangrainger/immich-public-proxy/tags">
<img alt="Docker pulls" src="https://badgen.net/docker/pulls/alangrainger/immich-public-proxy?v1.6.0&icon=docker&label=docker%20pulls&color=green&scale=1.1"></a>
<img alt="Docker pulls" src="https://badgen.net/docker/pulls/alangrainger/immich-public-proxy?v1.6.1&icon=docker&label=docker%20pulls&color=green&scale=1.1"></a>
<a href="https://github.com/alangrainger/immich-public-proxy/releases/latest">
<img alt="Latest release" src="https://badgen.net/static/release/v1.6.0/blue?scale=1.1"></a>
<img alt="Latest release" src="https://badgen.net/static/release/v1.6.1/blue?scale=1.1"></a>
<a href="https://immich-demo.note.sx/share/gJfs8l4LcJJrBUpjhMnDoKXFt1Tm5vKXPbXl8BgwPtLtEBCOOObqbQdV5i0oun5hZjQ"><img alt="Open demo gallery" src="https://badgen.net/static/↗🖼️/live%20demo/green?scale=1.1"></a>
</p>

4
app/package-lock.json generated
View file

@ -1,12 +1,12 @@
{
"name": "immich-public-proxy",
"version": "1.6.0",
"version": "1.6.1",
"lockfileVersion": 3,
"requires": true,
"packages": {
"": {
"name": "immich-public-proxy",
"version": "1.6.0",
"version": "1.6.1",
"license": "AGPL-3.0",
"dependencies": {
"archiver": "^7.0.1",

View file

@ -1,6 +1,6 @@
{
"name": "immich-public-proxy",
"version": "1.6.0",
"version": "1.6.1",
"scripts": {
"dev": "ts-node src/index.ts",
"build": "npx tsc",

View file

@ -58,8 +58,6 @@ class LGallery {
loadMoreItems () {
const numberOfItems = 80
if (this.index < this.items.length) {
this.index += numberOfItems
// Append new thumbnails
this.items
.slice(this.index, this.index + numberOfItems)
@ -74,6 +72,7 @@ class LGallery {
<img alt="" src="${item.thumbnailUrl}"/></a>`)
}
})
this.index += numberOfItems
this.lightGallery.refresh()
}
}