[wp-trac] [WordPress Trac] #26768: Add remove_image_size()
WordPress Trac
noreply at wordpress.org
Sat Jan 4 13:20:52 UTC 2014
#26768: Add remove_image_size()
-----------------------------+-----------------------------
Reporter: Daedalon | Owner:
Type: feature request | Status: new
Priority: normal | Milestone: Awaiting Review
Component: Themes | Version: 3.8
Severity: normal | Keywords:
-----------------------------+-----------------------------
There have been [http://wordpress.org/search/remove+image+size numerous
requests for a remove_image_size() function in WordPress].
[http://codex.wordpress.org/Function_Reference/add_image_size
add_image_size()] needs such a counterpart to let child themes fully
define what media they support and to avoid creating unnecessary resized
images.
For example the [http://wordpress.org/themes/elbee-elgee Elbee Elgee
theme] defines a 640px * 9999px image size. Our child theme doesn't use
this size anywhere. However, as long as that image size if defined, an
image of that size will be generated for each larger image that is
uploaded.
Without remove_image_size() it's not possible to avoid generating those
unnecessary images in an update-safe way.
--
Ticket URL: <https://core.trac.wordpress.org/ticket/26768>
WordPress Trac <https://core.trac.wordpress.org/>
WordPress blogging software
More information about the wp-trac
mailing list