get_udims Wordpress function


Description:

Calculated the new dimensions for a downsampled image.


Syntax:


Arguments:

(int) $width Current width of the image
(int) $height Current height of the image


Return Type:

(array) Shrunk dimensions (width, height).


Define At:

wp-admin/includes/deprecated.php


Wordpress Reference URL:

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


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