Skip to content

Commit 15eeae9

Browse files
author
Blair McKenzie
committed
added support for using fetch or auto upload instead of upload to the api
1 parent 6fea36c commit 15eeae9

File tree

3 files changed

+289
-317
lines changed

3 files changed

+289
-317
lines changed

packages/forms/configCloudinary.cfc

Lines changed: 9 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -9,5 +9,14 @@
99
<cfproperty ftSeq="3" ftFieldset="Cloudinary" ftLabel="API Secret"
1010
name="apiSecret" type="string" />
1111

12+
<cfproperty ftSeq="4" ftFieldset="Cloudinary" ftLabel="Upload Via"
13+
name="uploadVia" type="string" default="post" ftDefault="post"
14+
ftType="list" ftList="post:Post To API,fetch:Fetch From URL,auto:Auto Upload"
15+
ftHint="<a href='http://cloudinary.com/documentation/fetch_remote_images##remote_image_fetch_url' target='_blank'>Fetch From URL</a> requires that the images be publicly accessibe, and Cloudinary should be configured to only fetch from specific URLs<br><a href='http://cloudinary.com/documentation/fetch_remote_images##auto_upload_remote_images' target='_blank'>Auto Upload</a> must be preconfigured in Cloudinary, and the mapped folder entered below" />
16+
17+
<cfproperty ftSeq="5" ftFieldset="Cloudinary" ftLabel="Auto Upload Folder"
18+
name="autoUploadFolder" type="string"
19+
ftHint="The auto upload folder for this appliation. Should start with '/'." />
20+
1221

1322
</cfcomponent>

0 commit comments

Comments
 (0)