MuPiBox Documentation MuPiBox NG

Photo gallery

Show local, NAS and Immich photo albums on the touchscreen – fullscreen viewer, slideshow and photo screensaver, read-only.

The optional Photo gallery shows photos from the box, from NAS shares and from Immich on the touchscreen. It only reads: original files are never changed. Albums can be used in the gallery, the slideshow and the photo screensaver.

In the Admin, enable Content & Services → Providers & Services → Photo gallery, then add Photo gallery as a source under Media & categories. The tile then appears on the touchscreen.

Local photo albums

Open Providers & Services → Photo gallery → Select local photo albums and click Choose local photo folders. Expand the folders of the local media share (normally /srv/mupibox/music) and check each folder you want. One folder = one photo album; nested folders are chosen separately. Changes save immediately, without copying files or scanning the music library.

Copy photos to the box through the file share, for example Fotos/Family trip/photo001.jpg.

Existing installations: the older album folders under /srv/mupibox/music/Fotos stay available until you save an explicit selection. After that only the selected folders are shown; an empty selection disables local albums without affecting NAS or Immich.

Security: folders must lie inside the local media root. Symlinks, hidden folders and paths outside it are blocked.

NAS photo albums

  1. Under Providers & Services → NAS / Network media, choose Add NAS share, enter server/IP, share and credentials if needed, and Save (NAS).
  2. Wait until the share shows Connected. The folder browser only works once the share is mounted.
  3. Under Providers & Services → Photo gallery → Select photo albums from NAS, choose Choose photo folders for that share.
  4. Check the folders you want. Each checked folder is one album with the photos directly inside it; the album title is the folder name. Selections save immediately and are independent of the music folders.

The gallery does not connect NAS shares by itself; an existing NAS connection for music is reused without new credentials. Photos are streamed from the mounted share without copying. A share that is not connected is left out until it is mounted again. Until a share has an explicit photo selection, its Fotos subfolders are still picked up automatically; once a selection is saved, only the selected folders count, and an empty selection disables photo albums from that share.

Immich albums

  1. Under Content & Services → Providers & Services → Photo gallery, enable the gallery, check Enable Immich, enter the Immich server address and Save settings.
  2. In Immich, create a separate API key with as few permissions as possible: album.read, asset.read and asset.view are required. The optional asset.statistics makes counting faster; without it the box counts the photos itself when the gallery is first opened.
  3. Enter the key in the gallery settings and click Save API key. An Admin password must be set before credentials can be saved.
  4. Click Test connection, then Load albums, select only the albums that should appear on the touchscreen and Save settings again. Unselected albums stay hidden.

The API key never reaches the touch interface or image addresses: the MuPiBox backend fetches the photos itself. While an album is open, photos load in pages of 120 until the whole album has been shown; the selected albums refresh whenever the gallery is opened. Videos are neither shown nor counted, and albums containing only videos are hidden. Offline viewing of Immich photos is not available yet. Album previews use JPEG, because the touch runtime on the box cannot decode WebP thumbnails.

Tap an album, then swipe left or right or use the large arrows. Photos are fitted into the screen without distortion or cropping at base scale; bars may appear when aspect ratios differ. EXIF rotation metadata (including iPhone photos) is respected. Album thumbnails intentionally remain cropped to fill their tiles, but with correct orientation. A tap shows or hides Back, album title, photo count and arrows; they hide again after about 4.5 seconds, and swiping works while they are hidden. Back has a large touch area and returns to the album overview. Status icons (Wi-Fi, volume, battery, clock) stay visible at the top right. All controls follow the colours and corners of the active theme.

The next photo is loaded in advance at a limited resolution; the current one stays visible until the new one is ready and then fades over in 170 ms, so there are no black gaps. If a photo cannot be loaded, the last one stays on screen.

Slideshow

Set an interval of 5–60 seconds (default 10) under Providers & Services → Photo gallery. In an album, ▶ starts and Ⅱ pauses the slideshow; tap a photo to show these controls. After the last photo it starts again, and large Immich albums load the following pages in advance. The slideshow stops while the display sleeps or the box is in standby and continues after waking while the album is still open; leaving the album ends it.

Optionally, a gentle Ken Burns motion (about 14 % zoom with a slow pan) brings photos to life; it pauses immediately outside the slideshow and in standby. Portrait photos can additionally be enlarged by 0, 25 or 40 %. The no-extra-zoom choice disables the additional portrait scale, but an enabled Ken Burns animation may still trim the edges slightly. Interval, motion and zoom are saved immediately with a visible status; Immich credentials still need explicit confirmation.

Photo slideshow as screensaver

Under Display & power → Inactivity, add a Screensaver stage to an idle sequence and select Photo slideshow under Screensaver editor → Effect. Click Load albums and choose a local, NAS or Immich album, or keep First available album; then save the display settings. The photo duration is the gallery interval. Waking the display, display-off, standby or shutdown stop loading and discard the photo list. The feature is opt-in: existing boxes keep the pixel worm.

When the NAS or Immich is unavailable

Opening the gallery waits at most 5 seconds for NAS shares and Immich. Whatever has not answered by then is skipped and named above the album overview (for example "NAS „Keller“ ist nicht verbunden"). An Immich server that did not answer is not asked again for 30 seconds, so the gallery and the screensaver open at once.

The stand-in is the album Photos on the box: every photo in the local folder /srv/mupibox/music/Fotos, including subfolders. Hidden folders, NAS and Windows system folders (such as @eaDir, #recycle) and folders containing a .nomedia file are skipped. The album appears in the overview when a source is missing and no local albums are listed. The photo screensaver switches to it when its album is unavailable or fails during the show; only when there are no photos there either does the pixel worm appear.

File formats, privacy and safety

JPG/JPEG, PNG, WebP, GIF and BMP are recognised where the touch runtime supports them. Nested albums (except in the stand-in album "Photos on the box"), HEIC and RAW are not supported yet. Files are read only from the configured local folders and active NAS photo folders; symlinks outside them are ignored.

The box's touch display shows the enabled gallery without a login. Other devices on the home network can use the gallery API only after signing in to the Admin once an Admin password is set; without an Admin password it stays open on the home network. Select only folders and Immich albums that are meant to be shown on the box, and do not expose the box directly to the internet.

Google Photos

Google Photos is not implemented. Its current Picker API only allows media the user selects explicitly and offers no background access to private photo libraries. Use Immich or a NAS for automatically refreshed albums.

© 2026 MuPiBox