Changeset 25728 for trunk/src/wp-includes/class-wp-image-editor-gd.php
- Timestamp:
- 10/08/2013 05:19:00 PM (11 years ago)
- File:
-
- 1 edited
Legend:
- Unmodified
- Added
- Removed
-
trunk/src/wp-includes/class-wp-image-editor-gd.php
r24727 r25728 176 176 177 177 /** 178 * Processes current image and saves to disk 179 * multiple sizes from single source. 180 * 181 * 'width' and 'height' are required. 182 * 'crop' defaults to false when not provided. 183 * 184 * @since 3.5.0 185 * @access public 186 * 187 * @param array $sizes { {'width'=>int, 'height'=>int, ['crop'=>bool]}, ... } 188 * @return array 178 * Resize multiple images from a single source. 179 * 180 * @since 3.5.0 181 * @access public 182 * 183 * @param array $sizes { 184 * An array of image size arrays. Default sizes are 'small', 'medium', 'large'. 185 * 186 * @type array $size { 187 * @type int $width Image width. 188 * @type int $height Image height. 189 * @type bool $crop Optional. Whether to crop the image. Default false. 190 * } 191 * } 192 * @return array An array of resized images metadata by size. 189 193 */ 190 194 public function multi_resize( $sizes ) {
Note: See TracChangeset
for help on using the changeset viewer.