Cover Studio
GitHub | Packagist
Hi everyone! 👋
I'd like to share Cover Studio — a Flarum 2.x extension that adds profile covers with a repositionable focal point ("pos-crop") and zoom, fully integrated with the FoF Upload media manager. Optionally, the same focal-point editing is available for avatars.
🖼️ Screenshots




✨ Features
Profile covers
- Upload a cover image or pick one you already uploaded from "My Media" (FoF Upload's media manager).
- No destructive cropping — the image is kept at full resolution. You choose a focal point and an optional zoom (0.5×–4×), and every surface centers on that point.
- Zooming out below 1× creates a cinematic letterbox effect: the exposed bands are filled with a blurred copy of the image — great for wide skies or full artworks.
- Re-position at any time without re-uploading — drag with mouse/touch, zoom with the mouse wheel or a slider, or use the keyboard (arrows pan, +/- zoom). A rule-of-thirds grid and a focal-point crosshair make precise framing easy.
- Covers show on the profile hero and (optionally) on post hover cards and in the FoF User Directory — those use a lightweight thumbnail instead of the full image.
- Readability overlay (gradient / uniform darken / none) and an optional default cover URL for users without one.
- Moderators with the edit user permission can manage other users' covers.
Media manager integration
- Cover files are regular FoF Upload files owned by the profile owner — they appear in My Media.
- Deleting the file there removes the cover automatically; hiding it keeps the cover visible.
Avatar focal point (optional)
- Avatar uploads keep the original image, and the actual avatar is re-cropped server-side whenever the user adjusts the focal point or zoom — always full quality, never a re-upload.
- The result stays a 100% standard Flarum avatar everywhere (all sizes, HiDPI, e-mails, notifications) — no CSS hacks, no compatibility issues.
📋 Requirements
- Flarum
^2.0
- PHP
^8.3
- fof/upload installed and enabled
📦 Installation
composer require tryhackx/flarum-cover-studio
php flarum migrate
php flarum cache:clear
Then enable Cover Studio in the admin panel.
🔁 Migrating from sycho/flarum-profile-cover
Existing covers can be imported — each one becomes a proper FoF Upload file in the owner's media manager:
php flarum cover-studio:migrate-sycho --dry-run # preview
php flarum cover-studio:migrate-sycho # import
The command is non-destructive: legacy files and the users.cover column are left untouched.
❤️ Support
Cover Studio is free and MIT-licensed. If you find it useful, there is a Support Development button at the top of the extension's admin settings with donation addresses — every contribution helps keep the project maintained.
Feedback, bug reports and feature requests are very welcome — here or on the issue tracker.
Enjoy! 🎉