How to crop image in wordpress? | Codeexecute

How to crop image in wordpress?

Please try below code.

<?php 
$img = 'full image path'; //img URL 
$crop_image = aq_resize( $img, 352, 264, true ); // get crop image 
?> 
<img src="<?php echo $crop_image ?>" >