Pop up problem

I’m having a problem displaying images in a pop up window. I’ve followed the javascript tutorial(adding info in scripts as well as the html file). when I press the button it opens up a new window but it is full size and blank.