[wp-trac] [WordPress Trac] #35390: Responsive image size issue when `large` is used to display thumbnail

WordPress Trac noreply at wordpress.org
Tue Jan 12 16:11:21 UTC 2016


#35390: Responsive image size issue when `large` is used to display thumbnail
-----------------------------+------------------------------
 Reporter:  rabmalin         |       Owner:  joemcgill
     Type:  defect (bug)     |      Status:  reviewing
 Priority:  normal           |   Milestone:  Awaiting Review
Component:  Post Thumbnails  |     Version:  4.4
 Severity:  normal           |  Resolution:
 Keywords:                   |     Focuses:
-----------------------------+------------------------------

Comment (by rabmalin):

 Hello,

 You mentioned `$content_width` in the comment. So I tried changing value
 of that global variable. Now `width` of `img` tag is changed. This mystry
 of width value is solved. Is this expected behaviour? Limiting images
 inside `the_content()` makes sense. But limiting when using
 `the_post_thumbnail( 'large' );` does not make sense to me. When `1024` is
 set to `large` then I would expect that size for the display.

 Nilambar

--
Ticket URL: <https://core.trac.wordpress.org/ticket/35390#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform


More information about the wp-trac mailing list