Background images not showing up in cards


#1

I would like to make a card with a background image, so I copy-pasted the UI component from the docs and edited some stuff. However, the background images isn’t showing up, and neither is the text.
Below is the home.html code

<ion-content class="card-background-page">

  <ion-card>
    <img src="img/81592.jpg"/>
    <div class="card-title" (click)="Calendar(item)">Calendar</div>
    <div class="card-subtitle"></div>
</ion-content>

I have already updated the SASS file, so I don’t think that’s the problem.


#2

OK, so I was able to fix it.
I need to use a url instead of putting the image into the same folder and navigating to it. My stupid