Using Cloudinary w/o a Build Step
If I were building a simple web-based project (not Vue, or React, just vanilla), what would be the preferred way to import Cloudinary w/o doing an npm install and using a build process? I can definitely do so with a parcel build, and that's relatively simple, but lets say I was looking for a bundled Cloudinary JS SDK I could simply script src in. I get that it would not be optimized would include more than I need.
Honestly, I'm just thinking about transformations, and while I can do that "by hand", I love the simplicity of how it's done via the SDKs. I am willing to just do it by hand though. ;)
Best Answer
-
Hi Raymond,
You should be able to reference our JS Cloudinary Core using the unpkg url: https://unpkg.com/cloudinary-core/cloudinary-core-shrinkwrap.min.js
Below is my codesandbox and it should show how to generate the img tag with transformations in the url:
https://8mi0oi.csb.app/transformation.html
I hope this helps.
-Anthony
0