Can Anyone Help Me That How Can I Use Images In My Website !: _ :! | Sololearn: Learn to code for FREE!
New course! Every coder should learn Generative AI!
Try a free lesson
+ 9

Can Anyone Help Me That How Can I Use Images In My Website !: _ :!

I Have Uploaded An Image To My Google Drive And Copied The Sharable Link But Unfortunately I Can Not Utilize It , I Tried But It Didn't Work. For Example My Image Tag Looks Like This > <img src="IMG-20160411-WA0000.jpg" /> But After Uploading To Google Drive It Gives A Completely Different Link (URL) And That Looks Like This > https://drive.google.com/open?id=0BxK6ahUw2irPc2RyVFRWVWJzQlU Now I Don't Know How To Use It In Src Attribute , I Tried To Do It In 2 Or Maybe 3 Ways But It Didn't Work.

23rd Jul 2017, 6:36 PM
Hassan Ashari
Hassan Ashari - avatar
13 Answers
+ 10
Try DropBox...
23rd Jul 2017, 6:43 PM
Valen.H. ~
Valen.H. ~ - avatar
+ 10
Yeah @Sumit I Checked And Found About It That You Have To Remove (open) And Have To Right (uc) Instead Of That In Order To Use It In Your Websites ! BTW Thanks #Sumit.
24th Jul 2017, 8:56 AM
Hassan Ashari
Hassan Ashari - avatar
+ 8
@Hassan Ashari see the code below. it's using image from my Google drive. https://code.sololearn.com/WVyT4808YmGG/?ref=app
24th Jul 2017, 4:34 AM
Sumit
Sumit - avatar
+ 7
Thanks @Valentin And @Sumit I'll Just Check It.
23rd Jul 2017, 6:51 PM
Hassan Ashari
Hassan Ashari - avatar
+ 7
Thanks #Valentin Worked For Me Through Drop Box Really Thankful To You , Appreciative ...!
23rd Jul 2017, 7:17 PM
Hassan Ashari
Hassan Ashari - avatar
+ 6
#Maaz Masood I Had Uploaded But And Tried To Use Them In My Code But It Didn't Work , Well Thanks #Maaz For Your Good Suggestion And Sorry For Late Answering, I Didn't See Your Comment.
26th Jul 2017, 8:31 PM
Hassan Ashari
Hassan Ashari - avatar
+ 5
@Valentin And @Sumit Neither It's Working With Drop Box Nor With Sumit's Idea Maybe There Are Some Other Ways I'm Sharing The Code So Check It Probably You Will Find A Way For It To Work Properly.
23rd Jul 2017, 7:05 PM
Hassan Ashari
Hassan Ashari - avatar
+ 4
<img src="https://drive.google.com/uc?id= id of image goes here"/> try this also make sure image is public in Google drive
23rd Jul 2017, 6:43 PM
Sumit
Sumit - avatar
+ 4
A huge thanks all of you..😊😊
17th Oct 2018, 4:52 PM
Anshu Kumari
Anshu Kumari - avatar
+ 3
thanks Sumit ...now I am able to upload images on sololearn.
8th Oct 2018, 6:05 AM
Priyanka Bharti
Priyanka Bharti - avatar
+ 1
@Hasaan why you not upload images to ftp account.?
24th Jul 2017, 10:16 AM
Maaz Masood
Maaz Masood - avatar
0
For sololearn programs you can't put images stored on your device so you might have to use a CDN (content delivery network) to link images in the page or use data uri images by converting your images into text that HTML can display as a image.. You can convert your images here https://websemantics.uk/tools/image-to-data-uri-converter/ https://code.sololearn.com/WC54BZf4fJ94/?ref=app
4th Sep 2017, 2:16 AM
Kalo 'smi
Kalo 'smi - avatar