Setting Browser Dimensions?

Anyone know how to make a new browser window open into predetermined dimensions? The goal is to click and have a jpg image pop up in a new browser window, I want to make sure that it pops up in a window that fits the jpg size. I don’t know what I need to put in the code to do that.
Thanks in advance for the help!
Nebraska girl