[wp-trac] [WordPress Trac] #35108: Responsive images blurry - srcset attribute doesn't include full size version

WordPress Trac noreply at wordpress.org
Mon Dec 28 04:02:11 UTC 2015


#35108: Responsive images blurry - srcset attribute doesn't include full size
version
--------------------------------------------------+------------------------
 Reporter:  nicasi                                |       Owner:  joemcgill
     Type:  defect (bug)                          |      Status:  reopened
 Priority:  normal                                |   Milestone:  4.4.1
Component:  Media                                 |     Version:  4.4
 Severity:  normal                                |  Resolution:
 Keywords:  has-patch has-unit-tests fixed-major  |     Focuses:
--------------------------------------------------+------------------------

Comment (by rabmalin):

 I was just about to create a ticket but saw this ticket. I am not sure
 this is the same issue. If it is different then I will create new ticket.

 {{{
     <img width="680" height="510" src="http://staging.dev/wp-
 content/uploads/2011/07/dsc02085-1200x900.jpg" class="attachment-post-
 thumbnail size-post-thumbnail wp-post-image" alt="Orange Iris"
 srcset="http://staging.dev/wp-content/uploads/2011/07/dsc02085-300x225.jpg
 300w, http://staging.dev/wp-content/uploads/2011/07/dsc02085-768x576.jpg
 768w, http://staging.dev/wp-content/uploads/2011/07/dsc02085-1024x768.jpg
 1024w, http://staging.dev/wp-content/uploads/2011/07/dsc02085-1200x900.jpg
 1200w, http://staging.dev/wp-content/uploads/2011/07/dsc02085.jpg 1600w"
 sizes="(max-width: 680px) 100vw, 680px">
 }}}

 I am using Twenty Fifteen theme, WordPress version 4.4. `post-thumbnail`
 size is `825x510`. Original image size is `1600x1200`. But I am not
 getting expected image.

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


More information about the wp-trac mailing list