Wiki

Clone wiki

Shortcode Ultimate V2 / Inner API / su_image_resize()

To convert or re-size you can use su_image_resize() function.

Example

<?php 

$converted_image_url = su_image_resize( $image_location , $image_width , $image_height, $quality );

?>

Params

Param Name Type Description
$image_location URL You can put here the location of image source
$image_width Number Put width as pixel of image
$image_height Number Put Height as pixel of image
$quality Number define image quality here.

Updated