WordPress.org

Make WordPress Core

Opened 19 months ago

Last modified 9 months ago

#22100 new enhancement

Introduce register_image_size() — at Initial Version

Reported by: scribu Owned by:
Milestone: Future Release Priority: normal
Severity: normal Version:
Component: Media Keywords: has-patch needs-refresh
Focuses: Cc:

Description

Goals:

  1. Have a solid API for working with intermediate image size definitions.
  1. Make default image sizes go through register_image_size(), instead of having an ugly $_wp_additional_image_sizes global.
  1. Introduce a 'pregenerate' arg, which will allow defining an image size that will not be automatically generated right after upload.

Related tickets: #15311, #21810

Change History (1)

scribu19 months ago

Note: See TracTickets for help on using tickets.