Hola de nuevo!
Veamos a ver.... siguiendo (o intentandolo jeje) el ejemplo que me has puesto he echo esto.....
Código PHP:
<script>
function aa() {
var height, width
var alto = document.getElementById("imagen").height;
var ancho = document.getElementById("imagen").width;
height = parseInt(alto/4);
width = parseInt(ancho/4);
document.getElementById("imagen").style.height = height + "px";
document.getElementById("imagen").style.width = width + "px";
}
</script>
Código PHP:
<img src="<%=rs.fields(2)%>" onload="aa()" border="0">
Y tampoco va :( no puedo redimensionar la imagen a la mitad :s