I want to display image src as dynamic variable, I declared a default value as string in variable named displayedImage :
<div class="col-6 " style="margin-top: 35px;">
<div class="row">
<div class="col-6">
<img src="assets/cardsModels/Anniversaire.png" alt="">
</div>
</div>
</div>
**
this.displayedImage = 'assets/cardsModels/Anniversaire.pnf'
this.displayedImage declared in the constructor, the image not found and cannot be displayed !
Anniversaire.pngand not.pnf