I have a script for resize an image.
So, for begin, i have an image with : height=600px
and width=500px
After I use my script, and a resize this image to to, for example : height=300px
and width=250px
.
I use :
$('#image').css("width", varvar);
$('#image').css("height", varvarvar);
But if i look my image with firebug, the data is always to the originale size (600 and 500), how can i resize the data (src) a my image with jquery ?