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:

Description

Calculated the new dimensions for a downsampled image.

Related Functions

get_user, get_dirsize, get_dropins, get_plugins, _get_dropins

Top Google Results

User discussions

wpseek mobile