Skip to content

Syncing with Dropbox

It's possible to use Dropbox to store your photos, while viewing and managing them through PhotoPrism.

  1. Set up a Dropbox account.
  2. Install the Dropbox desktop client.
  3. Sync your Dropbox to a local directory.
  4. If using Docker, configure your compose.yaml or docker-compose.yml with;
    volumes:
      - "~/Dropbox/Photos:/photoprism/originals"
    
  5. Follow the PhotoPrism getting started guide as normal.

Auto-upload from Mobile

The Dropbox mobile apps also have a 'Camera Upload' feature which syncs photos to Dropbox, and then to any machine with Dropbox installed.

To auto-import uploaded files into PhotoPrism;

  1. Install the Dropbox iOS or Android app.
  2. Enable 'Camera Uploads' in the Dropbox app's settings.
  3. Install the Dropbox desktop client on your server or a network-accessible machine
  4. Configure the Camera Uploads folder as your import directory for PhotoPrism. In your compose.yaml or docker-compose.yml file, this is;
    volumes:
      - "~/Dropbox/Camera Uploads:/photoprism/import"
    
  5. Optional: Enable 'delete on import' in PhotoPrism's settings to delete imported files from Dropbox. This saves Dropbox space, allowing you to remain within the 2 GB free tier.

The Dropbox mobile app needs to be opened periodically or it tends to fail to identify and sync new photos.

Smart / Selective Sync

A useful (although paid) feature is Dropbox Smart Sync (with optional auto-evict) which will download the files from Dropbox's servers only when you (or PhotoPrism) accesses them (such as during initial indexing, or when downloading an original file via the PhotoPrism interface).

This can save space on your server by automically offloading the originals unless/until they're viewed.

Help improve these docs! You can contribute by clicking to send a pull request with your changes.