Added ability to set the image dimensions