Skip to content Skip to sidebar Skip to footer

How Do I Access And Display Images From An Ionic App?

I'm having issues with displaying images after running ionic run ios I have the default ionicframework template running with the sidemenu, and have not changed the app directory s

Solution 1:

I had the same issue, my project structure look like this:

/www/
    /images//views/page.html
    index.html

and in page.html img links was: <img src="images/image.png" ../> and it worked for both web and mobile build.

Hope this helps.

Post a Comment for "How Do I Access And Display Images From An Ionic App?"