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_dropins, get_plugins, get_dirsize, get_terms, _get_dropins

Top Google Results

User discussions

wpseek mobile