Topic: Lighbox gallery thumbnails don\'t have the same size.

fredemagi pro asked 5 years ago


I'm working on a website, and I facilitate the lightbox gallery with thumbnails, but for some reason the thumbnails don't have the same size, which shatter the layout. I know the big images have different sizes, but is there some sort of workaround? In advance, thank you.

Michal Szymanski staff answered 5 years ago


Hi, unfortunately (or fortunately) our lightbox doesn't change the size of thumbnails, because then it would need to cut them. We prefer approach when you prepare your images before (by setting them exactly the size and dimension you want) and then adding them to the lightbox. Of course, this requires a longer time, but thanks to that you can be sure the images look exactly as you wanted. Best,

Marta Wierzbicka staff answered 5 years ago


Hi, Would you provide any demo or code presenting the problem? I'll try to help you. Best, Marta

fredemagi pro commented 5 years ago

Hi, I have uploaded an image showing my issue: https://ibb.co/fZ31yc All images should have same dimension in thumbnails for giving a proper layout. They have different dimensions in big format, but is there any workaround to provide same format in thumbnail no matter the format in big? Regards, Frederik


Please insert min. 20 characters.

FREE CONSULTATION

Hire our experts to build a dedicated project. We'll analyze your business requirements, for free.

Status

Resolved

Specification of the issue

  • User: Pro
  • Premium support: No
  • Technology: General Bootstrap questions
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags