If your images aren't loading correctly in the Jupyter Notebook locally or on datacamp.com (as accessed through your Teach dashboard), it is likely due to one or both of the following reasons:

  1. Your image has the file extension .svg. Datacamp.com's system doesn't like SVG images for some reason. Find the image in JPG or PNG format, or convert it to one of those formats using a free online tool like this one.

  2. Your embedding code is incorrect. Please use Markdown image syntax or HTML image syntax. Many instructors find HTML tags easier to implement. The image you are using will need to be saved in the project repository's img folder in order to be access from datacamp.com.

    For HTML image syntax, you may wish to right-justify the image like this:

<img src="img/blood_donation.png" style="float: right;" alt="A pictogram of a blood bag with blood donation written in it" width="200"/>

If you are using HTML image syntax, the image tag can be placed directly inside an Markdown cell and should render automatically:

If you're still having issues, reach out to your DataCamp contact via GitHub Issue!

Did this answer your question?