wp_getimagesize


wp_getimagesize ( $filename, $imageinfo = array() )

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

Description

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

Related Functions

wp_get_image_mime, wp_create_image_subsizes, wp_get_image_editor, _wp_get_image_size_from_meta, has_image_size

Top Google Results

User discussions

wpseek mobile