HUB
Sign inSign up

martin0313/immich-server

By martin0313

•Updated 14 days ago

Unofficial Immich v3.3.5 with a PhotoPrism-style timeline: EXIF metadata cards and a square grid.

Image
0

190

martin0313/immich-server repository overview

说明:这是一个非官方定制版,照片时间线仿 PhotoPrism:缩略图下方展示地点、拍摄时间、相机、镜头与文件参数。

Note: An unofficial custom build with a PhotoPrism-style timeline. Every thumbnail is followed by a metadata card showing location, capture time, camera, lens and file details.

PhotoPrism-style timeline metadata cards

⁠镜像 / Docker image

最新标签 / Latest tag: 3.3.5-pp4

只需替换 immich-server 服务,其他服务保持官方镜像不变。 Only the immich-server service is replaced; the rest stays on the official images.

services:
  immich-server:
    image: martin0313/immich-server:3.3.5-pp4
docker compose up -d immich-server

卷、环境变量、端口和数据库都保持不变。此镜像不新增任何数据库迁移,随时可以切回官方镜像。 Volumes, environment variables, ports and the database stay untouched. No migration is added, so switching back to the official image is always safe.

⁠改动 / What it changes

元数据卡片 / Metadata cards — 缩略图下方,PhotoPrism 风格:地点与年份作为标题,下面依次是时间(含 GMT 偏移)、相机、镜头(焦段 · 光圈 · 快门)、ISO · 格式 · 分辨率 · 文件大小 · 视频时长。缺失的行直接跳过,不会留空行。 Location and year as the title, followed by capture time with GMT offset, camera body, lens with focal length / aperture / shutter, then ISO, format, resolution, file size and video duration. Missing rows are skipped instead of leaving blanks.

正方形网格 / Square grid — 不论原图比例,每个格子等宽等高,图片按 object-fit: cover 裁剪,行列严格对齐。 Every cell has the same width and height regardless of the original aspect ratio, cropped with object-fit: cover, so rows and columns line up exactly.

响应式 / Responsive — 768–1023px 折叠为两行紧凑卡片,小于 768px 隐藏卡片并且不再请求 EXIF。 Two compact rows between 768px and 1023px; below 768px the footer is hidden and EXIF is no longer requested.

共享链接 / Shared links — showExif = false 的共享链接不会收到任何 EXIF 字段。 Links created with showExif = false never receive the EXIF fields.

接口 / API — 仅新增可选字段:GET /api/timeline/bucket?withExif=true 返回 12 个平行数组,不传该参数时响应与官方完全一致。 Additive only: GET /api/timeline/bucket?withExif=true returns 12 extra parallel arrays. Without the flag the response is byte-for-byte the official one.

⁠标签 / Tags

Tag说明 / Notes
3.3.5-pp4当前版本 / current
3.3.5-pp1 – 3.3.5-pp3早期迭代,保留用于回滚 / earlier iterations, kept for rollback

所有标签都基于 ghcr.io/immich-app/immich-server:v3.3.5。 Every tag is built on top of ghcr.io/immich-app/immich-server:v3.3.5.

⁠回滚 / Rollback

把镜像改回 ghcr.io/immich-app/immich-server:v3.3.5 或删掉 override 文件,重建容器即可。 Point the service back to ghcr.io/immich-app/immich-server:v3.3.5, or remove the override file, then recreate the container.

⁠实现方式 / How it is built

官方镜像之上的一层薄覆盖:三个编译后的服务端文件,加上前端产物。node_modules、package.json 和数据库迁移目录全部来自上游,未做任何改动。 A thin overlay on the official image: three compiled server files plus the web bundle. node_modules, package.json and the migration folder come from upstream untouched.

网格密度目前写在打包产物里(minColumnWidth,桌面 220px、移动端 120px),改动需要重新构建。 Grid density is currently baked into the bundle (minColumnWidth, 220px on desktop and 120px on mobile) and requires a rebuild to change.

⁠源码 / Source

https://github.com/mty0313/immich-photoprism⁠ — 分支 patch-3.3.5 / branch patch-3.3.5

⁠许可 / License

Immich 采用 AGPL-3.0,此构建保持同一许可证。 Immich is licensed under AGPL-3.0; this build keeps the same license.

Tag summary

Content type

Image

Digest

sha256:e6300e5aa…

Size

600.2 MB

Last updated

14 days ago

docker pull martin0313/immich-server:3.3.5-pp4