2017 © Pedro Peláez
 

contao-module contao-fineuploader

Uploader extension with chunking support for Contao Open Source CMS using FineUploader by Widen

image

terminal42/contao-fineuploader

Uploader extension with chunking support for Contao Open Source CMS using FineUploader by Widen

  • Thursday, June 21, 2018
  • by aschempp
  • Repository
  • 3 Watchers
  • 14 Stars
  • 2,582 Installations
  • JavaScript
  • 1 Dependents
  • 1 Suggesters
  • 6 Forks
  • 5 Open issues
  • 11 Versions
  • 12 % Grown

The README.md

FineUploader Bundle for Contao Open Source CMS

This extension integrates the Fine Uploader by Widen with Contao Open Source CMS., (*1)

Installation

Install the package using Composer:, (*2)

composer require terminal42/contao-fineuploader

Usage

Define the form field as follows:, (*3)

$GLOBALS['TL_DCA']['tl_table']['fields']['myupload'] = [
    'label'     => &$GLOBALS['TL_LANG']['tl_table']['myupload'],
    'exclude'   => true,
    'inputType' => 'fineUploader',
    'eval'      => [
        'multiple'          => true,                        // Allow multiple files to be uploaded
        'storeFile'         => true,                        // Store the files on the server
        'uploadFolder'      => 'files/uploads',             // Upload target directory (can also be a Contao file system UUID)
        'useHomeDir'        => true,                        // Upload to the current logged in member home directory (overrides "uploadFolder", can also be a Contao file system UUID)
        'uploaderLimit'     => 4,                           // Maximum files that can be uploaded
        'maxConnections'    => 3                            // Maximum allowable concurrent requests
        'addToDbafs'        => true,                        // Add files to the database assisted file system
        'doNotOverwrite'    => true,                        // Do not overwrite files in destination folder
        'debug'             => true                         // Enable the debug mode (always true in development environment)

        // Validation
        'extensions'        => 'pdf,zip',                   // Allowed extension types
        'minlength'         => 1048000,                     // Minimum file size
        'maxlength'         => 2048000,                     // Maximum file size (ignored if you use chunking!)
        'minWidth'          => 400,                         // Minimum image width
        'maxWidth'          => 800,                         // Maximum image width
        'minHeight'         => 300,                         // Minimum image height
        'maxHeight'         => 600,                         // Maximum image height

        // Chunking
        'chunking'          => true,                        // Enable chunking
        'chunkSize'         => 2000000,                     // Chunk size in bytes
        'concurrent'        => true                         // Allow multiple chunks to be uploaded simultaneously per file

        // Rendering
        'imageSize'         => [160, 120, 'center_center'], // Thumbnail image size that is generated upon image upload
        'isGallery'         => true,                        // Display the widget as image gallery
        'isDownloads'       => true,                        // Display the widget as file list
        'sortable'          => true,                        // Make the uploaded files sortable
        'uploadButtonTitle' => 'Upload',                    // Custom upload button title

        // Upload the files directly to the destination folder. If not set, then the files are first uploaded
        // to the temporary folder and moved to the destination folder only when the form is submitted
        'directUpload'      => true,
    ],
    'sql' => "blob NULL"
];

The Versions

21/06 2018

dev-master

9999999-dev

Uploader extension with chunking support for Contao Open Source CMS using FineUploader by Widen

  Sources   Download

LGPL-3.0+

The Requires

 

uploader contao fineuploader chunking

21/06 2018

2.1.0

2.1.0.0

Uploader extension with chunking support for Contao Open Source CMS using FineUploader by Widen

  Sources   Download

LGPL-3.0+

The Requires

 

uploader contao fineuploader chunking

21/06 2018

dev-develop

dev-develop

Uploader extension with chunking support for Contao Open Source CMS using FineUploader by Widen

  Sources   Download

LGPL-3.0+

The Requires

 

uploader contao fineuploader chunking

30/04 2018

2.0.3

2.0.3.0

Uploader extension with chunking support for Contao Open Source CMS using FineUploader by Widen

  Sources   Download

LGPL-3.0+

The Requires

 

uploader contao fineuploader chunking

15/01 2018

2.0.2

2.0.2.0

Uploader extension with chunking support for Contao Open Source CMS using FineUploader by Widen

  Sources   Download

LGPL-3.0+

The Requires

 

uploader contao fineuploader chunking

12/01 2018

dev-hotfix/2.0.2

dev-hotfix/2.0.2

Uploader extension with chunking support for Contao Open Source CMS using FineUploader by Widen

  Sources   Download

LGPL-3.0+

The Requires

 

uploader contao fineuploader chunking

19/12 2017

dev-release/3.0

dev-release/3.0

Uploader extension with chunking support for Contao Open Source CMS using FineUploader by Widen

  Sources   Download

LGPL-3.0+

The Requires

 

The Development Requires

uploader contao fineuploader chunking

14/10 2016

2.0.1

2.0.1.0

Uploader extension with chunking support for Contao Open Source CMS using FineUploader by Widen

  Sources   Download

LGPL-3.0+

The Requires

 

uploader contao fineuploader chunking

06/07 2016

2.0.0

2.0.0.0

Uploader extension with chunking support for Contao Open Source CMS using FineUploader by Widen

  Sources   Download

LGPL-3.0+

The Requires

 

uploader contao fineuploader chunking

24/10 2014

1.0.1

1.0.1.0

Uploader extension with chunking support for Contao Open Source CMS using FineUploader by Widen

  Sources   Download

LGPL-3.0+

The Requires

 

uploader contao fineuploader chunking

18/08 2014

1.0.0

1.0.0.0

Uploader extension with chunking support for Contao Open Source CMS using FineUploader by Widen

  Sources   Download

LGPL-3.0+

The Requires

 

uploader contao fineuploader chunking