Topic: Justified Gallery with django/mdbootsrap

Revitt17 premium asked 11 months ago


my codehow i want

Is possible to have a justified gallery how in second screenshot with mdbootsrap? thank you


Grzegorz Bujański staff answered 11 months ago


Unfortunately not. It would be very difficult to create a solution that would recognize the width of the image and create an appropriate grid for it. But you can set specific size for all preview image parent and cut the image if it is too wide/tall: https://mdbootstrap.com/snippets/standard/grzegorz-bujanski/3590090


Grzegorz Bujański staff answered 11 months ago


in lghtbox you can position the elements as you like. You can use grid and flex for this. Here is one example of how you can position elements differently: https://mdbootstrap.com/docs/standard/components/lightbox/#section-different-sizes


Revitt17 premium commented 11 months ago

Yes I know, but I generate img with for loop, is there a setting in mdb that adapts itself?



Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Answered

Specification of the issue

  • User: Premium
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 3.10.1
  • Device: all
  • Browser: all
  • OS: all
  • Provided sample code: No
  • Provided link: No