thumbnailbadges: resize thumbnail, allow arbitary mimetype
Info how to run functional doctests
instance settings to enable thumbnail badges and set the icon size