added size and position settings for initialization of image