Holiday Notice: Support will be provided on a limited scale from December 24th, 2024, to January 2nd, 2025. Happy holidays and a wonderful New Year!


Topic: Justified Gallery with django/mdbootsrap

free asked 3 years 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 3 years 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 3 years 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


free commented 3 years ago Delete

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

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