Colby Fayock
Colby Fayock
looks like you're on the right track. would be great if someone could define the sizes they would like to use in the netlify.toml configuration
so a few different ways to configure it to the API: ``` cloudinary.v2.uploader .upload("https://www.example.com/sample.jpg", { responsive_breakpoints: { create_derived: true, bytes_step: 20000, min_width: 200, max_width: 1000 }}) ``` which generates a...
yup! that should be it
given it's opt-in, i would expect that it requires someone to pass in values in order to work. it would be great to have a simple example in the docs...
@colbyfayock see here for example: https://github.com/colbyfayock/netlify-plugin-cloudinary/blob/main/src/index.js#L25-L37
you can try logging the values and running a Netlify build use the Netlify CLI to test locally https://docs.netlify.com/cli/get-started/ once installed run `netlify deploy --build`
i can't tell from just that unfortunately, i would recommend adding some console logs do you have your environment variables set up? you need to have the API key and...
you can certainly create a PR! and we can work from there console.logs didnt help? are you looking through all of the logs, not just the end where the error...
try adding a try/catch around these: ``` if ( canSignUpload ) { // We need an API Key and Secret to use signed uploading results = await cloudinary.uploader.upload(fullPath, { ...uploadOptions...
@simran-sankhala do you plan on continuing to work on this?