Don't have Telegram yet? Try it now!
http://jrgonzalez.es/recortar-redimensionar-imagenes-en-php-imagecopyresampled
Recortar y redimensionar imágenes en PHP - imagecopyresampled