Run a script on image upload

webteam's Avatar


23 Dec, 2014 05:54 PM

Is it possible to run a script on demand whenever someone uploads an image using Cascade's CMS?

  1. 1 Posted by Ryan Griffith on 23 Dec, 2014 06:58 PM

    Ryan Griffith's Avatar


    This would be possible by using a custom Asset Factory Plugin that is attached to a File Asset Factory. We have additional examples in this Github project as well.

    Your plugin would execute when the user creates a new File using that Asset Factory. You could additionally pair that with the built in File Limit plugin to restrict the system name of the file to specific extensions.

    Please let me know if you have any questions.


  2. webteam closed this discussion on 29 Dec, 2014 03:19 PM.

Comments are currently closed for this discussion. You can start a new one.

Keyboard shortcuts


? Show this help
ESC Blurs the current field

Comment Form

r Focus the comment reply box
^ + ↩ Submit the comment

You can use Command ⌘ instead of Control ^ on Mac