Podría ser algo así:
Usamos la funcion getimagesize para saber el tamaño:
http://es2.php.net/getimagesize Código PHP:
<?php
$size = getimagesize("img/flag.jpg");
$ancho=(int)($size[0]*0.6);
$alto=(int)($size[1]*0.6);
echo "<img src='img/flag.jpg' width='".$ancho."' height='".$alto."'>";
?>
En este caso mostrará la imagen a un 60% del tamaño original