+ 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.
13 Antworten
+ 10
Try DropBox...
+ 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.
+ 8
@Hassan Ashari
see the code below. it's using image from my Google drive.
https://code.sololearn.com/WVyT4808YmGG/?ref=app
+ 7
Thanks @Valentin And @Sumit I'll Just Check It.
+ 7
Thanks #Valentin Worked For Me Through Drop Box Really Thankful To You , Appreciative ...!
+ 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.
+ 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.
+ 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
+ 4
A huge thanks all of you..😊😊
+ 3
thanks Sumit ...now I am able to upload images on sololearn.
+ 1
@Hasaan why you not upload images to ftp account.?
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