While we don't have an official integration with FileMaker at the moment, the following is a sample code that demonstrates how to perform signed uploads into Cloudinary and then get the upload response, including the uploaded image's URL to display it in FileMaker:
Comments
5 comments
Solves the issue of uploading from FM very nicely.
Thanks.
how can I integrate following options to the cURL functions:
crop c_limit
progessive fl_progrssive
and different sizes to which the image should be resized
for example: w_2560,h_1600 and w_1920,h_1080
if I add this to the url it does not work
Thanks for any help
Hi Svenja, can you please try editing your script as per the below -
Is there a way to specify what folder to upload to in Cloudinary. From the filemaker script?
Hi Kevin,
The folder(s) are part of the public_ids by default, therefore, you can set the folder or sub-folders as part of your $public_id value. E.g. You can set the public_id to be "folder1/folder2/image" and it'll result in the image being stored under the two folders specified.
Alternatively, you can add a new parameter in the upload called 'folder'.
If you decided to use the public_id approach and add the folder as part of that variable then you don't need to update another part of the code.
On the other hand, if you decided to supply a 'folder' parameter then you will also need to add it to the line (39 in the above example) that generates the authentication signature. In addition, you would also add it to the $data variable in the post's example (line 40). Please note that the parameters passed for signing need to be ordered alphabetically, therefore, in the above example, the folder would be the first parameter.
Please try this and let us know how it goes.
Please sign in to leave a comment.