add functionality for image to be manually resized