Topic: mdb-card-img Angular not working

Joshua Scott pro asked 5 years ago


<mdb-card-img /> </mbd-card-img> Does not work in Angular. I have to use <img /> tag instead.

bitmads premium answered 4 years ago


Same here. I import the whole MDB module. When I use mdb-card-img I'm getting 404 error, with img works.


Arkadiusz Idzikowski staff commented 4 years ago

That's strange because mdb-card-img uses img tag under the hood. Are there any other errors beside the 404? Could you show us the html example code of the card that is not working for you?


Arkadiusz Idzikowski staff answered 5 years ago


Dear Joshua Scott, I tried to recreate this problem in my app but with no success. Do you import whole MDB module or only cards module separately? Currently there may be some problems with second option. If this matter does not apply to modules, please provide code sample/screenshot - that will help me to spot the problem. Best, Arek

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: Pro
  • Premium support: No
  • Technology: MDB Angular
  • MDB Version: -
  • Device: -
  • Browser: -
  • OS: -
  • Provided sample code: No
  • Provided link: No
Tags