pods_image_resize

Resize an image on demand

Resize an image on demand

Function Definition

function pods_image_resize ( $attachment_id, $size )

Source File: /pods/includes/media.php, since 2.3

Parameters

PARAMETER TYPE DETAILS
$attachment_id (int) Attachment ID
$size (string|array) Size to be generated

Returns

(boolean) Image generation result

Other Helpful Documentation on Media Functions

pods_attachment_import

Import media from a specific URL, saving as an attachment

pods_image

Get the  HTML for a specific image field

pods_image_id_from_field

Get the Attachment ID for a specific image field

pods_image_url

Get the Image URL for a specific image field