Skip to content

Offline Mode

Offline Mode lets you download assets to the Kiosk server so you don’t need a constant connection to Immich. After downloading, you can view your photos even when Immich is offline. However, an active connection to the Kiosk server is still required to access and display the downloaded assets.

Settings

Key Value
CONFIG offline_mode
ENV N/A
URL N/A
VALUE OfflineMode
DEFAULT ""
Using with config.yaml file
offline_mode:
enabled: true
number_of_assets: 500
max_size: 50mb # optional
expiration_hours: 24 # optional

Enable offline mode for the device/client.

Settings

Key Value
CONFIG use_offline_mode
ENV KIOSK_USE_OFFLINE_MODE
URL use_offline_mode
VALUE bool
DEFAULT false
Using with config.yaml file
use_offline_mode: false
Using with ENV in your docker-compose file
environment:
KIOSK_USE_OFFLINE_MODE: false
Using with url queries
http://{URL}?use_offline_mode=false

Offline Mode is ideal for setups where maintaining a live connection to Immich might be costly or inefficient. For example, if your Immich storage is hosted on a NAS with disks that spin down to save power, using Offline Mode prevents Kiosk from constantly triggering disk spin-ups.

When using Offline Mode, some Kiosk features are unavailable. These include:

  • Experimental Album Video
  • Album Ordering
  • Like/Hide Buttons
  1. Ensure you mount a volume (see note above) if you want offline assets to persist across restarts.

  2. Configure Offline Mode by setting the offline_mode.enabled option to true (and any other options you want) in your config.yaml.

  3. When accessing Immich Kiosk from a device that needs offline mode, add the use_offline_mode=true parameter to the URL: http://{URL}?use_offline_mode=true

ValueDefaultDescription
enabledfalseEnable offline mode
number_of_assets100Target number of assets to download
max_size0Disk space assets are allowed to take up. You can use mb, gb, tb, etc. 0 = no limit
expiration_hours0Number of hours before assets expire. 0 = assets never expire

Here’s an example configuration for offline mode:

  • Downloads up to 500 assets
  • Limits total disk usage to 50MB
  • Deletes downloaded assets after 24 hours if Kiosk is able to reach your Immich server
offline_mode:
enabled: true
number_of_assets: 500
max_size: 50mb # optional
expiration_hours: 24 # optional