[wp-trac] [WordPress Trac] #25758: Twenty Fourteen: Add full-width featured image size

WordPress Trac noreply at wordpress.org
Wed Nov 6 20:29:07 UTC 2013


#25758: Twenty Fourteen: Add full-width featured image size
---------------------------+--------------------
 Reporter:  iamtakashi     |       Owner:
     Type:  enhancement    |      Status:  new
 Priority:  normal         |   Milestone:  3.8
Component:  Bundled Theme  |     Version:  trunk
 Severity:  normal         |  Resolution:
 Keywords:  has-patch      |
---------------------------+--------------------

Comment (by lancewillett):

 Replying to [comment:7 iamtakashi]:
 > I think using `wp_is_mobile()` is outweigh that iPad users won't see the
 full-width thumbnail until the core has better dynamic image loading

 I agree, for now. It'd be nice if core had more granular methods, like
 {{{is_tablet()}}}.

 > Is there any better approach that makes sense to have in a theme?

 Good question; let's explore other ways.

 One possibility is a lightweight JS file that handles loading the correct
 image size based on viewport width. It would run once for each page load
 and update the featured images in the page.

--
Ticket URL: <http://core.trac.wordpress.org/ticket/25758#comment:8>
WordPress Trac <http://core.trac.wordpress.org/>
WordPress blogging software


More information about the wp-trac mailing list