4021c66cec
Show a badge on the gallery thumbnail and a lightbox toggle that plays the photo's clip over the still, matching Immich's own viewer. The clip is a hidden Immich asset, but the existing share key already authorises it - checkSharedLinkAccess whitelists each shared asset's livePhotoVideoId - so no new upstream access is involved. The video route accepts a clip id only when a shared still points at it. Both enumeration paths already carry the field (AssetResponseDto for individual shares, TimeBucketAssetResponseDto for album buckets), so album shares cost no extra upstream requests. Gated by ipp.motionPhotos (default true). The clip is preload="none" and is only fetched when a visitor presses the toggle.
63 lines
1.5 KiB
JSON
63 lines
1.5 KiB
JSON
{
|
|
"ipp": {
|
|
"responseHeaders": {
|
|
"Cache-Control": "public, max-age=2592000",
|
|
"Access-Control-Allow-Origin": "*"
|
|
},
|
|
"maxDownloadQuality": "original",
|
|
"maxZoomQuality": "preview",
|
|
"motionPhotos": true,
|
|
"downloadedFilename": 0,
|
|
"allowDownload": 0,
|
|
"downloadFromImmichConcurrencyLimit": 20,
|
|
"allowSlugLinks": true,
|
|
"showHomePage": true,
|
|
"showMetadata": {
|
|
"description": {
|
|
"caption": false,
|
|
"sidebar": false
|
|
},
|
|
"exif": {
|
|
"dateTimeOriginal": false,
|
|
"timeZone": false,
|
|
"fileName": false,
|
|
"dimensions": false,
|
|
"fileSize": false,
|
|
"make": false,
|
|
"model": false,
|
|
"lensModel": false,
|
|
"exposureTime": false,
|
|
"iso": false,
|
|
"fNumber": false,
|
|
"focalLength": false
|
|
},
|
|
"location": {
|
|
"city": false,
|
|
"state": false,
|
|
"country": false,
|
|
"gps": false
|
|
}
|
|
},
|
|
"customInvalidResponse": false,
|
|
"gallery": {
|
|
"singleImage": false,
|
|
"singleVideo": true,
|
|
"singleItemAutoOpen": true,
|
|
"showTitle": true,
|
|
"showDescription": false,
|
|
"showExpiryDate": false,
|
|
"expiryDateFormat": "YYYY-MM-DD",
|
|
"expiryDateLocale": "",
|
|
"groupByDate": false,
|
|
"showDownloadZip": true,
|
|
"cacheTime": 300
|
|
},
|
|
"lightbox": {
|
|
"showArrows": true,
|
|
"showDownload": true,
|
|
"mobileArrows": false,
|
|
"autoPlayVideos": false
|
|
}
|
|
}
|
|
}
|