CFWheels Attachments Plugin
Add support for file uploads to your CFWheels model with the hasAttachment()
function. Also provides attachmentImageTag()
and attachmentLinkTo()
view helpers.
Automatically resize uploaded images to a set of "styles" that you define. (For example, you could automatically resize for thumbnail
, small
, medium
, large
, etc.)
Overrides fileField()
to work better with <cffile>
and nested properties.
Dependencies
You must also install the JSON Properties plugin (version 0.3+) for the Attachments plugin to work.
Documentation
For more documentation, install the Attachments plugin and click the Attachments link in the Plugins section of the debugging section of your CFWheels application's footer.
Credits
This plugin was created by James Gibson and Chris Peters with support from Liquifusion Studios.