question-mark
Stuck on an issue?

Lightrun Answers was designed to reduce the constant googling that comes with debugging 3rd party libraries. It collects links to all the places you might be looking at while hunting down a tough bug.

And, if you’re still stuck at the end, we’re happy to hop on a call to see how we can help out.

Image files not rendered

See original GitHub issue

python version: 3.4.3 |Anaconda 2.2.0 (64-bit)| IPython.__version__: 4.0.0

I’m getting the broken image icon in both of these cases:

  • <img src="filename.jpg>" in a markdown cell
  • IPython.display.Image("filename.jpg") in a code cell

Image files are in the same folder as the notebook.

Clicking the image filename in the tree browser brings up file picker. Clicked ‘select’ and restarted kernel/reload notebook, but same result (broken image icon).

SVG and JPG formats show same result.

All images render fine on the local filesytem.

Issue Analytics

  • State:open
  • Created 8 years ago
  • Comments:7 (2 by maintainers)

github_iconTop GitHub Comments

11reactions
chuongcommented, Mar 17, 2016

To embed an image from your Google Drive into a notebook, add this line inside a Markdown cell:

<img src="http://drive.google.com/uc?export=view&id=SHARED_IMAGE_ID">

where SHARED_IMAGE_ID is the shared ID of the image. You have to share your image publicly and get this shared ID (quite long) from the shared link address.

0reactions
kngoledgecommented, Mar 28, 2020

God bless you

Read more comments on GitHub >

github_iconTop Results From Across the Web

7 Reasons Why Images Are Not Loading on Your Website
1. Incorrect File Paths · 2. Files Names Misspelled · 3. Wrong File Extensions · 4. Missing Files · 5. The Website Hosting...
Read more >
Mising images: image could not be rendered properly
This .jpg or .png behind the file name. If on the first PC it is set wrong, it may create a problem on...
Read more >
Image is not rendering in the DOM while passing as props in ...
This is not working because you need to import an image like this and then put imageName as the value of src attribute....
Read more >
Missing Images in Rendering | Revit 2021
Check whether the image file resides in the specified location. If not, check whether the image file resides in a path specified on...
Read more >
Error: Images Not Appearing on My Web Page
It is possible that your image files were uploaded correctly to the server, but the server is looking for a different image file...
Read more >

github_iconTop Related Medium Post

No results found

github_iconTop Related StackOverflow Question

No results found

github_iconTroubleshoot Live Code

Lightrun enables developers to add logs, metrics and snapshots to live code - no restarts or redeploys required.
Start Free

github_iconTop Related Reddit Thread

No results found

github_iconTop Related Hackernoon Post

No results found

github_iconTop Related Tweet

No results found

github_iconTop Related Dev.to Post

No results found

github_iconTop Related Hashnode Post

No results found