WordPress.org

Make WordPress Core

Opened 3 years ago

Last modified 3 years ago

#39630 new defect (bug)

PDF Thumbnails in Media Library Don't Fall Back to Full Size

Reported by: daleharrison Owned by:
Milestone: Awaiting Review Priority: normal
Severity: normal Version: 4.7
Component: Media Keywords:
Focuses: ui, administration Cc:
PR Number:

Description

When previewing uploaded files in the Media Library, image thumbnails fall back to displaying the full size image when the option medium_size_h is set to 0 (the 0 setting is used to stop WordPress generating thumbs at that size).

The same functionality does not work for uploaded PDFs, instead displaying wp-includes/images/media/document.png in their place. The full-size thumbnail is generated, but not used.

The Attachment Details modal window successfully falls back to the full size image when previewing a PDF under the same circumstances.

Attachments (1)

Screen Shot 2017-01-18 at 12.47.17 PM.png (92.7 KB) - added by daleharrison 3 years ago.
Example of PDF Thumbnail Compared to Image Thumbnails in Media Library

Download all attachments as: .zip

Change History (2)

@daleharrison
3 years ago

Example of PDF Thumbnail Compared to Image Thumbnails in Media Library

This ticket was mentioned in Slack in #core-media by joemcgill. View the logs.


3 years ago

Note: See TracTickets for help on using tickets.