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: