Cropping pictures leading to loss of geolocation data in new version Photos app

To crop in irfanview, draw a rectangle with your mouse (by holding down the mouse button while moving the mouse - you will see the lines creating the rectangle as you move it). When happy with the area inside the rectangle, go to the Edit menu, and choose Crop Selection.