image_downsize Wordpress function


Description:

Scale an image to fit a particular size (such as 'thumb' or 'medium').


Syntax:


Arguments:

(int) $id Attachment ID for image.
(array|string) $size Optional, default is 'medium'. Size of image, either array or string.


Return Type:

(bool|array) False on failure, array on success.


Define At:

wp-includes/media.php


Wordpress Reference URL:

http://codex.wordpress.org/Function_Reference/image_downsize


0 Flares Facebook 0 Google+ 0 0 Flares ×
Posted in: Wordpress functions
0 Flares Facebook 0 Pin It Share 0 Google+ 0 0 Flares ×