Topic: image filters MDB5

Danny priority asked 2 years ago


How can I make a image filter like this MDB4 version in MDB5? https://mdbootstrap.com/docs/b4/jquery/plugins/filter/. And how do I add multiple properties to a single image like "nature" and "food" in the example above?


Dawid Wajszczuk staff answered 2 years ago


Hi,

Here is the snippet with only images https://mdbootstrap.com/snippets/standard/d-wajszczuk/3885966. You can add multiple properties to one category by following this syntax data-mdb-name="[1, 2, 3].

Keep coding,
Dawid


Danny priority commented 2 years ago

Perfect, thank you! Maybe you can add this in the documentation for other people


Dawid Wajszczuk staff commented 2 years ago

Actually, we already have this in our documentation: https://mdbootstrap.com/docs/standard/plugins/filters/. Keep coding :)


Danny priority commented 2 years ago

I'm talking about the multiple properties to one category. I cant find it on the page?


Dawid Wajszczuk staff commented 2 years ago

You're right. It's kind of "hidden" here https://mdbootstrap.com/docs/standard/plugins/filters/#subsection-size-dom-elements. I will add this to our API section. Thanks for reporting. Keep coding :)



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: Priority
  • Premium support: Yes
  • Technology: MDB Standard
  • MDB Version: MDB5 4.0.0
  • Device: Laptop
  • Browser: Chrome
  • OS: Windows 11
  • Provided sample code: No
  • Provided link: Yes