mljar / mercury

Convert Jupyter Notebooks to Web Apps
https://RunMercury.com
GNU Affero General Public License v3.0
3.87k stars 243 forks source link

image from Jupyter notebook not showing #424

Closed eustejl closed 4 months ago

eustejl commented 4 months ago

Hello! It seems that images are not rendered in Mercury, which is also the case when I export them to pdf. I added the image to the Jupyter notebook using img src=... I am running Mercury in my local device.

Is there a way to solve this? Thanks!

image

pplonski commented 4 months ago

Please try to upload image for example to GitHub repository and then use external url to display image.

The other way might be to encode it to base64. Please check possible ways in my article about displaying images in notebook.

Please let me know if it works for you.

eustejl commented 4 months ago

I dragged and dropped the images to the markdown cell, and it worked perfectly. Thank you!