Riron / ionic-img-viewer

Ionic 2+ component providing a Twitter inspired experience to visualize pictures.
MIT License
283 stars 118 forks source link

how to use base64 ? #12

Closed vinodhum closed 8 years ago

vinodhum commented 8 years ago

Hi, image I am using sanitizer.bypassSecurityTrustUrl(sale.img) and it works fine but when I add imageViewer directive it open new with broken image and error says WARNING: sanitizing unsafe URL value data:image/jpeg

Riron commented 8 years ago

Fixed by https://github.com/Riron/ionic-img-viewer/commit/efffb6aba53fb6f0d6eb758e9d8a5eb41cd7c7bd