Topic: Lightbox gallery with different image sizes
m180 free asked 2 years ago
Hi,I want to set up a lightbox gallery with different image sizes.It's no problem for me to get the sizes of the image, i.e. in fullscreen mode the images are shown the right way. But the image grid looks displaced (see actual behavior).
I tried to show you the expected behavior with the snippet below with easy CSS styling that works only for these example image sizes.
What's the solution for that issue?
Actual behavior https://mdbootstrap.com/snippets/jquery/mhorwath/1970794
Expected behavior https://mdbootstrap.com/snippets/jquery/mhorwath/1970802
Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.
- User: Free
- Premium support: No
- Technology: MDB jQuery
- MDB Version: 4.14.1
- Device: All
- Browser: All
- OS: All
- Provided sample code: No
- Provided link: Yes