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 #58

Open
nhoizey opened this issue Aug 28, 2019 · 0 comments
Open

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

nhoizey opened this issue Aug 28, 2019 · 0 comments

Comments

@nhoizey
Copy link
Owner

nhoizey commented Aug 28, 2019

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