[wp-trac] [WordPress Trac] #43524: Add another default image size
WordPress Trac
noreply at wordpress.org
Mon Aug 19 19:39:43 UTC 2019
#43524: Add another default image size
-------------------------+------------------------
Reporter: azaozz | Owner: joemcgill
Type: enhancement | Status: assigned
Priority: normal | Milestone: 5.3
Component: Media | Version:
Severity: normal | Resolution:
Keywords: needs-patch | Focuses:
-------------------------+------------------------
Comment (by azaozz):
Replying to [comment:24 pierlo]:
Thanks for the patch!
Been meaning to comment here too. After #40439 and #47872 there shouldn't
be any technical problems adding more default image sizes (before them any
new size would increase the chance of the upload failing).
In that terms thinking it may need two new sizes: one that is 2x "large",
2048px max-width or max-height, and another that is 2x "medium-large",
1536px max-width or max-height. Or perhaps it makes sense to do 1600 and
2000? Thinking best to defer to @joemcgill here as he has a lot more
experience :)
In any case the new sizes should not be "user settable" from the UI just
like the "medium-large" size. They should be "changeable" only from themes
and plugins (although best to not change them, they will be needed for
better support for the srcset attribute).
I'm actually thinking we should remove the image size UI completely and
replace it with "Add a custom image size (but only if you really know what
you're doing)" in new WP installs. But lets take it one step at a time.
Also related #47873.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/43524#comment:25>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress publishing platform
More information about the wp-trac
mailing list