Quando stampi una pagina in html in tag img settando la larghezza o solo l'altezza riproporzioni già l'immagine in una misura prefissata e chiaro che se in origine è di 2000 px anche se il sito la mostra a 200 il browser carica sempre 2000px.
Conviene quindi uno script con librerie gd2 per ridimensionare in php.
usa questo è un codice un pò vecchio ma dovrebbe andare:
<?php
$name="nome immagine";
list($width, $height) = getimagesize("$name");
if ($width<=misura di ridimensionamento){
copy($big, "percorso/".$name) or die ("Impossibile caricare l'immagine sul server");
}else{
$img = imagecreatefromjpeg($name);
$img_width = imagesx($img);
$img_height = imagesy($img);
$thumb_width = misura di ridimensionamento;
$thumb_height = ($img_width != $thumb_width) ? floor($thumb_width * $img_height / $img_width) : $img_height;
$thumb = imagecreatetruecolor($thumb_width, $thumb_height);
imagecopyresized($thumb, $img, 0, 0, 0, 0, $thumb_width, $thumb_height, $img_width, $img_height);
imagejpeg($thumb, "percorso/".$name, 100);
imagedestroy($img);
imagedestroy($thumb);
?>