A client required a cms photo gallery, i searched the forum and found a solution for custom lightbox.
I created a custom lightbox with click interactions to open and close the pictures. No arrows to change from one to another yet.
The problem is that landscape pictures look fine (but still get cut on some screens), but the portrait ones exceed the height of the screen.
I created a fixed section 100% x 100%. and placed the dynamic list inside it. used a div to adjust the width and that happened.
I already tried using height as a % measure but it does not affect the size of the image.
I need to limit a height to make portrait and landscape pictures show on all screens.
Its worked on my webflow edit screen and preview on the edit tool, but when i publish and try in
on the webflow.io domain, it still the same, i tested on a few screen sizes and on the smaller one like 13" and 15" it still cuts like i did not change anything. even when clearing the cache.