[wp-trac] [WordPress Trac] #39263: PDF-Preview works only with standard image-sizes

WordPress Trac noreply at wordpress.org
Tue Dec 13 14:13:10 UTC 2016


#39263: PDF-Preview works only with standard image-sizes
--------------------------+-----------------------------
 Reporter:  arkonisus     |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  4.7
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 The output of a preview of a pdf-attachment via
 '''wp_get_attachment_image()''' only works correctly if you use one of the
 pre-defined image sizes e.g. 'thumbnail'. Any custom size will be diplayed
 correctly but the src of the image just points to the original (full) with
 the result of a huge page load because no custom sized image was rendered.

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


More information about the wp-trac mailing list