#2719: Replace preview image with link to file when it's not an image or video.