diff --git a/docs/admin-guide.md b/docs/admin-guide.md
index 6dadaf7..2135ad7 100644
--- a/docs/admin-guide.md
+++ b/docs/admin-guide.md
@@ -62,6 +62,8 @@ read **Putting it behind TLS** below — the quick start above serves plain HTTP
| `LASTFM_API_KEY` | api, worker | *(unset)* | Enables importing straight from Last.fm ([get a key](https://www.last.fm/api/account/create)) |
| `MUSICBRAINZ_CONTACT` | api, worker | `UI_BASE_URL` | Contact URL/email sent to MusicBrainz for album art lookups (no key needed, but they ask for one) |
| `ART_STORAGE_DIR` | api, worker | `var/album-art` | Where downloaded album art is stored; the worker writes it, the api serves it — both need access to the same directory (`docker compose` mounts a shared volume there) |
+| `AVATAR_UPLOAD_MAX_BYTES` | api | 2 MB | Largest profile image a user may upload (a reverse proxy needs a body limit at least this large too). Images are stored in `avatars/` inside `ART_STORAGE_DIR` |
+| `AVATAR_GRAVATAR_ENABLED` | api | off | Lets users use their Gravatar as their profile image. The api then calls gravatar.com (outbound HTTPS needed), sending it a SHA-256 hash of the user's email address; browsers never contact Gravatar |
| `ART_UPLOAD_MAX_BYTES` | api | 5 MB | Largest image a user may upload as their own album art. A reverse proxy in front of the api needs a body limit at least this large |
| `IMPORT_MAX_BYTES` | api | 200 MB | Largest export file accepted |
| `WORKER_METRICS_PORT` | worker | `9101` | The worker's Prometheus metrics port |
@@ -201,6 +203,11 @@ disposable cache — it's simply re-downloaded the next time it's requested. Ima
volume and can't be re-created, so include the volume in your backups. The database rows
that point at them are in `user_album_art`; restore the two together.
+Profile images (uploads, and copies of users' Gravatars) are in `avatars/` in that volume,
+one file per user id, and likewise belong in your backups. The `users` table records
+which users have one (`avatar_source`); a missing file just shows as no image. Gravatar
+copies can be re-fetched by their users, but uploads can't be re-created.
+
## Upgrades
```sh
diff --git a/docs/user-guide.md b/docs/user-guide.md
index 005cea9..7d20ba3 100644
--- a/docs/user-guide.md
+++ b/docs/user-guide.md
@@ -65,6 +65,22 @@ flight. Unlike live scrobbles, imports keep plays of any age (still skipping row
artist or track, or plays dated in the future). Plays already in your history are
skipped, so importing the same export again, or importing overlapping exports, is safe.
+## Your profile image
+
+Click your name in the page header to open **Profile**, where you can give yourself a
+picture, shown next to your name. Upload a JPEG, PNG or WebP image, or remove it again.
+
+If your instance's admin has allowed it, you can also **use your Gravatar**. The server
+asks Gravatar for the picture linked to your account email, sending it a hash of that
+address (never the address itself), and keeps a copy; your browser doesn't contact
+Gravatar. **Refresh Gravatar** fetches it again after you change it there. Choosing an
+upload replaces a Gravatar and vice versa.
+
+Your image is private by default. If your instance shares on the fediverse, **Sharing**
+has a **Share my profile image** switch that shows it on your public profile page and
+sends it to other servers as your picture. They keep their own copies, so a change or
+removal can take a while to show up everywhere.
+
## Sharing on the fediverse
Only available if your instance's admin has turned this on — ask them, or check whether
diff --git a/frontend/account.html b/frontend/account.html
new file mode 100644
index 0000000..5393e8e
--- /dev/null
+++ b/frontend/account.html
@@ -0,0 +1,25 @@
+
+
+