[wp-trac] [WordPress Trac] #34998: Problem with responsive images

WordPress Trac noreply at wordpress.org
Fri Dec 11 16:27:28 UTC 2015


#34998: Problem with responsive images
-------------------------------+------------------------------
 Reporter:  thisisbbc          |       Owner:  joemcgill
     Type:  defect (bug)       |      Status:  reviewing
 Priority:  normal             |   Milestone:  Awaiting Review
Component:  Media              |     Version:  4.4
 Severity:  normal             |  Resolution:
 Keywords:  reporter-feedback  |     Focuses:
-------------------------------+------------------------------

Comment (by thisisbbc):

 Quote from Jasper De Groot :

   The data-o_* attributes are added by the WooCommerce plugin in case of
 variable products where each variation has its own image. These data-
 attributes contain the values for the general product image. JavaScript is
 used to replace the values of the image attributes by the ones of their
 data-o_ equivalent in case the general image needs to be shown.
   The srcset is added by WooCommerce with a call to
 wp_get_attachment_image_srcset() so the fact that the 1000px width non-
 square image is included in there seems to be a bug in WordPress. I have
 to debug more though to figure out what goes wrong.

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


More information about the wp-trac mailing list