wp_create_thumbnail Wordpress function


Description:

This was once used to create a thumbnail from an Image given a maximum side size.


Syntax:


Arguments:

(mixed) $file Filename of the original image, Or attachment id.
(int) $max_side Maximum length of a single side for the thumbnail.
(mixed) $deprecated Never used.


Return Type:

(string) Thumbnail path on success, Error string on failure.


Define At:

wp-admin/includes/deprecated.php


Wordpress Reference URL:

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


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