I would like to store image files on a drive and link to them from a collaboration notebook. Is this possible? For example.
google-drive/
notebook.ipynb
images/
pic.jpg
Within notebook.ipynb
markdown cell:
![Alternate Text](images/pic.jpg)
Use the following code:
After running above command it will ask for the key. Click on the provided link and verify it.
Create a folder in drive using:
After this you can use the drive as if its connected locally:
A possible alternative to the great answer by Arpit Gupta for images are publicly shared: Get the ID of your file and prepend this line:
Grabbed it from this forum post.
Google always loses me in the details. That's where the devil is. Based on the previous answer, these are my steps to make an image sharable so it can be used in a notebook.