Logo Questions Linux Laravel Mysql Ubuntu Git Menu
 

Unable to get image to render in Jupyter markdown cell

I'm trying to add an image to a markdown cell in my notebook. Previously, I'd been using:

from IPython.display import Image
Image(filename='/Users/nzhang/Desktop/DS/Python/images/imagename.jpeg', width=400, height=400)

That worked fine in code cells. However, I want to add an image to a markdown cell like this:

![title](img//Users/nzhang/Desktop/DS/Python/images/imagename.jpeg)

but I'm getting a thumbnail of a broken image in its place.

like image 221
nzhang Avatar asked Oct 26 '25 08:10

nzhang


1 Answers

<img src="imagename.jpeg"> 

This works great in markdown cells. Please let me know if you have any other questions!

like image 168
Chase Kregor Avatar answered Oct 28 '25 22:10

Chase Kregor



Donate For Us

If you love us? You can donate to us via Paypal or buy me a coffee so we can maintain and grow! Thank you!