minceheid / imageblur
Blurs images for non-logged in users
Installs: 385
Dependents: 0
Suggesters: 0
Security: 0
Stars: 0
Watchers: 1
Forks: 1
Open Issues: 0
Language:JavaScript
Type:flarum-extension
Requires
- flarum/core: ^1.0
This package is not auto-updated.
Last update: 2025-07-13 16:49:09 UTC
README
This extension adjusts all images in posts so that they appear to be blurred for anyone not signed into the forum. It uses CSS blurring, so is trivial for anyone to work around it. The main use is to try and encourage people to register/sign in and hopefully, to interact.
It also hides the "search" bar on the main page for anyone that is not signed in, again through CSS styling.
Note that this extension requires a modification to the fof/upload resource template in order to set the class for any images that are visible through the UPL-PREVIEW mechanism. Update "vendor/fof/upload/resources/templates as follows:
<img src="{@url}" title="{@base_name}" alt="{@base_name}" class="flarum-img"/>