jekyll-cloudinary icon indicating copy to clipboard operation
jekyll-cloudinary copied to clipboard

Couldn't find image

Open kevquirk opened this issue 4 years ago • 1 comments

I don't know if I'm being a complete idiot (I probably am) but for some reason the locals paths aren't being found when I run my server.

For example, if I run `jekyll serve`` locally with the following liquid tag in a page:

{% cloudinary "/assets/images/test.jpg" alt=“This is a test” caption=“Testing” loading=“lazy” %}

I get the following output from the terminal:

[Cloudinary] Couldn't find this image to check its width: /home/<user>/GitHub/<repo>/./"/assets/images/test.jpg.

I have no idea why it's splitting the path with a ./"/ in the middle.

I'm certain I'm doing something wrong, but I have no idea what. Thanks!

kevquirk avatar Dec 06 '20 12:12 kevquirk

you shouldn't use the quotes on the path

{% cloudinary /assets/images/test.jpg alt=“This is a test” caption=“Testing” loading=“lazy” %}

should work

gamue avatar Dec 18 '20 19:12 gamue