Topic: mdb-card imageBackground is not working

skota pro asked 4 years ago

Expected behavior

Actual behavior imageBackground is not displayed with 8.1.0

it was working fine with 7..

what i see in HTML is')" ng-reflect-class="modal-content" **ng-reflect-image-background="url('"**>

Resources (screenshots, code snippets etc.)

Damian Gemza staff answered 4 years ago

Dear @skota524

Please use the style="background-image: url(' ')" and class="card-image" instead of imageBackground, because this has changed in MDB 8.

Best Regards,


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