Merge branch 'pr-264' into #264-show-expiry

# Conflicts:
#	docs/configuration.md
This commit is contained in:
Alan Grainger
2026-07-17 14:38:58 +12:00
6 changed files with 92 additions and 1 deletions
+2 -1
View File
@@ -6,7 +6,7 @@ import {
import { Response } from 'express-serve-static-core'
import { AssetType, ImageSize, SharedLink } from '../types'
import { getConfigOption } from '../config/access'
import { canDownload, title } from '../share'
import { canDownload, expiryDate, title } from '../share'
import { toString } from '../utils/text'
import { h } from 'preact'
import { renderPage } from '../view/render'
@@ -142,6 +142,7 @@ export async function gallery (res: Response, share: SharedLink, openItem?: numb
path: '/share/' + share.key,
showDownload: downloadAllowed,
showTitle: !!getConfigOption('ipp.gallery.showTitle', true),
expiryDate: expiryDate(share),
openItem,
ogImageItem,
lightboxConfig: {