404 GET error when loading photos and videos in a notebook that are stored on

I have made a jupyterlab extension that adds a dropdown menu to the main menu, and when you click on the different dropdowns, it opens a different notebook into the workspace. The notebooks have images and videos in the cells. I have the notebooks and media files stored in a directory on a remote linux machine. The notebooks and text are opening fine, but the images and videos are not loading and when I read the logs in runai there is a 404 get error for the pics/vids. How can I properly load the media into the notebooks?