prm / hero-image
Replace the welcome banner with an admin-uploaded image, and let permitted groups upload a profile cover.
Package info
github.com/smmpanelscripts1/prm-hero-image
Type:flarum-extension
pkg:composer/prm/hero-image
0.1.0
2026-09-17 18:55 UTC
Requires
- flarum/core: ^1.8
Requires (Dev)
None
Suggests
None
Provides
None
Conflicts
None
Replaces
None
README
Replace Flarum’s welcome banner with a homepage image, and let permitted groups upload a cover on their own profile.
Compatible with Flarum 1.8.
Screenshots
Homepage banner:
Profile cover:
Admin settings:
What it does
- Hides the default “Welcome to Flarum” text banner
- Shows an admin-uploaded image in the same slot, with a dark overlay
- Lets users change their own profile cover from Options → Upload cover image
- Admins pick which groups may upload a profile cover
Install
composer config repositories.prm-hero-image vcs https://github.com/smmpanelscripts1/prm-hero-image composer require prm/hero-image:dev-main
Enable Hero Image in the admin extension list, then clear the cache:
php flarum cache:clear
How to use
Homepage image
- Admin → Hero Image
- Upload a wide PNG, JPG, GIF, or WEBP (max 3 MB)
- Set the overlay strength and save
Profile cover
- Admin → Hero Image → Permissions
- Enable Upload profile cover image for the groups you want
- On a profile, open Options → Upload cover image or Remove cover image
Uploads are checked on the server (real MIME type, size, dimensions) and re-encoded to JPEG. SVG/HTML is rejected. Filenames are random.
License
MIT


