Customization
A Fotobogen site is yours: your name, your words, your look, at your address. This page lists everything that can be changed, where it is, and how.
Where things are changed
There are three places, and each kind of setting lives in exactly one of them.
| Place | What is set there | Who can change it | Takes effect |
|---|---|---|---|
The admin, at /admin | Everything about the site: its name, words, look, photos, and what search engines are told | You, logged in, from any browser | At once, on the next page view |
Folders in data | Skins and modules you add | Whoever can put files on the server | After a restart |
.env on the server | How the app runs: port, address, data folder, upload limits | Whoever can log in to the server | After a restart |
Nothing in the admin needs a rebuild, a restart, or any knowledge of code. What is set in the admin is stored in the site's database, so it is included in every backup and survives updates. The one exception is two-step login, whose key and codes are never in a backup.
Finding your way round the admin
Every admin page is in the menu down the left side (behind a Menu button on a phone):
| Group | Page | What you change there |
|---|---|---|
| Overview | Nothing: the site and its server at a glance | |
| Photos | Upload | Adds photographs |
| Library | Order, visibility, and each photo's title, description, alt text, tags, look, licence, and links | |
| Albums | Named sets of photos | |
| Appearance | Skins | The look, the colours, light or dark, columns and spacing |
| Modules | Looks applied to photos: film, frames, watermark, sharpening | |
| Site text | The site's name, tagline, language, and every word on it | |
| Icon and logo | The picture in the browser tab, and a logo in place of the site's name | |
| Site | Pages | Pages of words (About, Contact) and links of your own in the site's menu |
| Settings | Layout, the front page's order, privacy, licence, downloads, drafts, slideshow | |
| Search and sharing | Titles, description, sharing picture, search engines, the site's address | |
| Visitor statistics | Counting visits with a service you choose; off to begin with | |
| Embed on another site | A slideshow of your photos for other sites to show; off to begin with | |
| Server | System | Backup, restore, updates |
| Webhooks | Messages sent to other services when photos change | |
| API tokens | Lets a script or another program upload without your password | |
| Two-step login | A code from your phone after the password; off to begin with |
Its name and its words
Where: Admin, Appearance, Site text.
Nothing a visitor sees has to say "Fotobogen". The software's name appears only in the admin.
| What | How | Notes |
|---|---|---|
| Site title | The Site title field | At the top of every page, in the browser tab, in search results, and in the feed. Up to 80 characters. |
| Tagline | The Tagline field | A short line beside the title. Optional. Also the site's description unless you write one. |
| Language | The Language field: a code such as en, de, pt-BR | Tells screen readers how to pronounce the site and search engines what language it is in. It does not translate anything. |
| Every label, link, button, and message | The fields under Words on the site, grouped by where they appear | About seventy pieces of text. Each field shows the wording used now; type your own to replace it. Up to 200 characters each. |
| A footer line of your own | A line of your own in the footer, under Header and footer | Empty to begin with. A copyright notice, for instance. |
| Back to the original wording | Empty a field, or press Use the default wording everywhere |
The groups of text are: header and footer; the photo grid; a photo; albums and tags; the slideshow; and what is shown when a page cannot be. To run the site in another language, set the language code and reword the fields. A few pieces of text contain names in curly brackets, such as {count}; keep those, as they are filled in when the page is shown.
What cannot be changed here: your photos' own titles and descriptions (those are on each photo's page in the Library), album names (Albums), and the licence wording (Settings). Text is always shown as text: HTML typed into a field appears as typed and is not run.
Its icon and logo
Where: Admin, Appearance, Icon and logo. Both are optional. Without them the site shows its name as text, and the browser tab has no icon.
| What | How | Notes |
|---|---|---|
| Icon | Choose an icon, and pick a picture | Shown in the browser tab, in bookmarks, and on a phone's home screen. Use a square picture of 512 by 512 pixels; at least 64. One that is not square is cropped to its middle. A simple shape reads better than a photograph at this size. |
| Logo | Choose a logo, for light mode, dark mode, or both | Shown at the top of every page in place of the site's name. The name stays as its description for screen readers and search engines. A PNG with a transparent background works best. |
| A different logo for dark mode | Upload a second one under For dark mode | A logo that reads well on a light page may vanish on a dark one. With only one, it is used for both. |
| How tall the logo is | The slider, then Save size | From 20 to 120 pixels; 40 to begin with. A logo is never drawn larger than the picture you gave. |
| Going back | Remove beside each | The name returns as text. |
What is accepted: PNG, JPEG, or WebP, up to 5 MB, judged by what is inside the file. SVG is refused, because an SVG file can carry scripts; export it as a PNG. The picture is redrawn before it is kept, so only its pixels are stored. Both pictures are kept in the site's database, so they are in every backup.
Its look
Where: Admin, Appearance, Skins. The skins page has the details.
| What | How |
|---|---|
| The whole look | Choose one of the four skins: Swiss, Papier, Plakat, Rangefinder Dreams |
| Light or dark | Visitors first see: the skin's own choice, light, dark, or whatever their device is set to. Visitors can switch with a button. |
| Accent colour | A colour picker for light mode and one for dark |
| Space between photos | None, a hairline, or wide |
| Columns on a wide screen | From 2 to 6 |
| A look of your own | Put a skin's folder in data/skins/ and restart. How to make one. |
What a skin cannot do: change the structure of the pages, run scripts, or load anything from another site.
How photographs look
Where: Admin, Appearance, Modules, for all photos; and each photo's page in the Library, for one. The modules page has the details.
| What | How |
|---|---|
| Black and white, or a film's colour | Film looks: five looks, with grain and sharpening |
| A film border round each photo | Film frame: thickness, ragged or straight edge, markings, sprocket holes |
| Your name on each photo | Watermark: text, position, size, opacity |
| One photo different from the rest | Its page in the Library: choose a look, or none |
| A look that comes with a skin | Choosing Rangefinder Dreams sets black and white for every photo; a tick box declines it |
| A look of your own | Put a module's folder in data/modules/ and restart. How to write one. |
Modules start switched off. The file you uploaded is never changed, so any look can be undone exactly.
How the site is laid out
Where: Admin, Site, Settings.
| What | Choices | To begin with |
|---|---|---|
| The grid | Masonry (each photo keeps its shape) or square | As chosen in setup |
| Opening a photo | Over the grid, or on a page of its own | As chosen in setup |
| Order of the front page | Shuffled afresh for each visit, or the library's order | Shuffled on a new site; a site set up before version 1.8.0 keeps the library's order |
| Camera details beside a photo | Shown or not | Shown |
| Where a photo was taken | Shown or not | Not shown |
| The licence under each photo | All rights reserved, or a Creative Commons licence | All rights reserved |
| Downloads | Allowed or not | Not allowed |
| New uploads | Public at once, or hidden as drafts | Public at once |
| Slideshow | Seconds per photo (3 to 120); in order, or shuffled | 8 seconds, in order |
| Picture quality | Smaller files, Standard, or High: how much the copies shown on the site are compressed | Standard |
Changing the picture quality makes every photo's copies again in the background, which takes a while on a large site. Your uploaded files are never changed, so you can change your mind.
The library's order is the order in the Library: drag them, or use the Up, Down, and To top buttons. Albums, tags, and a photo's Previous and Next always follow it; the front page follows it unless it is set to shuffle.
Each photograph
Where: Admin, Photos, Library, then open a photo.
| What | Notes |
|---|---|
| Title and description | Shown beside the photo, in the browser tab, and when its page is shared |
| Alt text | Describes the picture to people who cannot see it, and to search engines |
| Web address | The last part of /photo/… |
| Date taken | Read from the file, and correctable |
| Albums and tags | Any number of each |
| Public now, public later, or a draft | A scheduled photo appears by itself at its time |
| Its own licence and download setting | Otherwise it follows the site's |
| Its own look | Otherwise it follows the site's |
| Links to copy | The address of its page and of each size of the picture, and HTML to embed it |
What search engines and shared links show
Where: Admin, Site, Search and sharing. The page previews a search result and a shared link as you type.
| What | If you leave it alone | Notes |
|---|---|---|
| Title of your home page | Your site's title | Search engines show about 60 characters |
| Description of your site | Your tagline | About 155 characters are shown |
| How other pages' titles are written | "Photo | Site" | Five ways to choose from |
| Picture shown when your site is shared | Your newest photo | Any public photo, or none. A link to one photo always shows that photo. |
| Let search engines list the site | Yes | Off is a request, which the well-known search engines honour. It does not make the site private. |
| Your site's proper address | The address each visitor used | Set this on a public site, so every link points to one address |
| Photographer's name | None | Added to every page as its author |
| Username on X | None | Credited when a page is shared there |
| Google and Bing verification codes | None | To prove the site is yours in their webmaster tools |
Counting visits
Fotobogen counts nothing itself, and until you choose a service your pages load nothing from anywhere else. Admin, Visitor statistics adds a counting service of your choice to the public pages:
| Service | What you give |
|---|---|
| Plausible | The script address from the snippet Plausible shows you (the part inside src="…"). For the older snippet, also its data-domain value. |
| Google Analytics | Your measurement ID, such as G-AB12CD34EF. |
| Another service | Its script address, any data- attributes from its script tag, and, rarely, a second address it reports to. This covers Umami, Fathom, GoatCounter, Simple Analytics, Cloudflare Web Analytics, and others installed with one script tag. |
You give an address or an ID, and Fotobogen writes the script tag. No code is typed into the admin, and nothing typed there is ever run as script.
- Public pages only. The script is never on the admin, the login, or setup, and never while you are logged in, so your own visits are not counted. To check it works, open your site in a private window.
- One service, and nothing else. Your pages may report to the service you chose. Everything else stays blocked.
- Only you can change it, logged in. No API token can, and a demo visitor cannot.
- You are trusting the service, with your visitors and with your site. Its script runs on every visitor's page, on your site's own address. Fotobogen keeps it off the admin and off pages you open while logged in, but it cannot fence a script off from the site it runs on: if the service were ever hostile or broken into, a public page left open in a browser where you are logged in could be used to act as you. Choose a service you would trust that far, or close the gap altogether by giving the admin its own address.
- The service is told the address of each page viewed. For the search page, that address holds the words searched for. A private album's pages never carry the script, so the service never learns such a link.
- What you owe your visitors is yours to decide. Whether you owe visitors a privacy note or a cookie banner is yours to decide; Google Analytics generally needs one in the EU and UK, and cookieless services generally do not. Fotobogen shows no banner.
- No box for pasting script. JavaScript of your own cannot be added from the admin, on purpose: such a box would let anyone who got your password put code in every visitor's browser.
Pages and your menu
Admin, Pages is for pages of words beside your photographs: About, Contact, anything. Give a page a title and it gets an address of its own at the top of your site, such as /about, and a place in your site's menu. You can change the address, take the page out of the menu, or hide it while you write.
A page's text is plain text with a little marking:
| You type | You get |
|---|---|
| An empty line | A new paragraph |
## Prints at the start of a line | A heading (### for a smaller one) |
- Small at the start of a line | A list item |
**bold** and *italic* | bold and italic |
[the shop](https://shop.example.com) | A link reading "the shop" |
| A web address or an email address, written out | A link, by itself |
A preview under the box shows how it will look. A contact page can be as simple as a line with your email address.
- It is never HTML. Anything typed is shown as text, and a link goes only to a web address, an email address, or a page of your site. Someone who got your password could not use a page to put a script on your site.
- Links in your menu. On the same page, add links of your own after your pages: a shop, another site,
mailto:and your address, or a page of this site such as/album/road-trip. Up to eight. - Addresses the site uses are kept for it: a page cannot be
/albumsor/admin. Up to 50 pages. - Only you can change them, logged in. No API token can.
Showing your photos on another site
Other sites can show a slideshow of your photos inside their own pages: a blog, a club's site, a portfolio. Open Admin, Embed on another site, switch it on, choose every photo, one album, or one tag, and a size, and copy the one line of code the page gives you:
<iframe src="https://photos.example.com/embed/slideshow" width="800" height="600" style="border:0;max-width:100%;height:auto;aspect-ratio:800/600" title="Slideshow: Kodachrome Days" loading="lazy"></iframe>
Paste it where the other site lets you add HTML: an "HTML", "Embed", or "Code" block in most editors. The slideshow has one bar of controls (first, back, play or pause, forward, last) with "Powered by Fotobogen" at the end, linked to fotobogen.com. The arrow keys, Home, End, and Space work too. The width and height are the largest it will be: on a narrower page or a phone it shrinks to fit and keeps its shape.
- Off until you switch it on. While it is off, its address answers "not found". Switching it off again stops it at once on every site that has the code.
- Any site can show it, once it is on, not only yours. It plays the photos anyone can already see on your site and nothing else: never a hidden, draft, or scheduled photo, and never where a photo was taken.
- Only this slideshow can be shown inside another site. Every other page still refuses to be framed by anyone else, and the admin and the login refuse even your own site.
- Pressing a photo opens its page on your site, in a new tab.
- It plays as your own slideshow does: the seconds per photo and the order are the ones under Admin, Settings. It has its own plain dark look, not your skin, because it sits in a page that is not yours.
- Visits to it are not counted. It loads no counting script, whatever is set under Visitor statistics.
- Only you can switch it, logged in. No API token can, and a demo visitor cannot.
- Switching it off does not hide your photos. They stay public on your site, and the public API is still readable from any site, so someone who writes their own code can show them.
- It plays from your server. Each person who sees it on another site fetches it from here, so a busy site that embeds it adds to your server's work, and your server's log shows which pages embed it.
- Some hosted site builders remove frames from pasted code. There the slideshow cannot be shown; link to its address instead.
Letting other programs upload
Where: Admin, Server, API tokens.
A token lets a script, or a program such as a photo editor's export plug-in, add photos to your site without your password. Make one, give it a name, and choose what it may do:
| Kind | May | May not |
|---|---|---|
| Upload only | Upload photos, list the library, see whether a photo has been processed, try again with an upload that failed | Change or delete anything else |
| Manage photos | All of that, and edit, reorder, hide, and delete photos, set their looks, and manage albums | Change anything about the site itself |
No token can change settings, skins, site text, pages, the menu, visitor statistics, or embedding, read or change two-step login, install an update, make or revoke tokens, download a backup, or restore one. The token is shown once, when it is made; copy it then. Revoking a token stops it at once. How to use one.
Its address
The site answers at whatever address reaches the server. To use your own domain:
- Point the domain at the server (an A record with whoever you bought the domain from).
- Give the server a certificate for it. With the Docker quick start, set
DOMAINin.envand Caddy does it; on Forge, issue it in Forge. - Tell Fotobogen the address: Search and sharing, Your site's proper address, or
SITE_URLin.env. Links copied from the admin, the feed, and the sitemap then use it.
How the app runs
Where: the .env file in Fotobogen's folder on the server. Copy .env.sample to .env, edit it, and restart.
| What | Setting |
|---|---|
| The port | PORT |
| Where data is kept | DATA_DIR |
| The site's address | SITE_URL |
| The largest upload | MAX_UPLOAD_MB, MAX_MEGAPIXELS |
Every setting, with what is safe to change and what is not, is on the configuration page.
What cannot be customized
- The admin's own appearance. It is dark and says "Fotobogen". Only you see it.
- The structure of the public pages. A skin restyles them thoroughly but cannot rearrange them. Pages of your own are words only: headings, paragraphs, lists, and links.
- The built-in links in the menu. Photos, Albums, Slideshow, and Search can be reworded but not removed or reordered. Your own pages and up to eight links of your own are added after them.
- The sizes of the resized copies. They are fixed; see why.
- More than one account. There is one admin.
What is planned is in the roadmap.