Image not displaying in Jykell

40 Views Asked by At

Question

I am trying using the Github Page + Jykell now + Prose.io combination for a personal webpage / journal. I have also did the CNAME setting so my domain will apply.

I insert the image using markdown:

![my journey]({{site.baseurl}}/_posts/journey-4.jpg)

which generates html as follows:

<img src="journey-4.jpg" alt="my journey">

Issue

The image shows up in Prose but not github page.

Prose:

Github Page:

Deduction

I kind of understand the image missing is due to the domain name being applied. i.e.

{github+username}/_posts/journey-4.jpg <-- actual location
{my.domain.com}/_post/journey-4.jpg <-- after the CNAME bit applied

And it could be resolved by using absolute (raw) address from Github.

However, this will defeat the purpose of using Prose to "easily" manage the image upload because each image updated, the corresponding raw address has to be found.

Is it part of the side-effecting using CNAME to apply the domain name? Am I setting up the Github Page + Jykell now + Prose.io combo incorrectly?

0

There are 0 best solutions below