+ 3
COPY-IMAGE-ADDRESS
How to copying image address,via google drive or Dropbox from mobile?
4 Answers
+ 8
GOOGLE DRIVE:
ăCreate a folder
ăClick the 3 vertical dots on the folder icon
ăClick the info button (circle with an 'i') on the upper right corner
ăUnder "Who has access", click where it says "Link sharing off". It will go from grey to green and say "Link sharing on". Click on it and make sure anyone with the link "Can View"
ăGo back, enter the new folder created and upload your images.
ăClick the 3 vertical dots on one of the images.
ăClick on "Copy link" to get the generated URL.
ă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
ă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
+ 8
DROPBOX:
ăCreate a new folder
ăUpload your image
ăClick the 3 vertical dots on your image
ăClick "Share"
ăClick "Create a link"
ăCopy the link. The URL copied should end in dl=0
ă Replace the zero at the end of the copied URL with a number 1. So it should be dl=1 and that would be the direct URL for your image to use on your code.
--------------------------------------
CODE WITH EXAMPLES:
https://code.sololearn.com/WoETefunKexH/?ref=app
+ 2
Pao Thanks :)
+ 2
Pao So, we copying image address.But now In the case of #publishing, we take image address in our file path from mobile (Dropbox or Drive) not do share, direct in the web. so the particular file or image format only support in our device only.Not others. Is this valid answer? and Why?
Check it out, Thanks :)