0
How to place an image or audio
I know how to do it from the tutorials but trying to use an image or audio from a file in my system is difficult... I don't jus knw what am missing
8 odpowiedzi
+ 2
Bonaventure
It's very possible, but there's a catch.
If you use any file directly from your device, others won't be able to see it since it's not on their devices.
That said, here's how I do it.
<img src="file:///sdcard/folder/image.jpg"/>
Note::
This part "file:///sdcard/" is NECESSARY, especially if you are using a phone.
the "folder" represents the folder containing the image.
If it's a nested folder, use
"folder/folder/img.jpg".
Here ,you can replace the "folder " with the actual name of your folder, also for the image
+ 4
Upload your image to dropbox and your audio to google drive
+ 1
You can try Dropbox method to upload from your device!!
https://code.sololearn.com/WW6t4B73kJVz/?ref=app
0
Tell me when it works
0
m trying to do it put the device am using does contain an sd card
0
It still works
0
ok so what i still use the sd card as the source or would i jus type storage or something else
0
I found sdcard to be shorter than typing storage/emulated/0/
use sdcard