Zoom when already popped up

Hi, I have a picture on my webpage in html that can zoom in when i hover over, and also pops up. I would like to be able to zoom in once the picture has popped up. How would I accomplish something like this? Thanks in advance!