Update imageresize.js

updating for 3.0