[wp-trac] [WordPress Trac] #35102: Responsive images support for external URLs
WordPress Trac
noreply at wordpress.org
Tue Dec 15 17:01:05 UTC 2015
#35102: Responsive images support for external URLs
-------------------------------------+------------------------
Reporter: polevaultweb | Owner: joemcgill
Type: defect (bug) | Status: reviewing
Priority: normal | Milestone: 4.4.1
Component: Media | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch needs-testing | Focuses:
-------------------------------------+------------------------
Changes (by joemcgill):
* owner: => joemcgill
* status: new => reviewing
Comment:
Thanks for the report @polevaultweb. Can you give more information about
how your plugin replaces the local URLs? If you can point me to some code
that I could look at, that would be helpful as well.
WordPress makes use of the attachment ID information found in the class
attribute of the image markup to decide which alternate image sizes should
be loaded in a `srcset` attribute. To avoid loading the wrong images when
the ID is incorrect (e.g., if the markup was imported from another WP
installation), we check to make sure the image `src` matches one of the
image sizes listed in the attachment metadata for that ID. See #34898 and
a related bug that might be causing issues for you #35045.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/35102#comment:4>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list