Closed andrejm7 closed 4 years ago
????
Hi! I think you need to use request interceptors, but I am not sure is it possible in this case.
thanks for the feedback. @kolkov i tried to do it according to this link .. look at the problem i have now .. i have 200 status but images .. but in ngx-gallery it doesn't show the image
https://github.com/lukasz-galka/ngx-gallery/issues/322#issuecomment-640988978
thanks for the feedback. @kolkov i tried to do it according to this link .. look at the problem i have now .. i have 200 status but images .. but in ngx-gallery it doesn't show the image
You need yo use blob url as image url.
yes .. i tried to do that .. but the image does not appear .. look at the problem ..
@andrejm7 Provide an repo please.
https://stackblitz.com/edit/angular-ivy-amefyb?file=src%2Fapp%2Fapp.component.ts
there is the problem. Why doesn't 4 image appear?
I have a blob service return. And adding to galleryImages I can't see the image.
just complementing .. base64 images would also be an option does not work too ... In <img [src] = imageBase64> yes it works.
https://github.com/kolkov/ngx-gallery/tree/test_blob try this solution or the same other.
i had this problem now ..
Error: Cannot read property 'startsWith' of undefined Unable to display error. Open your browser's console to view.
I'm using like this
const objUrl = 'data: image/jpeg; base64,' + baseImage.image;
or
const objUrl = 'data: image/png; base64,' + baseImage.image;
My example works, try to do by analogy...
Try to post your support question with example to https://stackoverflow.com/ please. Thanks!
Good Morning
this library is too much.
but I have found problems with the links
this.galleryImages.push ( { small: https://xxxx, medium: https://xxxx, big: https://xxxx } );
this is because I need to pass a token authorization (bearer).
how can i solve this problem of mine?
appreciate