Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Images in colab markdown cell? #5

Closed
saikiransingh007 opened this issue May 14, 2019 · 7 comments
Closed

Images in colab markdown cell? #5

saikiransingh007 opened this issue May 14, 2019 · 7 comments

Comments

@saikiransingh007
Copy link

saikiransingh007 commented May 14, 2019

how to show images in colab markdown cell.?
am using like...
<img src='/content/.../confusion_matrix.png' width=300px>
but it is not showing the image, it shows like this..
img

can't we see image directly, like in Ipython notebook.?

thank you,
saikiran

@savankoradiya
Copy link
Owner

savankoradiya commented May 18, 2019

Hey @saikiransingh007
Try this ![logo](your image path)

@saikiransingh007
Copy link
Author

Hey @saikiransingh007
Try this ![logo](your image path)

SAMPLE
I tried this... but does't work... in colab - markdown cell....!

@savankoradiya
Copy link
Owner

savankoradiya commented May 25, 2019

Get the shareable link of your image from google drive and then add id name in the link
<img src="http://drive.google.com/uc?export=view&id=**Add image id here**">

@tanny411
Copy link

Is there a better solution? Doesn't seem feasible to upload all images I am ever going to use.

@nmodem2k
Copy link

nmodem2k commented Jun 16, 2020

![alt text](https://drive.google.com/uc?export=view&id= your image id)
This working for me

@ghadesi
Copy link

ghadesi commented Mar 13, 2021

  <img src='https://drive.google.com/uc?export=view&id=**your image id**' width=500px>
  <img src='https://drive.google.com/uc?export=view&id=**your image id**' width=500px>

This works and you can insert multiple images beside each other.

Screen Shot 2021-03-13 at 10 48 08 AM

@JisaVarghese
Copy link

  <img src='https://drive.google.com/uc?export=view&id=**your image id**' width=500px>
  <img src='https://drive.google.com/uc?export=view&id=**your image id**' width=500px>

This works and you can insert multiple images beside each other.

Screen Shot 2021-03-13 at 10 48 08 AM

this worked for me

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

6 participants