I’ve set up quite a few API calls now on Bubble, but in this case, I’m really struggling to understand how to set it up and need help…
I’m basically using what Cloudinary calls the “explicit” method to find an existing file stored with Cloudinary and I’m performing “transformations” (changes) on that file which is specified in the “eager” parameter.
In this cURL example (which can be found in the Cloudinary docs), all of the values for the “eager” parameter are transformations (cropping and adding a blue background).
curl https://api.cloudinary.com/v1_1/demo/image/explicit -X POST --data 'type=upload&public_id==sample&eager=w_400,h_400,c_crop,g_face|w_660,h_400,c_pad,b_blue×tamp=173719931&api_key=436464676&signature=a788d68f86a6f868af'
https://cloudinary.com/documentation/image_upload_api_reference#example-3
In my use case, I COULD have many (4-5+) transformations for the eager parameter value or I could only have one.
How do I set this up correctly so that I can provide values dynamically in a workflow if I have one transformation or if I have 5?
Here’s where I’m at so far…