wp_stream_image


wp_stream_image ( $image, $mime_type, $attachment_id )

Parameters:
  • (WP_Image_Editor) image The image editor instance.
  • (string) mime_type The mime type of the image.
  • (int) attachment_id The image's attachment post ID.
Returns:
  • (bool) True on success, false on failure.
Defined at:

Description

Streams image in WP_Image_Editor to browser.

Related Functions

wp_save_image, wp_crop_image, wp_load_image, wp_restore_image, stream_preview_image

Top Google Results

User discussions

wpseek mobile