Reply to Center picture for profile picture

Center picture for profile picture new!
by Remco, 6 years, 5 months ago
How do i crop an image for an profile picture? that i want square?

now i use:
$handle->image_resize = true;
$handle->image_x = 250;
$handle->image_y = 250;
$handle->image_ratio_crop = true;

But how do i make it the centre of the picture that is kept? so cut of on both sides equal until the picture is square?Reply

Your reply

Name *
Email 
Title *
Text *
CAPTCHA image
Enter the code displayed on the image:
Click on the image to generate another one if it is hard to read it. The case is important