[wp-trac] [WordPress Trac] #30861: Media grid all items also shouldn't use full or large sizes

WordPress Trac noreply at wordpress.org
Mon Dec 29 23:22:14 UTC 2014


#30861: Media grid all items also shouldn't use full or large sizes
--------------------------+-----------------------------
 Reporter:  oiler         |      Owner:
     Type:  defect (bug)  |     Status:  new
 Priority:  normal        |  Milestone:  Awaiting Review
Component:  Media         |    Version:  4.1
 Severity:  normal        |   Keywords:
  Focuses:                |
--------------------------+-----------------------------
 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.

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


More information about the wp-trac mailing list