ionic-image-loader icon indicating copy to clipboard operation
ionic-image-loader copied to clipboard

detail page does not load image from cache

Open lguerra10 opened this issue 8 years ago • 2 comments

Images cache correctly in list but going to a detail page the image is loaded from the cloud instead of loading instantaneously from cache.

lguerra10 avatar Jan 01 '18 17:01 lguerra10

Is there any update about this? I would like to have this feature too

ks-jsv avatar Jan 08 '18 11:01 ks-jsv

got it working

int the detail.ts file import the image loader

import { IonicImageLoader } from 'ionic-image-loader';

in the detail.html use the img-loader tag

<img-loader class="content" [src]="parse.getImageUrl(image)" >

Hope it works for you.

On Mon, Jan 8, 2018 at 3:50 AM, ks-jsv [email protected] wrote:

Is there any update about this? I would like to have this feature too

— You are receiving this because you authored the thread. Reply to this email directly, view it on GitHub https://github.com/zyra/ionic-image-loader/issues/122#issuecomment-355946587, or mute the thread https://github.com/notifications/unsubscribe-auth/ANGc9np90Ij4jAcI4kA5FazjSgGVxprrks5tIgD1gaJpZM4RQHqS .

-- Join me on Vsee video chat. It is free http://vsee.com/u/lpva1m

lguerra10 avatar Jan 08 '18 21:01 lguerra10