Thank you for the answer! If there are any others who want 4:3 aspect ratio max-height: 218px works better than 150px.
Working at Gallery I discovered an issue. When a gallery item is opened on mobile, the image larger than the screen. On a computer screen it looks ok. Can it be fixed for mobile screens?
Screenshot with the issue: https://imgur.com/37JEbuh