+ 5
When i am adding an image from google drive it is just showing a broken thumbnail but not the image, help?
13 Respuestas
+ 9
Post your code so we can help
+ 9
ohh now i get it. thanks a million. I use Flickr instead.
+ 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😉
+ 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
+ 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.
+ 4
yep KrOW iam trying to mention that "public" word
brain not working 😥
+ 4
https://support.google.com/drive/forum/AAAAOxCWsTo02uipy0LJFc/?hl=en
One time that image its setted to public, you have to do another step
+ 4
Thank you Yash for this post
+ 4
I think this method can also work with images tooo..https://www.sololearn.com/discuss/1291724/?ref=app
+ 3
https://code.sololearn.com/WXPsOFbFIHwt/?ref=app
+ 3
what should i do then ?
+ 3
will mediafire link work?
+ 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