+ 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..

16th Mar 2019, 9:16 AM
Doggy
Doggy - avatar
17 Respuestas
+ 8
You might have to show your full code. It could be an incorrect URL, a bad link, etc.
16th Mar 2019, 9:23 AM
Fermi
Fermi - avatar
+ 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?
16th Mar 2019, 10:31 AM
Janning⭐
Janning⭐ - avatar
+ 6
bhomic kaushik Show the code please. That is only way we could help you.
16th Mar 2019, 9:25 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 6
bhomic kaushik Don't use google drive. Use app called Dropbox. It is better. https://code.sololearn.com/WW6t4B73kJVz/?ref=app
16th Mar 2019, 9:28 AM
Raj Chhatrala
Raj Chhatrala - avatar
+ 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
16th Mar 2019, 9:30 AM
Fermi
Fermi - avatar
+ 6
bhomic kaushik You can select open image in a new tab. And use that url.
16th Mar 2019, 10:00 AM
silentlearner
silentlearner - avatar
+ 6
Janning⭐ really awesome option .... Thanks for the info.... Yeh its a very great option... Sorry for the late reply.....
23rd Mar 2019, 6:09 AM
Doggy
Doggy - avatar
+ 5
Can you show me an example of how to use an image from google grive in html
16th Mar 2019, 9:25 AM
Doggy
Doggy - avatar
+ 5
Omg you guys are so polite and quick in response ... Thanks a lot .....
16th Mar 2019, 10:08 AM
Doggy
Doggy - avatar
+ 5
You are really helping me .....thank you again
16th Mar 2019, 10:09 AM
Doggy
Doggy - avatar
+ 4
I have started html today ... Will the following code work https://code.sololearn.com/W7OLrG7PkG1m/?ref=app
16th Mar 2019, 9:33 AM
Doggy
Doggy - avatar
+ 4
Sorry but even i m not able to find img address
16th Mar 2019, 9:42 AM
Doggy
Doggy - avatar
+ 3
It really worked.....
16th Mar 2019, 10:24 AM
Doggy
Doggy - avatar
+ 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.....
16th Mar 2019, 11:41 AM
Doggy
Doggy - avatar
16th Mar 2019, 11:40 AM
ReimarPB
ReimarPB - avatar
+ 2
bhomic kaushik no worries. Glad it was helpful. 😊
23rd Mar 2019, 6:28 AM
Janning⭐
Janning⭐ - avatar
12th Dec 2020, 5:23 PM
My1989 Vo
My1989 Vo - avatar