0

I have tried every way I could find but still I can't display my local images ..what am I doing wrong?

https://code.sololearn.com/WSTrf57af9vB/?ref=app

30th Nov 2022, 4:47 PM
Hari Gharti Chhetri
Hari Gharti Chhetri - avatar
11 Answers
+ 2
You can convert your images to base64 and then use the base64 string as the image source https://www.base64-image.de/
30th Nov 2022, 6:22 PM
Toni Isotalo
Toni Isotalo - avatar
+ 1
Thanks...don't have pc😭😭poor life
30th Nov 2022, 7:32 PM
Hari Gharti Chhetri
Hari Gharti Chhetri - avatar
+ 1
You can upload your img to GitHub and then use the link there. Here is an example: https://code.sololearn.com/WADgDmIlLcgY/?ref=app
30th Nov 2022, 7:38 PM
Lochard
Lochard - avatar
+ 1
Put image in same folder as your HTML file Then <!DOCTYPE html> <html> <head> <title>try </title> </head> <body> <img src=Myphoto.jpg /> </body> </html> Do this it will work
2nd Dec 2022, 12:36 PM
Ankit Yadav
0
Hi! local pictures will never be visible here in the Sololearn. Your device isnt a web server, is it? did your ISP give you a white external static ip address, which you could use in the full picture address? In this case please, use cloud storage services such as imgbb, Dropbox, Google cloud and others
30th Nov 2022, 4:54 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
0
Sir there's an app called anWriter where it displays but it does not display on chrome or html viewer can you please explain.i am learning..
30th Nov 2022, 5:44 PM
Hari Gharti Chhetri
Hari Gharti Chhetri - avatar
0
Mobile android
30th Nov 2022, 6:21 PM
Hari Gharti Chhetri
Hari Gharti Chhetri - avatar
0
Forgot the database???
30th Nov 2022, 9:40 PM
Steven Sypien
Steven Sypien - avatar
- 1
Where do you open this app? PC 💻 & notebook or mobile device?
30th Nov 2022, 6:15 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar
- 1
on a mobile device, it is difficult to work with files, folders and the directory tree. Use your computer or laptop better. for sololernes and mobile devices, use cloud file storage services such as IMGBB, Dropbox, Google disc and direct links to picture files from them
30th Nov 2022, 6:57 PM
Yaroslav Vernigora
Yaroslav Vernigora - avatar