Plugin API

The Plugin API lets you extend the File Uploader without forking or patching the library. Plugins can add upload sources, custom UI activities, per-file actions, file transformation hooks, icons, translations, and config options as a self-contained unit.

What plugins can do

CapabilityAPI method
Add a source to the pickerregisterSource
Add a custom activity panelregisterActivity
Add a per-file action buttonregisterFileAction
Transform files before uploadregisterFileHook
Register an SVG iconregisterIcon
Add translation stringsregisterL10n
Declare a custom config optionregisterConfig

In this section

If you are starting from scratch, begin with Plugin structure & registration, then move to Extension points.