Opened 10 years ago
Closed 10 years ago
#30861 closed defect (bug) (fixed)
Media grid all items also shouldn't use full or large sizes
Reported by: | oiler | Owned by: | wonderboymusic |
---|---|---|---|
Milestone: | 4.2 | Priority: | normal |
Severity: | normal | Version: | 4.1 |
Component: | Media | Keywords: | has-patch |
Focuses: | Cc: |
Description
This is a follow-up to #29498.
It looks to me like the logic added in #29498 also needs to be applied in line 438 of wp-includes/media-template.php
More to the point, I also strongly argue that using full size as a fallback if 'large' has been deregistered isn't a good idea. This could lead to an initial page load of well over 100MB. Every effort to check for other sizes - specifically the thumbnail size - should be made before loading the full size image into this thumb grid.
Attachments (1)
Change History (3)
Note: See
TracTickets for help on using
tickets.
Agreed, thanks for the report. I would load
thumbnail
beforefull
here. 30861.diff