+ 3

Image is not showing on Chrome browser. (HTML) [ Problem solved. ]

My code is alright. I checked it On AWD app's browser view; It's working fine.But when i ran it on notepad++ the browser showing me an broken image icon.Please, tell me how to fix it.

2nd Sep 2021, 11:30 AM
Soumaya Islam Rimi
Soumaya Islam Rimi - avatar
33 odpowiedzi
+ 3
Soumaya if you still not sure what to do , I’ll explain : 1. Right click on the selected image in Google Drive 2. Select “Get Shareable link” 3. The link of the image is copied It is like : https://drive.google.com/open?id=xxxxxxx 4-change the open? to uc? and use it like <img src="https://drive.google.com/uc?id=xxxxx">
2nd Sep 2021, 7:22 PM
**🇦🇪|🇦🇪**
**🇦🇪|🇦🇪** - avatar
+ 5
I don't have much experience with html, but I suspect that the image address is the issue. Where is the image stored? To make it accessible in sololearn I believe it has to be hosted on the Internet. As far as I know you can't use local files.
2nd Sep 2021, 12:54 PM
Simon Sauter
Simon Sauter - avatar
+ 1
One second, let me get my ouiji board. ... ... ... It says there's a typo in line 25. If by any chance you don't think that this is a good approach to bugfixing you may want to post your code so people can take a look at it.
2nd Sep 2021, 11:37 AM
Simon Sauter
Simon Sauter - avatar
+ 1
Simon Sauter Nice explanation😂 for a simple thing 😅
2nd Sep 2021, 11:55 AM
<★Shaurya Chauhan★>
<★Shaurya Chauhan★> - avatar
2nd Sep 2021, 12:01 PM
Soumaya Islam Rimi
Soumaya Islam Rimi - avatar
3rd Sep 2021, 6:44 AM
**🇦🇪|🇦🇪**
**🇦🇪|🇦🇪** - avatar
+ 1
**🇦🇪|🇦🇪** finaly it happened... Thank you sir...can i use relative path if i shift html files to google drive...
3rd Sep 2021, 6:49 AM
Soumaya Islam Rimi
Soumaya Islam Rimi - avatar
+ 1
Yes, you can .
3rd Sep 2021, 6:52 AM
**🇦🇪|🇦🇪**
**🇦🇪|🇦🇪** - avatar
+ 1
Soumaya Islam Rimi I think you are new to HTML.Just go the website imgbb.com it is the easiest method to upload you image.As you got to the website.. 1.click on start uploading button 2.select the image . 3.As you select image click on upload. 4.As the image get uploaded click on the viewer link below embedded codes and change it to HTML thumbnails code then you link will be provided
4th Sep 2021, 5:10 AM
Tharun Rai
Tharun Rai - avatar
0
I was running it my notepad++ and AWD app
2nd Sep 2021, 12:01 PM
Soumaya Islam Rimi
Soumaya Islam Rimi - avatar
0
Simon Sauter Here i have given you my code...please have a look on it...
2nd Sep 2021, 12:48 PM
Soumaya Islam Rimi
Soumaya Islam Rimi - avatar
0
I was just trying... A month ago when i first tried it it ran successfully.. Simon Sauter
2nd Sep 2021, 12:59 PM
Soumaya Islam Rimi
Soumaya Islam Rimi - avatar
0
How can i host image on the internet? **🇦🇪|🇦🇪**
2nd Sep 2021, 1:44 PM
Soumaya Islam Rimi
Soumaya Islam Rimi - avatar
0
The easy way is to upload your image to Dropbox
2nd Sep 2021, 1:47 PM
**🇦🇪|🇦🇪**
**🇦🇪|🇦🇪** - avatar
0
Is there any other way...I'm just a high school student and these are going above my head..
2nd Sep 2021, 1:49 PM
Soumaya Islam Rimi
Soumaya Islam Rimi - avatar
0
**🇦🇪|🇦🇪** please suggest me other way to do this...can put them in my google drive...?
2nd Sep 2021, 1:50 PM
Soumaya Islam Rimi
Soumaya Islam Rimi - avatar
0
Yes you can use google drive , but stop sharing them, after you finish your project
2nd Sep 2021, 1:53 PM
**🇦🇪|🇦🇪**
**🇦🇪|🇦🇪** - avatar
2nd Sep 2021, 2:01 PM
**🇦🇪|🇦🇪**
**🇦🇪|🇦🇪** - avatar
0
What would be the file path if i use Google drive? **🇦🇪|🇦🇪**
2nd Sep 2021, 2:54 PM
Soumaya Islam Rimi
Soumaya Islam Rimi - avatar
0
Please...help...**🇦🇪|🇦🇪**
2nd Sep 2021, 4:29 PM
Soumaya Islam Rimi
Soumaya Islam Rimi - avatar