get_udims
get_udims ( $width, $height )
Parameters:- (int) width Current width of the image
- (int) height Current height of the image
See:Returns:- (array) Shrunk dimensions (width, height).
Defined at: - Introduced in WordPress: 2.0.0
- Deprecated in WordPress: 3.5.0
Description
Calculated the new dimensions for a downsampled image.