Si credo di aver capito..
anche se sono titubante su come taglia l'immagine nel senso che non capisco perchè mi aggiunge spazi neri...
questa è l'immagine originale
era un immagine enorme e così l'ho ridimensionata così
image1
Codice PHP:
imagecopyresized($thumb, $img, 0, 0, 0, 0, $thumb_width, $thumb_height, $img_width, $img_height);
invece se provo a tagliarla
Codice PHP:
imagecopyresized($thumb, $img, 0, 0, 200, 50, $thumb_width, $thumb_height, $img_width, $img_height);
mi viene cosi
image tagliata