Thanks for your help, but I am new to Ionic and I can’t find tutorial of this plugin.
I install this plugin with: ionic cordova plugin add es.keensoft.fullscreenimage
but don’t how to import it.
Would you please tell me more?
Thank you.
Add it on top of the file like i said. You did not even read the code i had written.
Write declare var FullScreen:any at the starting of the code before or after import statements and not in a function. You need to learn angular 2 before using ionic 2.
on example.html: <img src="assets/img/exampleimg.jpg" (click)="onViewImg('www/assets/img/exampleimg.jpg','put a title here')" />
but what if i have many images and want to loop all images i means i have image slider with 500 images but i cant manually put url for each how i can loop it