[wp-trac] [WordPress Trac] #34757: Add filter, probably image_downsize, for image urls in wp_calculate_image_srcset()
WordPress Trac
noreply at wordpress.org
Fri Nov 20 23:11:18 UTC 2015
#34757: Add filter, probably image_downsize, for image urls in
wp_calculate_image_srcset()
--------------------------+-----------------------------
Reporter: klihelp | Owner:
Type: defect (bug) | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: trunk
Severity: normal | Keywords:
Focuses: |
--------------------------+-----------------------------
I am able to use the image_downsize filter to return custom images stored
outside the wp-uploads directory.
The wp_calculate_image_srcset() calculate the image sources to include in
a 'srcset' attributes; images sources are not in sync with the
image_downsize filter.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34757>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list