Only generate previewImage if previewMedia is not already an image.