Photographing and measuring the opening
Take a straight-on photograph of the full frame. Add a wider view that shows the surrounding wall or door, and a picture from the other side if you can reach it safely.
Dimensions to write down
Note the visible width and height at more than one point. An older opening can taper or settle. Rough dimensions are useful for planning and a final fit will require an accurate survey.