pass already fetched image object into resize()

rather than passing the ID to be re-fetched