Added option to change size of the image