Lightbox thumbnail orientation issue

Hello there!

Does anybody know why are vertical images rotated wrong on lightbox thumbnails on my clients site?

They have right orientation on Webflow editor and they will get right orientation after viewing them in full screen. So apparently browser doesn´t recognize images rotation before viewing them.

Example. The first two vertical images are rotated wrong.

Ready-only link:
https://preview.webflow.com/preview/rappaustekniikka?utm_medium=preview_link&utm_source=designer&utm_content=rappaustekniikka&preview=bc0ef3fc49bad135da73f350d6d45c51&pageId=5ff2b372b1ab6dbd4236ef07&itemId=63d280ae3029bd24302d801b&workflow=preview