Use album cover for og:image

Co-authored-by: Pierre KELBERT <root@mout.ch>
This commit is contained in:
Alan Grainger
2026-05-30 10:36:09 +08:00
parent 1906f3ceeb
commit 356486bb75
4 changed files with 15 additions and 4 deletions
+1
View File
@@ -240,6 +240,7 @@ class Immich {
}
// Replace the empty link.assets array with the array of assets from the album
link.assets = album.assets
if (link.album) link.album.albumThumbnailAssetId = album.albumThumbnailAssetId
}
link.password = password