Opened 10 years ago
Closed 10 years ago
#39263 closed defect (bug) (duplicate)
PDF-Preview works only with standard image-sizes
| Reported by: | arkonisus | Owned by: | |
|---|---|---|---|
| Priority: | normal | Milestone: | |
| Component: | Media | Version: | 4.7 |
| Severity: | normal | Keywords: | |
| Cc: | Focuses: |
Description
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)
Note:
See TracTickets
for help on using tickets.
![(please configure the [header_logo] section in trac.ini)](/chrome/site/your_project_logo.png)
Hi @arkonisus. Thanks for the report.
We're currently tracking this issue in #39231.