Angular Gallery Size


Topic: Angular Gallery Size

Filipdd asked 5 years ago

Hi, I would like to change count of photos which should display in one row in 'mdb-image-modal' gallery. Of course it is not possible because each photo is overwrapped in object and class="col-md-4", so only 3 photos in one row are avaiable. Really guys ? :)

Can you add new input to ,mdb image modal> element like 'photoCount' and add class col-md-2 in this case?

Br, Filip


Konrad Stępień staff commented 5 years ago

Hi @Filipdd,

Sorry about that. We will refactor of the component in this release.

Do you have more suggestion for this component?


Filipdd commented 5 years ago

Thanks, I've spent 2h to override ::ng-deep scss's and i cant wait for new release and new functionalities. Ye I have one more thing, I mean 'the width' of photos. Of course the height should be the same in each row, but the width of photo may be different. So some photos are created vertically and some horizontally for example I've got 2 types of sizes of photos: width x height - 270 x 180 and 100 x 180. It would be nice to add photos of different width and layout should adjust to photos.


Konrad Stępień staff commented 5 years ago

Thanks for the suggestion.

I did add this option for todo list in refactoring. If you have additional suggestions, I would happily implement them into the component to make it the best.


Please insert min. 20 characters.

FREE CONSULTATION

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

Status

Open

Specification of the issue
  • User: Free
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: 9.0.1
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows
  • Provided sample code: No
  • Provided link: No
Tags