+ 6
How to copy image link from the phone for html?
I'm trying to make an html blog page on this app from my phone. I'm trying to get the link from images on Google so i can copy the link to the Scr Attribute. But whenever i copy the link provided by google (for example https://goo.gl/images/077jnN) it wont show on my html page. I was trying go get a link like "page.com/image.jpg" or similar, but from the phone i dont see how. thanks for your help in advance
9 Réponses
+ 11
Ana do not use chrome,chrome will prevent you from accessing the image link..
use mozilla firefox or..
uc browser
also youre welcome
+ 16
★ You can use some image hosting site like 'imgur' and get the link of the image from there by uploading it.
★ You can use Dropbox. The following code will help you in linking content from Dropbox ~
https://code.sololearn.com/WW6t4B73kJVz/?ref=app
+ 3
>>>>>>> DROPBOX <<<<<<<<<<<<<
1.Copy image link from Dropbox
2.Now u wanna to insert that to ur html file.
>> from the link just change dl=0 to dl=1 inside of ur img tag.
>>>>>>> GOOGLE DRIVE <<<<<<<<
1.Get the URL id. It's all the letters and numbers between "d/" and "/view". Example:
URL:
https://drive.google.com/file/d/1GMFy7m_HTFnlQC3HWV7HXMLB52hBztNN/view?usp=drivesdk
Id:
1GMFy7m_HTFnlQC3HWV7HXMLB52hBztNN
2.To generate the direct image URL to use on your code, insert the id to this URL:
http://drive.google.com/uc?export=view&id= PASTE YOUR ID HERE
Example:
http://drive.google.com/uc?export=view&id=1GMFy7m_HTFnlQC3HWV7HXMLB52hBztNN
+ 2
thanks all for your comments 😊
+ 2
I usually use DropBox. Nikhil’s answer is great.
+ 1
verify the link has an image extension like .png ,.jpg,.gif,.svg e.t.c
+ 1
the link i get from Google images, is like the one i wrote as an example. it doesnt have any extension. Thats my quesion, how do i get an image link with extension from my phone?..
+ 1
google no longer takes you to the image link just the page its hosted at because of people stealing images. you can still get it by going to that page and copying the link from that page, just not google
+ 1
Brains. Nice! Thanks !! Its working now!!