@Cabz wrote:
Hey guys, i need help…
I have an app that uses images but when i deployed it, some images don’t load… though all is well when i use ionic serve. I have no clue what’s happening.This is the screenshot from the deplyoed app:
This is the screenshot from ionic serve:
And this is the code:
<div text-center *ngIf='diseases=="" && diagnostics.affected_part==""'> <h2 *ngIf="eng=='true'">Please choose a vegetable:</h2> <h2 *ngIf="bis=='true'">Palihog pili ug tanom:</h2> <br> <ion-card *ngFor='let vegetable of vegetables' (click)="diagnoseThis(vegetable)"> <img src="./assets/imgs/{{vegetable}}.jpg" > <div class="card-title">{{vegetable}}</div> </ion-card> </div>
If you have any idea how to solve this, please do tell me.
Posts: 2
Participants: 2