New photos appear in the gallery once Immich has processed them.
import { jsonForInlineScript, ThemeScript } from '@ipp/core' import { ICON_ARROW_LEFT, ICON_CLOUD_UPLOAD } from '../shared/icons' import { UPLOAD_ACCEPT, UploadPageConfig } from '../shared/upload' import { ASSET_VERSION } from '../version' export interface UploadPageProps { config: UploadPageConfig /** Path prefix the app is mounted under, without a trailing slash. Empty at the root. */ basePath: string /** This share's gallery on IPP, when `GALLERY_URL` is set. */ galleryLink?: string } function Icon ({ path, class: className }: { path: string, class?: string }) { return ( ) } /** * The upload page for one share, in the look of Immich's own upload UI: the * gallery's header, a placeholder to click or drop on, and an upload panel * the client fills. */ export function UploadPage ({ config, basePath, galleryLink }: UploadPageProps) { const staticPath = `${basePath}/share/static/${ASSET_VERSION}` return (
Add photos and videos
New photos appear in the gallery once Immich has processed them.
Drop files to upload