+ 5

When i am adding an image from google drive it is just showing a broken thumbnail but not the image, help?

20th May 2018, 11:28 AM
***
13 ответов
+ 9
Post your code so we can help
20th May 2018, 11:29 AM
James Flanders
+ 9
ohh now i get it. thanks a million. I use Flickr instead.
20th May 2018, 12:24 PM
Kartini
Kartini - avatar
+ 5
hey you need permission to access the file. In your browser u may have your account signed in. So you have access Unfortunately you can't embed the images that are locked(i dont know, what it is called here) in a html file. its like giving your atm card to your friend to draw money and saying the address of the atm but didn't given the card pin😉
20th May 2018, 11:44 AM
Uday
Uday - avatar
+ 4
try a link that directly address that image which dont require authentication like if that pic is an avatar or profile picture of solo learn or facebook, you can use that link. It should work
20th May 2018, 11:53 AM
Uday
Uday - avatar
+ 4
i dont know about media fire. Can say something Try to access the link of the image in different browser (if an account is signed in). did it displayed the image? if yes, yeah your url to image works with html file if no,no.
20th May 2018, 11:59 AM
Uday
Uday - avatar
+ 4
yep KrOW iam trying to mention that "public" word brain not working 😥
20th May 2018, 12:03 PM
Uday
Uday - avatar
+ 4
https://support.google.com/drive/forum/AAAAOxCWsTo02uipy0LJFc/?hl=en One time that image its setted to public, you have to do another step
20th May 2018, 12:08 PM
KrOW
KrOW - avatar
+ 4
Thank you Yash for this post
29th May 2018, 10:54 AM
$hardul B
$hardul B - avatar
+ 4
I think this method can also work with images tooo..https://www.sololearn.com/discuss/1291724/?ref=app
31st May 2018, 5:14 AM
Yesh Jadav
Yesh Jadav - avatar
+ 3
https://code.sololearn.com/WXPsOFbFIHwt/?ref=app
20th May 2018, 11:32 AM
***
+ 3
what should i do then ?
20th May 2018, 11:48 AM
***
+ 3
will mediafire link work?
20th May 2018, 11:54 AM
***
+ 3
Yash You can do it with gdrive resource also but first you have to set image like public from google drive example: https://code.sololearn.com/WAHjRy1V0WSs/?ref=app
20th May 2018, 12:01 PM
KrOW
KrOW - avatar