Ion-img not working

How should I use ion-img?
There is no docs about it ( http://ionicframework.com/docs/v2/api/components/img/Img/ )

My demo is:

<ion-img src="http://ionicframework.com/dist/preview-app/www/img/marty-avatar.png"></ion-img>

It’s not working… (regular is working fine of curse)

ion-img is only meant to be used with VirtualScroll right now

ion-img does not work as expected : it loads the first images that the screen can display and then, nothing !

After scrolling down a few more pages (virtual scroll) it unloads the first images until the first one, which is, surprisingly, still visible.

@ramification I am facing the same issue
after scrolling down few pages it unloads all images
did you find any workaround

1 Like