0
How do I insert a picture from Facebook?
I'm writing my first code and I want to insert a picture from Facebook, but it's not working. I can insert the sololearn tree picture, but not the one I want. What am I doing wrong? Is it just impossible to insert a picture from Facebook like this? This uses a different picture than the one I want (as it's a private photo of one of my friends). I hope if someone can help me with this one it will work with the one I want to use. https://code.sololearn.com/WHlVYa0e9AB1/?ref=app
5 Antworten
+ 4
Hi if your on desktop go to inspect and copy the image link
+ 4
click 'View full size' on bottom left corner and copy the url of that page
+ 1
Did you figure it out?
What you have in your img src="..." is not the address of the image, it's the address of the PAGE showing the image!
Actually hot linking images from Facebook is a little tricky.
If you want to make sure the image works in the future, you should download and upload it somewhere like Google Drive, MS OneDrive, Dropbox, imgur.com etc
0
Thanks guys I got that sorted
0
Yeah thanks the other guys answer this for me. I get about finding the image address now