image_get_intermediate_size Wordpress function


Description:

Retrieve the image's intermediate size (resized) path, width, and height.


Syntax:


Arguments:

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


Return Type:

(bool|array) False on failure or array of file path, width, and height on success.


Define At:

wp-includes/media.php


Wordpress Reference URL:

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


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