Quantcast
Channel: Ionic Framework - Ionic Forum
Viewing all articles
Browse latest Browse all 49362

Some Images don't load in Ionic build or in deployed apk

$
0
0

@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

Read full topic


Viewing all articles
Browse latest Browse all 49362

Latest Images

Trending Articles



Latest Images

<script src="https://jsc.adskeeper.com/r/s/rssing.com.1596347.js" async> </script>