xddesigners/silverstripe-dropzonefield

DropzoneJS frond-end upload field for SilverStripe.

Installs: 1 363

Dependents: 1

Suggesters: 0

Security: 0

Stars: 3

Watchers: 4

Forks: 1

Open Issues: 2

Type:silverstripe-vendormodule

1.2.3 2023-08-14 11:15 UTC

README

A Dropzone.js file upload field for SilverStripe. Use on frond end forms. Image of Yaktocat

Installation

Install the module trough composer:

composer require xddesigners/silverstripe-dropzonefield

Usage

XD\DropzoneField\Forms\DropzoneField::create('Image');

Enable frontend editing of image object

DropzoneField::create('Image', _t(__CLASS__ . '.Image', 'Profile image'), $this->Image() )
    ->setFolderName('profile')
    ->setIsMultiUpload(false)
    ->setAddRemoveLinks(true);

Maintainers

Bram de Leeuw