Will there be a need to render thumbnails for groups, content and discussions as well? If so, this could become a `renderThumbnail` function. If not, this can remain as well.