Add API call for web UI images
In the new UI we will have custom "cards" for jails/vms/users/groups/dash and more which will allow users to upload their own identifying images. (I.E. I may want a Plex logo on my plex plugin)
We'll need a way to not only upload the images, but also list / remove them as needed.
William, please load-balance with team as necessary.
feat(api/webui.image): Add CRUD endpoint for webui images (#952)
- feat(api/webui.image): Add CRUD endpoint for webui images
- Address William review
- As strange as it sounds, we need to hardcode some image extension
jpgs still work as jpgs, but they live a life of danger posing as a png on the filesystem.
- William demanded I do this
An integer is an integer until it isn't. Use a more common representation for the mode.