Add image uploading capability for forum moderators for use with custom forum theming
Reddit lets subreddit moderators upload images to be used in custom subreddit CSS files and I'd like to use similar functionality too! So that I could then use the picture by writing something along the following in a custom forum CSS theme:
body {
background-image: url(//postmill.instance.org/uploads/f8e5g.png);
}
Here's what I sketched with Google Chrome's tools but couldn't accomplish on Postmill:
The proposed feature has slight potential for abuse given that users might upload abusive imagery. Few points on possible mitigation:
- AFAIK user accounts need to be older than 24 hours to make their own forum. Similar (or longer) limitation could apply to image uploading capabilities as well. (After all, some other user could make another a moderator before the 24 hours limit has passed.)
- Image uploading could also be rate limited to, say, ten images per forum per day as that would offer ample room for genuine use and its mistakes while limiting the potential damage.
- Uploaded images per forum could be capped at some smallish number to let genuine users upload, say, a logo and a background for the forum but not much else.
- Image size (in kilo/megabytes) probably needs to be limited. This could be an admin setting.
No other issues come to my mind, but the proposed feature would enhance the visual possibilities of forums greatly.