generate previews, have a fallback thumbnail, fixes TIFF upload