Topic: webp cover with jpg in mdbcards

myictsolutions premium asked 3 years ago

Expected behavior is there a possibilty to use this on the mdbcards:

Actual behavior load cover image when webp is not supported Resources (screenshots, code snippets etc.)

Arkadiusz Idzikowski staff answered 3 years ago

We didn't test it with every image format. Have you encountered any problems when using webp?

Using the trick with picture tag to add different formats for different browsers won't be possible in current version, because mdb-card-img template contain only img tag.

Please insert min. 20 characters.


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



Specification of the issue

  • User: Premium
  • Premium support: Yes
  • Technology: MDB Angular
  • MDB Version: 8.0.0
  • Device: Mac Book pro
  • Browser: chrome
  • OS: Mojave
  • Provided sample code: No
  • Provided link: Yes