Reputation: 2599
Hi. I want to show an image in my HTML5 code. Here's the code:
<div class="card"><img src="pics/back.png"/></div>
The image is not displayed, so I put the whole path like this:
<div class="card"><img src="file:///android_asset/www/pics/back.png"/></div>
But the problem persists. I'm using Phonegap also.
Any idea please?
Thank you so much.
Upvotes: 2
Views: 2092
Reputation: 2599
I juste moved the image back.png under the folder "WWW" and it works fine here's the code :
<div class="card"><img src="back.png"/></div>
Upvotes: 1