9 · Immich, Nextcloud and the browser
Your photos don't only live on your local hard drive? FerrumPix can connect directly to a self-hosted Immich or Nextcloud server. The servers then appear as a branch of their own in the gallery's folder tree, on an equal footing with your local folders.
Immich
With Immich you browse all the photos and albums on the server, upload local files, download originals, and keep ratings, favorites and keywords in sync. Saved search lists work here too. You can edit an Immich photo in the editor and save the result as a new asset. Replacing or deleting existing assets is possible as well, but first has to be allowed in the settings – out of the box, FerrumPix can't break anything on your server.

Setting up Immich
- Open the Settings and choose Immich on the left.
- Switch on Enable Immich. This makes FerrumPix show the Immich branch with your albums in the gallery tree.
- Under Server URL, enter the base address of your Immich instance, for example
http://nas:2283. - In the Immich web interface, create a new key under Account → API keys and paste it under API key.
- Click Test connection to check whether FerrumPix reaches the server with this key.
- Apply everything with Save at the bottom right.
After that, Immich appears as a branch of its own in the gallery's folder tree, with your albums below it.
What permissions does the API key need?
The simplest option is a key with the all permission. If you'd rather use a restricted key, you build it up in stages. The nice thing about it: each missing permission switches off exactly one feature instead of bringing the whole connection down.
Read only – browsing, viewing, downloading:
user.read asset.read asset.view asset.download asset.statistics album.read person.read tag.read
Plus, for metadata – ratings, favorites, description, keywords:
asset.update tag.create tag.asset
Plus, for uploads – uploading from the gallery and saving edited photos as a new asset:
asset.upload albumAsset.create asset.copy
In addition:
| If you … | you also need |
|---|---|
| want to create and rename albums from FerrumPix | album.create, album.update |
| switch on Allow deleting in Immich | asset.delete, album.delete |
| want to restore photos from the Immich trash | asset.delete |
Update existing assets replaces the file of an existing asset. What the permission for that is called differs between Immich versions. If the option is off, FerrumPix always creates a new asset.
The Immich options at a glance
The switches in the lower part of the section determine what FerrumPix may do on your server and where it writes its information.
Ratings, keywords and people
| Option | What it does |
|---|---|
| Store stars in description | Ratings go into a delimited block of the Immich description instead of Immich's rating field. |
| Store keywords in description | The same for keywords, instead of creating them as Immich tags. |
| Write recognised people to Immich | The names of the people FerrumPix has recognized in an Immich picture are written to the server as keywords – named groups only, and only after a run of the face recognition. Off: the recognition stays on this machine. |
Changing and deleting
| Option | What it does |
|---|---|
| Update existing assets | An edit replaces the asset it came from. Albums, keywords, rating and favorite are kept, and the original goes to the Immich trash. This applies to Save and to Save as with Immich as the destination. Off: every edit becomes a new asset. |
| Allow deleting in Immich | Deleting in the gallery and viewer also takes effect on the server, not just in the local view. Off: Immich pictures can't be deleted. |
| Delete permanently | Bypasses the Immich trash. Deleted assets are gone immediately and can no longer be restored in the web interface either. |
Cache and index
| Option | Button | What it does |
|---|---|---|
| Clear Immich cache | Clear cache | Deletes the locally cached thumbnails. They're fetched again when needed. |
| Remove catalogue data | Removes the local catalog data of the Immich pictures and empties this server's local index. Nothing is deleted on the server itself. | |
| Load all shot data | Load now | Fetches camera, lens, focal length, ISO, aperture and keywords for all photos on the server so that search finds them – even where you haven't been yet. Runs only when you press the button and changes nothing on the server. |
| Index AI keywords | Index now | Fetches every photo once as a temporary copy, recognizes its content locally with the Automatic keywords model and stores the results only in the local Immich index. |
While one of these runs is in progress, Cancel appears next to it.
Immich in the gallery
People your server has recognized and places it knows appear in the same filters as the local ones, under a heading of their own. Deleted photos are listed under Trash and can be restored from there.
You can view, rate and edit pictures from the server in the editor. When you save, a new asset is created or the existing one is replaced – depending on the setting. The batch functions such as Export to also offer Immich as a destination; each picture is then uploaded as a new asset. Only PDF, Photoshop and FPX files don't go to Immich, because Immich manages photos, not documents or working files.
If you rotate a picture from the server in the viewer, that stays purely a view: FerrumPix doesn't offer to save the rotation, and the picture on the server stays unchanged. This applies to Immich and Nextcloud alike.
Nextcloud
You can connect a Nextcloud too. Your timeline, albums, people, places and keywords then appear as folders in the gallery, photos open in the viewer and the editor, and deleted pictures are listed under Trash and can be restored from there.
The Memories app isn't required for this. Without it, FerrumPix builds the timeline directly from the files on the server, and albums, keywords, favorites, trash and search work just the same. Only the people come from Memories; without the app, that branch is simply left out.

Setting up Nextcloud
- Open the Settings and choose Nextcloud on the left.
- Switch on Enable Nextcloud. This makes the Nextcloud branch with your timeline and your albums appear in the gallery tree.
- Enter the Server URL, for example
https://cloud.example.com. - Enter your User name – the login name of your Nextcloud account.
- In Nextcloud, create an App password under Settings → Security and paste it here. Your normal account password won't work when two-factor login is enabled – with an app password you're on the safe side.
- Click Test connection and then Save.
The Nextcloud options at a glance
Changing and deleting
| Option | What it does |
|---|---|
| Allow deleting in Nextcloud | Pictures can be deleted from the server. They go to the Nextcloud trash and can be restored there. Off: deleting has no effect on server pictures. |
| Delete permanently | Deleted pictures bypass the trash and are gone immediately. |
| Replace originals on the server | Saving writes the edit in place of the original. The file stays the same and keeps its albums and shares. Off: only a sidecar file with the edit is created next to the original. Only JPEG, PNG and WebP are replaced; RAW, PSD and all formats FerrumPix doesn't write in place, such as TIFF or HEIC, stay untouched in any case, and so do motion photos with an embedded video. |
| Target folder for uploads | This is where uploaded pictures go, for example /Photos. An existing name isn't overwritten but numbered. |
Cache and index
| Option | Button | What it does |
|---|---|---|
| Clear Nextcloud cache | Clear cache | Deletes the locally cached thumbnails. They're fetched again when needed. |
| Remove catalogue data | Removes the local catalog data of the Nextcloud pictures and empties this server's local index. | |
| Load all shot data | Load now | Fetches keywords, size and capture time for all photos on the server so that search finds them even where you haven't been yet. Runs only when you press the button and changes nothing on the server. |
| Index AI keywords | Index now | Fetches every picture once as a temporary copy, recognizes its content locally and stores it only in the local Nextcloud index. |
| Store catalogue data as XMP sidecars | Synchronise now | Adds rating, color label and your own and AI keywords to existing .xmp files and creates missing XMP sidecar files next to the pictures on the Nextcloud. That way other programs can see what you've assigned in FerrumPix too. A JPEG next to a RAW file with the same name gets its own photo.jpg.xmp, so the details of the two don't get mixed up. |
Nextcloud in the gallery
Because Nextcloud keeps your photos as perfectly ordinary files, more is possible here than with Immich. You can edit a RAW file on the server without touching it: when you save, the recipe goes into a sidecar file next to the original and is loaded again the next time you open it. If you'd rather have the edit directly in the file, Replace originals on the server takes care of that – for JPEG, PNG and WebP.
You upload local pictures by dragging them onto a Nextcloud entry, pasting them there or using the context menu. They end up in the Target folder for uploads. Nextcloud is also available as a destination for export and the other batch functions.
Keywords, favorites and album assignments are written back to the server. Stars and color labels stay local, because Nextcloud doesn't know about them – unless you store them in XMP files with Store catalogue data as XMP sidecars.
FerrumPix in the browser
Sometimes the photos are on one computer and you'd rather sit at another. Perhaps on a small server in the hallway that doesn't even have a screen, or on a NAS. Or on the big computer in the study while you're on the sofa with your laptop. For cases like these, FerrumPix can show itself in a web browser instead of in a window.
In the browser, FerrumPix comes in two forms:
- The full interface is the same FerrumPix with everything it can do – gallery, viewer, editor and settings. It is meant for laptops and desktops and is open to administrators only.
- The page for phones is a simple photo app for phones and tablets: all photos by date, the folders, search with people and places, a full screen view to swipe and zoom, rating, uploading, downloading and sharing.
Nothing is installed on the device you're sitting at. The pictures stay where they are, and all the work happens on the computer FerrumPix is running on. Because every device sees the same catalog, ratings, keywords, people and edits are the same everywhere. That makes FerrumPix in the browser a place for the whole household: you can add further users, give them rights per folder and share pictures through a link with people who have no account.
Starting
Start FerrumPix in a terminal with --browser:
ferrumpix --browser
ferrumpix in lowercase is the command the Linux packages install. You start an AppImage by its file name and append --browser. On macOS, you pass the option after --args:
open -a FerrumPix --args --browser
With the Flatpak, simply add the option at the end:
flatpak run io.github.bitpainter75.ferrumpix --browser
No window opens. Instead, FerrumPix gives you the address to open in your browser in the terminal:
FerrumPix in the browser: http://127.0.0.1:14500
By default FerrumPix only listens on your own computer, on port 14500. With --browser-bind you choose another address or port. If FerrumPix listens on every address (0.0.0.0), the start line tells you to open the address of this computer with the port instead, and behind an HTTPS proxy that the address of the proxy applies. If no password has been set yet, another line says that the first browser to open the page sets it.
Leave the terminal open. FerrumPix runs in this terminal, and if you close it, FerrumPix ends too; the page in the browser then stops responding.
Good to know: User name and password can no longer be passed at start.
--browser-user,--browser-passwordand the environment variablesFERRUMPIX_BROWSER_USER,FERRUMPIX_BROWSER_PASSWORDandFERRUMPIX_BROWSER_PASSWORD_FILEare no longer read. If they are still set, FerrumPix starts anyway and writes a line about it to the terminal.
First sign-in
In the browser, FerrumPix always asks for a user name and a password. The first time you open the page there is none yet; the page then shows the setup: Welcome to FerrumPix. Please set a user name and password first.

- Enter a user name, at most 64 characters.
- If you like, enter an email address. It is only used for Forgot your password; you always sign in with the name.
- Enter the new password twice. It needs at least 8 characters with an uppercase letter, a lowercase letter, a digit and a special character; a space counts as a special character.
- Under View, choose where to go afterwards: Desktop (Full interface) or Mobile (Simplified page).
- Click Set password.
Whoever completes the setup becomes the administrator – the owner of FerrumPix in the browser. Until then nothing but this page can be reached. Because "first come, first served" applies here, it's best to open the page yourself right after the first start. FerrumPix stores the password only as a hash.
Two passwords: The administrator's password for the browser is a separate one and has nothing to do with the lock screen on the computer. You turn the lock screen on or off in the settings under User management, Access, with Protect with a password; it only locks the window on your computer. Turning it off doesn't touch the sign-in in the browser, and the setup in the browser doesn't lock the window on the computer. If you already had a lock screen password before 0.9.93-2, it was taken over once as the administrator's password and still applies on the computer – so nothing changes after the update. If you don't want a lock screen on the computer, turn it off there; the browser stays protected. While FerrumPix runs in the browser, the Access section changes the administrator's password; it can't be turned off there.
Signing in
From then on, every browser that isn't signed in shows the sign-in page: User name, Password, the choice of View and Unlock. The browser remembers the name used last and your last choice; the first time, it suggests Mobile on narrow screens and touch devices. The page fits phones, tablets and large screens alike.

- The full interface is only available to administrators. If another user picks Desktop, a note appears and the page for phones opens instead.
- You can also reach the page for phones directly at the address with
/m/at the end, for examplehttp://127.0.0.1:14500/m/. - If an account has a second factor, the page asks for the code after the password.
- After five wrong attempts, the sign-in waits longer each time, up to five minutes. This is counted per browser and per sender address.
A browser stays signed in even when you close the tab or reload it. The sign-in ends after the time set under Lock after inactivity; without that time, after 30 days without use. Lock ends the sign-in of every browser, Sign out on the page for phones only your own. A new password ends the user's other sign-ins.
The full interface in the browser
In the full interface, FerrumPix fills the tab with gallery, viewer, editor and settings, just as in the window. If you close the tab and come back later, everything is just as you left it.

Only one browser at a time can be connected to the full interface. If you open it in a second tab or on a second device, that one takes over and the first one is replaced – after all, there's only one FerrumPix with one window size. The page for phones, on the other hand, can be used by any number of devices at the same time.
In the browser, the left bar of the gallery has three extra buttons:
| Button | What it does |
|---|---|
| Upload | Opens the file picker of your browser. The files go into the folder the gallery is showing. |
| Mobile view | Switches to the page for phones without signing in again. You get back there under More with Switch to the desktop view. |
| Lock | Locks FerrumPix and ends the sign-in of every browser – in the browser, this is also how you sign out. The button is also in the window bar as a padlock, and Ctrl+L does the same. |
Uploading pictures. Drag files from your device onto the gallery, and they land in the open folder. Drag a picture onto the editor, and it becomes a new layer at that spot. A window shows the progress and closes by itself once everything has arrived. Uploads only go into folders on the computer FerrumPix runs on, not into an Immich or Nextcloud branch. Existing files are never overwritten.
Downloading pictures. In the browser, every tile in the gallery carries a Download button, and the context menu of gallery and viewer has a Download entry. Several selected pictures come as one ZIP. The full interface always downloads the originals, raw files included.
Downloading whole folders. Folder tiles carry the Download button too, and the entry is in the context menu of a folder tile and of the folder tree. The folder comes as one ZIP named after it, with its subfolders and sidecar files; hidden files are left out. For a very large folder FerrumPix asks first (Download folder?), for an empty one it says so.
Download as a destination. In Save as, Export to and the batch tools (Apply adjustments, Resize, Watermark, Convert to), Destination has an extra Download in the browser. The finished files then come straight to your device, several as one ZIP, and nothing stays behind on the server.
Clipboard. Ctrl+C, Ctrl+X and Ctrl+V reach the clipboard of the device you're sitting at: text and pictures you copy in FerrumPix can be pasted into other programs, and text and pictures from there arrive in FerrumPix. Files you copied on the device are uploaded when you paste them – in the gallery into the open folder, in the editor as a layer. With Shift you copy and paste adjustments as usual; those stay inside FerrumPix. Copying out needs HTTPS or the address 127.0.0.1; over plain HTTP in the home network only text gets there.
Sharing. The context menu of the gallery has Create share link, see Share links.
Videos play in the viewer with a picture, and so do the short videos of Live Photos and Motion Photos; videos recorded with the phone turned play the right way up.
Own fonts for text in the editor go into the Fonts folder of the data folder on the server; then click Reload in the settings under Catalog, see Own fonts. The folder can't be opened from the browser.
Good to know: Because the computer draws without a graphics card in this mode, the full interface feels a little less snappy than the window – especially with very large browser windows.
The page for phones
The page for phones is built for fingers and for everyone who just wants to look at, rate and share photos. Further users only get this page. At the bottom there are four tabs: Photos, Folders, Search and More.

Photos shows all photos of the catalog by day, the newest at the top. Along the right edge there is a timeline with the years and, if there's enough room, a dot for each month; a line shows where you are. Tapping or dragging jumps there, and a bubble names the month and year. On large screens more tiles stand side by side; Ctrl and the mouse wheel change their size. Videos carry a play sign on their tile, Live Photos and Motion Photos a sign of their own, and a tile whose file is missing or can't be read shows File missing or Format not readable. Variants of a raw picture appear as their own tiles, as in the gallery.
Folders shows the folders to browse. The administrator sees the watched folders at the top, another user only the folders their rules allow. Tapping the tab again takes you back to the start. With the Contribute right there is Upload here at the top and a button to share the folder.
Search finds pictures by file names, keywords, recognised content, titles and descriptions, places, ratings and the names of the people in the picture – with the same rules as the search field of the gallery: of several words one is enough, +word must appear, -word must not appear, and "a quoted phrase" looks for exactly that sequence of words. While you type, the page suggests matching people and places; a tap inserts +"Name". Below are the People and Places to tap.
Full screen view
A tap on a tile opens the full screen view. It shows the picture with your edits, at the top the date and time it was taken, below that the file name.
- Swipe sideways to browse, down to close, up to open the info sheet. With a mouse there are arrows to browse.
- Two fingers or a double tap zoom; drag a zoomed picture with one finger. A single tap hides and shows the bars.
- Information shows file name, folder, date taken, camera, lens, exposure, place, people, keywords, resolution, file size and format.
- At the bottom you rate with stars and set Favorite, Keep, Discard (with the thumbs, as in the gallery) and the Color label. A second tap takes back Favorite, Keep and Discard. What you set here, the full interface sees too.
- Download offers Original and As JPEG with edits. Raw, HEIC, TIFF and other formats a phone can't open are only available here as a JPEG with edits.
- Share offers Create share link and Send to app; the latter hands the picture with its edits to an app on your device, such as a messenger.
- Manage (the menu with the three dots) holds Rename and Delete. Deleting moves to the trash; if the trash is switched off, the question says that it is permanent.
- Live Photos and Motion Photos have a large play button in the middle of the picture. It, the button at the top or a long press play the short video once, muted at first; afterwards the photo is back.
Which buttons you see depends on your rights: without Contribute, rating and marking are missing, without Manage, renaming and deleting.
Selecting several pictures

A long press on a tile or the Select button at the top starts a selection; after that each tap toggles a picture. The circle at a day heading selects or deselects the whole day, including pictures that haven't loaded yet. With a mouse, Ctrl+click toggles a picture and Shift+click selects a whole range. At the top you see the count, Deselect all and Clear selection; Esc ends the selection.
An action bar appears at the bottom: Download as ZIP, Share, stars, Favorite, Color label, Keep, Discard and Delete – each only if your rights allow it for at least one picture. A selection holds at most 2000 pictures. In the ZIP too, raw, HEIC and TIFF arrive as JPEG with edits.
Uploading and the More menu
Upload photos and videos from the phone with Upload here in the Folders tab or with Upload under More into the folder that's open. You need the Contribute right there. A sheet shows the progress of each file.

Under More you'll also find:
- User name – change your name. From then on only the new one signs in; your sign-ins stay.
- My shares – your share links.
- Language – the language of this page and of messages to you; Automatic (browser language) follows the browser.
- Switch to the desktop view – to the full interface, for administrators only.
- Sign out – ends the sign-in of this browser.
- Second factor – see Second factor.
- Lock – locks FerrumPix and ends the sign-in of every browser, for administrators only.
On the home screen
Over HTTPS, the page for phones can be put on the home screen like an app: in the browser menu with Add to Home Screen or Install app. It then opens in a window of its own without an address bar. Over plain HTTP the browser doesn't offer that.
Users and rights per folder
In the full interface, under Settings, User management, the administrator adds further users – with a name, a password and, if they like, an email address – and gives them rules under Permissions per folder:
| Right | Allows |
|---|---|
| No access | nothing; the folder and everything below it are missing |
| View | see and download |
| Contribute | also rate, mark, upload and share |
| Manage | also rename and delete |
A rule applies to the folder and everything below it; the closest rule wins, also a narrower one on a subfolder. Without a rule, a user sees nothing. The children might get View for the family folder, for example, and Contribute for their own.
- Further users only get the page for phones and see nothing outside their folders, not even through pictures that refer to others.
- Ratings and marks are shared by everyone.
- A user with the Administrator role may use the full interface and the settings and sees everything. The owner from the setup always stays administrator and can neither be locked nor deleted.
- Locked keeps a user out; their open sign-ins end at once.
- Every user name can be changed, the administrator's too: in User management, or by the user themselves under More.
Second factor
Every user can protect their sign-in in the browser with an extra code from an authenticator app (six digits, new every 30 seconds). On the page for phones this is under More, Second factor, for the administrator also in User management under Second factor for your account.
- Tap Set up.
- Scan the QR code with the authenticator app or type in the Key.
- Enter the code from the app and confirm. Only then is the second factor on.
- FerrumPix shows ten Recovery codes once. Each is good for one sign-in without the app. Keep them safe, for example with Save as text file.
When you sign in, the page then asks for the Code after the password; with Use a recovery code you enter one of the recovery codes instead. To Turn off the second factor you need the current password and a code. If someone loses their phone, the administrator resets it in User management with Reset second factor; the user then signs in with the password alone and can set it up again.
Signing in at the computer itself, without a browser, never asks for a code. Tools such as curl that send the password with Authorization: Basic are refused for an account with a second factor.
Forgot your password
With a mail server set up, the sign-in page shows Forgot your password?. Enter your user name or email address there and click Send link. If there is an account with an email address for it, a mail arrives with a button to set the new password. The link is valid for 30 minutes and only once. The answer on the page is the same for every account, so it doesn't reveal whether a name exists. If the account has a second factor, the page asks for the code too before the new password takes effect.
For this to work, User management needs two things:
- the Address of FerrumPix in the browser, for example
https://photos.example.org– the link in the mail always starts with it, and without it no mail goes out, - the details under Email for forgotten passwords: server, port, encryption, user name and password of the mail account, and the sender. Send test email checks them.
The mail comes as a designed HTML message with the FerrumPix logo and a text part for mail programs without HTML, in the user's language. Without a mail server, Forgot your password? only says that the administrator helps – they can set a new password for any other user in User management.
If the administrator has forgotten their password and no mail arrives, start FerrumPix once with FERRUMPIX_RESET_ADMIN_PASSWORD=1 in the environment (or with --browser-reset-admin-password). Open the page right away and set a new password for your existing name. This also removes your second factor; other users and their rules stay. The setting works only once: while it is still set, later starts ignore it, and a line in the terminal asks you to remove it.
Share links
A link lets you show pictures to people who have no account: one picture, a selection, a folder or a search result. You need at least the Contribute right on every picture.
- On the page for phones, with Share in the full screen view, in the action bar of a selection, at the top of a folder or in a search result. A form opens:
| Field | Meaning |
|---|---|
| Title | appears above the pictures |
| Valid for | 7, 30 or 90 days, 1 year or Unlimited; 30 days is preselected |
| Include subfolders | only for a folder |
| Allow download | on by default |
| Include location, Include people | off by default |
| Include camera and exposure | on by default |
| Protect with a password | a password of its own for the link, at least 8 characters |
After Create link, the page says Link created; Copy link puts it on the clipboard, Share hands it to an app. - In the full interface, with Create share link in the context menu of the gallery, for the selection or a folder tile including its subfolders. The link gets the defaults: 30 days, no password, downloads allowed, without location and people.

The page behind the link shows the title, the number of pictures and how long the link lasts at the top, below that only these pictures, with your edits, and, if you like, the details you include. If downloads are allowed, the pictures come one by one or as a ZIP. Unedited JPEG, PNG and WebP pictures go out as the original; edited pictures, variants and every other format (raw, HEIC, TIFF and the like) arrive as a full size JPEG with the edits. Raw files never leave this way. A raw picture with the camera's JPEG gives one single JPEG – the camera's while the raw is unedited, the edited raw otherwise. The link shows the video of a Live Photo or Motion Photo only when it passes on all details.
My shares under More lists your links with their views and how long they last. There you edit and revoke them; a revoked link no longer works. If you save a link again, it keeps its end date unless you pick a new duration – so an expired link stays expired. Only the device on which a link was created knows the link itself; on another one you can create a new one, and the old one then stops working. The administrator sees the links of all users in the settings under Shares and can halt them all at once with Pause all shares.
A link keeps working while FerrumPix is locked. If you save a picture again in FerrumPix, it stays in its links; if it's replaced by a different file or deleted, it drops out. A user can have at most 100 links, and a link holds at most 2000 pictures. From outside your network, a link can only be reached through a public HTTPS address; enter it as the Address of FerrumPix in the browser so that the links start with it.
From other devices
For a tablet, phone or laptop to get access, FerrumPix has to be reachable beyond your own computer. FerrumPix doesn't encrypt the connection itself, and a password that travels across the network unencrypted could be read by anyone. That's why there are two ways, and you have to choose one explicitly. If you start FerrumPix on a network address without either, it refuses to start and tells you why.
With HTTPS through a reverse proxy – the recommended way. A reverse proxy is a small web server of the kind many people run in front of their home services anyway, such as Caddy, nginx or the proxy of a Synology NAS. Only this way can the page for phones go onto the home screen, pictures reach the clipboard of your device and links be opened from outside.
ferrumpix --browser --browser-tls-proxy
- Set up your reverse proxy so that it offers HTTPS and passes the requests, WebSocket included, on to FerrumPix's address. In doing so, it has to report that the connection to it was encrypted (the
X-Forwarded-Proto: httpsheader). - If the proxy runs on the same computer as FerrumPix, the address
127.0.0.1is enough. If it runs on another computer, you let FerrumPix listen on a network address with--browser-bindand give the proxy's address with--browser-proxy-address. - Start FerrumPix with
--browser-tls-proxy. - In the settings under User management, enter the public address as the Address of FerrumPix in the browser.
FerrumPix then only accepts requests that come from the proxy and are marked as encrypted. Anyone who calls up the port bypassing the proxy is turned away before they even see the sign-in page.
Without HTTPS in the home network – only for a network you trust:
ferrumpix --browser --browser-bind=0.0.0.0:14500 --browser-allow-http
FerrumPix then listens on a network address and only accepts requests from private addresses (such as 192.168.…, 10.…, 172.16.… to 172.31.… and the corresponding IPv6 ranges). Password and pictures travel readable through the network; the start lines and a notice on the page tell you so. A device that comes over a global IPv6 address counts as one from the internet and is turned away – use the IPv4 address then. --browser-allow-http can't be combined with --browser-tls-proxy or FERRUMPIX_BROWSER_LOCAL_FORWARD.
Good to know: No other website you have open in the same browser can remote-control FerrumPix. Every page that is served gets a unique token, and FerrumPix only accepts connections that present this token and come from its own page. Never open the FerrumPix port in your router; for access from outside, use HTTPS or a VPN into your home network.
In a container
FerrumPix in the browser is available as a ready-made container image for Docker and Podman: ghcr.io/bitpainter75/ferrumpix, for amd64 and arm64. The docker folder of the project on GitHub holds Compose templates and detailed instructions (docker/README.md):
| Template | For | Address |
|---|---|---|
docker-compose.yml with Caddyfile |
a Linux server, all your devices, HTTPS through Caddy | https://photos.example.org |
docker-compose.synology.yml |
a Synology NAS, HTTPS through the reverse proxy of DSM | https://photos.example.org |
docker-compose.synology-http.yml |
a Synology NAS in a home network you trust, without HTTPS | http://<address of the NAS>:14500 |
docker-compose.local.yml |
only the computer the container runs on | http://127.0.0.1:14501 |
Each template explains its steps in the comments at the top. For all of them:
- Next to the template you create the folder
data. FerrumPix keeps everything in it: settings, catalog, users, shares, thumbnails and models. No password goes into a template or an.envfile – you create the account the first time you open the page, see First sign-in. - Your photo folders are mounted below
/photos, one line undervolumesper folder, for example/srv/photos:/photos/Pictures. In the container FerrumPix shows only/photos: the folder tree starts there, every folder and file chooser stays inside it, and Save as, Export to and the batch tools only write there. Deleting, renaming, moving and downloading work inside it without any further switch. You set other folders withFERRUMPIX_FOLDER_ROOTS, several separated by:, for example/photos:/archive; an empty value shows the whole container again. - Fonts: The image brings free fonts for text in the editor – DejaVu and Noto, stand-ins with the same widths as the common office fonts (Liberation, Carlito, Caladea) and Roboto, Open Sans, Lato, Montserrat, Source Sans 3, Source Serif 4, Oswald, Nunito and Inter. Own fonts go into the folder
data/share/FerrumPix/Fonts, in the container/data/share/FerrumPix/Fonts, see Own fonts. - Synology with HTTPS: In the reverse proxy of DSM the source must be HTTPS, the destination HTTP on
localhost, port 14500, and WebSocket belongs under the custom headers. DSM passes on the other headers by itself. With HTTP as the source, FerrumPix refuses the requests or the sign-in doesn't stick. - Language and time:
FERRUMPIX_LANG, for examplede_DE.UTF-8, sets language and date format for the first start. The image runs on UTC; theTZline in the template sets your time zone. - Updating:
docker compose pulland thendocker compose up -d. The folderdatastays as it is.
Security events are written by FerrumPix in the browser as one line each to its output – in the container, that's the log docker compose logs shows. Each line starts with FerrumPix security: and gives the time (UTC), the event, the user and the sender address: sign-ins and failed attempts, locking and unlocking, changed passwords, users, folder rules, share links, uploads, ZIP downloads, deleting and renaming on the page for phones and the second factor. Passwords, links, codes and mail addresses never appear. To see only these lines:
docker compose logs ferrumpix | grep "FerrumPix security"
If diagnostic logging is switched on in the settings, the lines go there too.
For a container without a template there's the environment variable FERRUMPIX_BROWSER_LOCAL_FORWARD=1. With it, FerrumPix may listen on all addresses so that the port forwarding reaches it, but only accepts requests that the browser addressed to 127.0.0.1 or localhost. So only open the port in the forwarding on your own computer.
All options
| Command line | Environment variable | Meaning |
|---|---|---|
--browser |
FerrumPix in the browser instead of a window | |
--browser-bind=127.0.0.1:8080 |
FERRUMPIX_BROWSER_BIND |
address and port, 127.0.0.1:14500 by default; 0.0.0.0 listens on all addresses |
--browser-tls-proxy |
FERRUMPIX_BROWSER_TLS_PROXY=1 |
a reverse proxy with HTTPS sits in front |
--browser-proxy-address=192.168.1.2 |
FERRUMPIX_BROWSER_PROXY_ADDRESS |
where the proxy runs, if it's on another computer; several addresses separated by commas; only together with the proxy |
--browser-allow-http |
FERRUMPIX_BROWSER_ALLOW_HTTP=1 |
without HTTPS in the home network, private addresses only |
FERRUMPIX_BROWSER_LOCAL_FORWARD=1 |
for containers: listen on all addresses, but only accept requests to your own computer | |
--browser-reset-admin-password |
FERRUMPIX_RESET_ADMIN_PASSWORD=1 |
delete the administrator's password once so they can set a new one |
--folder-roots=/photos:/archive |
FERRUMPIX_FOLDER_ROOTS |
show and work on only these photo folders, several separated by : (; on Windows); /photos by default in the container |
The command line option takes precedence over the environment variable.