[wp-trac] [WordPress Trac] #39630: PDF Thumbnails in Media Library Don't Fall Back to Full Size

WordPress Trac noreply at wordpress.org
Wed Jan 18 17:49:38 UTC 2017


#39630: PDF Thumbnails in Media Library Don't Fall Back to Full Size
--------------------------------+-----------------------------
 Reporter:  daleharrison        |      Owner:
     Type:  defect (bug)        |     Status:  new
 Priority:  normal              |  Milestone:  Awaiting Review
Component:  Media               |    Version:  4.7
 Severity:  normal              |   Keywords:
  Focuses:  ui, administration  |
--------------------------------+-----------------------------
 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.

--
Ticket URL: <https://core.trac.wordpress.org/ticket/39630>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list