Adding image to the window