Make WordPress Core

Opened 8 years ago

Closed 8 years ago

#39263 closed defect (bug) (duplicate)

PDF-Preview works only with standard image-sizes

Reported by: arkonisus's profile arkonisus Owned by:
Milestone: Priority: normal
Severity: normal Version: 4.7
Component: Media Keywords:
Focuses: Cc:


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.

Change History (1)

#1 @joemcgill
8 years ago

  • Milestone Awaiting Review deleted
  • Resolution set to duplicate
  • Status changed from new to closed

Hi @arkonisus. Thanks for the report.

We're currently tracking this issue in #39231.

Note: See TracTickets for help on using tickets.