Search by

prm / hero-image

smmpanelscripts1

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

Statistics

Installs: 1

Dependents: 0

Suggesters: 0

Stars: 0

Open Issues: 0

0.1.0 2026-09-17 18:55 UTC

This package is auto-updated.

Last update: 2026-09-17 19:40:20 UTC


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:

Homepage hero

Profile cover:

Profile cover

Admin settings:

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

  1. Admin → Hero Image
  2. Upload a wide PNG, JPG, GIF, or WEBP (max 3 MB)
  3. Set the overlay strength and save

Profile cover

  1. Admin → Hero Image → Permissions
  2. Enable Upload profile cover image for the groups you want
  3. On a profile, open OptionsUpload 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