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

[settings] add option to define global path prefix for images URLs

Open nhoizey opened this issue 6 years ago • 0 comments

Such a setting:

cloudinary:
  …
  images_root: "/media/"

Would allow users to write this:

{% cloudinary logos/colourful.jpg %}

And the generated URL would include <images_root> between the site domain and the image path: http://res.cloudinary.com/<cloud_name>/image/fetch/c_limit,w_320,q_auto,f_auto/https://<your-domain>/<images_root>/logos/colourful.jpg

nhoizey avatar Aug 28 '19 16:08 nhoizey