Se a qualcuno può servire, ho risolto con la seguente modifica
FILE DA MODIFICARE: media.php -> riga 353 (ridimensionare le foto partendo dall’alto)
da:
imagecopyresampled( $newimage, $image, $dst_x, $dst_y, $src_x, $src_y, $dst_w, $dst_h, $src_w, $src_h);
a:
imagecopyresampled( $newimage, $image, $dst_x, $dst_y, $src_x, 0, $dst_w, $dst_h, $src_w, $src_h);
Questo è tutto.
Ciao.