+ 5
How to use any image on google in html
I tried img <src = " url of image on Google "alt = ""> but still not showing any image can anyone help me..
19 Answers
+ 8
You might have to show your full code. It could be an incorrect URL, a bad link, etc.
+ 8
FYI
Google Drive has (allegedly) deprecated the feature. Some have claimed to have found success as late as Nov 2018 ( https://gist.github.com/evansims/f23e2f49e3d4be793038 ), but the farthest I got was "drive.google.com refused to connect."
https://gsuite-developers.googleblog.com/2015/08/deprecating-web-hosting-support-in.html
But I thought this was a pretty cool tool for image hosting from Google Photos:
https://ctrlq.org/google/photos/?_ga=2.93726238.2084297947.1552731853-1264659245.1552731852
I tested it in the Code Playground and it worked. Who'd've thunk?
+ 6
bhomic kaushik
Show the code please.
That is only way we could help you.
+ 6
bhomic kaushik
Don't use google drive.
Use app called Dropbox. It is better.
https://code.sololearn.com/WW6t4B73kJVz/?ref=app
+ 6
bhomic kaushik Google Drive has certain access limitations in place for security purposes. As such, it is not encouraged to use pictures from other people's Drive in your code. However, if the picture is in your own Drive, follow these steps to enable image linking.
https://support.awesome-table.com/hc/en-us/articles/115002196665-Display-images-from-Google-Drive
+ 6
bhomic kaushik You can select open image in a new tab. And use that url.
+ 6
Janning⭐ really awesome option ....
Thanks for the info....
Yeh its a very great option...
Sorry for the late reply.....
+ 5
Can you show me an example of how to use an image from google grive in html
+ 5
Omg you guys are so polite and quick in response ...
Thanks a lot .....
+ 5
You are really helping me .....thank you again
+ 4
I have started html today ...
Will the following code work
https://code.sololearn.com/W7OLrG7PkG1m/?ref=app
+ 4
Sorry but even i m not able to find img address
+ 3
It really worked.....
+ 3
One more thing .....
Yup ....Drop box is the best option but you have to change front "www. ". String with " dl. " String for the link copied.... As what i tried.....
+ 2
bhomic kaushik no worries. Glad it was helpful. 😊