removed image re-sizing from the image model