nhoizey/jekyll-cloudinary

Images not displayed when using categories in permalink

inakijv opened this issue · 0 comments

Hi,
In my case, the Cloudinary plugin follows the permalink's path defined in Front Matter instead of trying to look for the images in the origin_url I previously specified. As a result, it couldn't find the image to check its width.

Everything works fine for images on a page/view that don't have a category specified. The issue for me shows up for pages (same logic as posts here) that have a category, which is the majority of them in my case. It looks like there is an additional directory in the rendered path for those images, and obviously, there isn't.