wp_load_image


wp_load_image ( $file )

Parameters:
  • (string) file Filename of the image to load.
See:
Returns:
  • (resource|GdImage|string) The resulting image resource or GdImage instance on success, error string on failure.
Defined at:

Description

Load an image from a string, if PHP supports it.

Related Functions

wp_crop_image, wp_save_image, media_upload_image, wp_preload_dialogs, wp_stream_image

Top Google Results

User discussions

wpseek mobile