PDFs Have No Thumbnail Or Icon In Media Gallery
- Dominant language
- JavaScript
- Stars
- 19.4k
- Forks
- 3.1k
- Avg merge
- 1d 14h
- Merged PRs (30d)
- 9
Description
**Describe the bug**
When a `.pdf` file is uploaded to the Media Gallery, it's preview card is blank. No thumbnail is generated for it. Note that this remains true after a page refresh. Thumbnails are generated for images.
**To Reproduce**
**Expected behavior**
Either a Thumbnail, or a PDF icon is displayed on the file's preview card.
**Observations**
- This is a different issue to #1985 as no image is displayed even after a page refresh.
- If a preview cannot be generated for PDFs, an icon should be displayed as current behaviour makes it look like upload failed.
**Screenshots**

**Applicable Versions:**
- Netlify CMS version: netlify-cms 2.3.2
- Git provider: Gitlab
- OS: OSX
- Browser version: 71.0.3578.98
- Node.JS version: 8.11.3
Contributor guide
Assessment
This issue has not been assessed yet.