Fixed URL preview image MIME types and rejected failed downloads. Contributed by @eleboucher.