Create multiple smaller images from a single source.
Attempts to create all sub-sizes and returns the meta data at the end. This may result in the server running out of resources. When it fails there may be few "orphaned" images left over as the meta data is never returned and saved.
As of 5.3.0 the preferred way to do this is with
make_subsize(). It creates the new images one at a time and allows for the meta data to be saved after each new image is created.
(array) (Required) An array of image size data arrays. Either a height or width must be provided. If one of the two is set to null, the resize will maintain aspect ratio according to the provided dimension.
(array) Array of height, width values, and whether to crop.
(int) Image width. Optional if
(int) Image height. Optional if
(bool) Optional. Whether to crop the image. Default false.
(array) An array of resized images' metadata by size.