+ 3

COPY-IMAGE-ADDRESS

How to copying image address,via google drive or Dropbox from mobile?

6th Jun 2018, 2:02 PM
Kumaresan L
Kumaresan L - avatar
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
6th Jun 2018, 5:41 PM
Pao
Pao - avatar
+ 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
6th Jun 2018, 5:46 PM
Pao
Pao - avatar
+ 2
Pao Thanks :)
7th Jun 2018, 4:57 AM
Kumaresan L
Kumaresan L - avatar
+ 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 :)
8th Jun 2018, 1:37 AM
Kumaresan L
Kumaresan L - avatar