Fixed binding error
Added result attribute to store resized image in own model