I have API data with images, but due to internet problems or something else images are taking too much time to completely loaded.
Is there any way to prevent this loading because it looks bad when all data is loaded and images still taking time to display.
menu.html
<ion-card class="categories_item" *ngFor="let category of categories; let i = index;">
<ion-grid>
<ion-row>
<ion-col size-md="2" size="4" class="img-zoom" align-self-center>
<img [src]="category?.Picture1" (click)="imgView(category?.Picture1)" id="imgClickAble"
class="imgClickAble" />
.....
</ion-col>
<ion-col size-md="9" size="6" (click)="goToitemCategory(category.ID)">
.....
</ion-col>
</ion-row>
</ion-grid>
</ion-card>
I need to show something else until the complete image loaded like a place holder or I want to cache images for future use.