Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

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

Open
mavaddat opened this issue Oct 27, 2021 · 0 comments
Open

Comments

@mavaddat
Copy link
Owner

From jekyll-cloudinary created by nhoizey: nhoizey#58

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

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

No branches or pull requests

1 participant