change img popup css

width and height to equal child img width and height