Robert Prine Robert Prine - 1 year ago 133
Markdown Question

Images Not Loading With Jekyll

Folder layout:


I am having trouble accessing the pictures within my repo on my Jekyll site. "logo.png" is found and works fine, but all the other pictures are not showing up in the "Sources" tab within Chrome's inspector. I originally had the pictures inside an image folder within the content folder, then moved them to the img folder within the jekyll folder, and finally tried within the jekyll/_site/img folder.

I have also built and served it with each change locally. It shows the path being changed, but never updates the actual img folder in Sources.

Any ideas on what I am doing wrong would be great!

I had the images working in the Markdown previewer I was using. The current syntax I have for my images within the jekyll/_site/img folder are:

![alt text](/../../jekyll/_site/img/picture_name.png "Picture Name")

![alt text](/img/picture_name.png "Picture Name")

Answer Source

It appears that you aren't able to move images around using windows explorer. I needed to use the command line to move the images to their new folder and then I was able to access the pictures.

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download