pass already fetched image object into resize(), rather than passing the ID to be re-fetched
Merge pull request #393 from shish/resize_tweak

pass already fetched image object into resize()