Gildus, aun con la correccion que mencionas...
$fotoescalada sigue siendo un recurso de GD, no un archivo de imagen:
Cita: bool imagecopyresampled ( resource $dst_image, resource $src_image , int $dst_x , int $dst_y , int $src_x , int $src_y , int $dst_w , int $dst_h , int $src_w , int $src_h )