#162 add support for fetching fullsize image

This commit is contained in:
Alan Grainger
2026-05-25 20:14:59 +08:00
parent 845875c548
commit 04aa1d9dc9
4 changed files with 75 additions and 56 deletions
+1
View File
@@ -22,6 +22,7 @@ import { thumbHashToDataURL } from '/share/static/thumbhash/thumbhash.js'
* @property {'IMAGE'|'VIDEO'} type
* @property {string} previewUrl
* @property {string} thumbnailUrl
* @property {string} [fullsizeUrl] Optional full-res JPEG; used as the zoom-upgrade target in the lightbox
* @property {string} [downloadUrl]
* @property {string} [videoData] JSON-stringified video source info
* @property {string} [description] Escaped HTML fragment for the lightbox caption