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_dirsize, get_plugins, get_dropins, get_media_items, get_links

Top Google Results

User discussions

wpseek mobile