I defined an object window within object image, but src from image I want to change dynamically. The image has size i.e. 300px x 300px. But when I created window it had minimal size (less than 20px x 20px) and the image also became so small. I want that the window has the same dimensions with the original image.