wp_getimagesize


wp_getimagesize ( $filename, $image_info = null )

Parameters:
  • (string) filename The file path.
  • (array) image_info Optional. Extended image information (passed by reference).
Returns:
  • (array|false) Array of image information or false on failure.
Defined at:
Change Log:
  • 5: .

Description

Allows PHP's getimagesize() to be debuggable when necessary.

Related Functions

_wp_get_image_size, wp_get_image_mime, wp_create_image_subsizes, wp_get_image_editor, _wp_get_image_size_from_meta

Top Google Results

User discussions

wpseek mobile