Topic: webp cover with jpg in mdbcards

myictsolutions premium asked 4 years ago


Expected behavior is there a possibilty to use this on the mdbcards: https://css-tricks.com/using-webp-images/

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


Arkadiusz Idzikowski staff answered 4 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.

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: 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