[wp-trac] [WordPress Trac] #34931: Adding a filter to modify ratio differs when generating img srcset
WordPress Trac
noreply at wordpress.org
Wed Dec 9 13:27:54 UTC 2015
#34931: Adding a filter to modify ratio differs when generating img srcset
-----------------------------------------+------------------------------
Reporter: mbcreation | Owner: joemcgill
Type: enhancement | Status: reviewing
Priority: normal | Milestone: Awaiting Review
Component: Media | Version: 4.4
Severity: normal | Resolution:
Keywords: has-patch reporter-feedback | Focuses:
-----------------------------------------+------------------------------
Comment (by mbcreation):
Hi Joe and thanks for your feedback.
Just did one update (to 4.4) this morning and noticed that around half of
my thumbnail didn't include any srcset.
By getting into the source code i found out that this "diff ratio" was
responsible of that. Then wondering why there was not filter like
max_srcset_image_width (for instance)
Not a big deal of course but the actual figure seems to be quite
demanding. (excuse my english...)
--
Ticket URL: <https://core.trac.wordpress.org/ticket/34931#comment:5>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list