Ive found this script for resizing images.
Only thing is because i used view source code i have no idea where to put it.
 <script type="text/javascript"> 
// <