\DropzoneFile

Adds helper methods to the core {@link File} object

Synopsis

class DropzoneFile extends DataExtension {
}

Hierarchy

Extends

  • DataExtension

Methods

protected

public

  • IsImage() — Helper method for determining if this is an Image
  • getPreviewThumbnail() — Gets a thumbnail for this file given a size. If it's an Image, it will render the actual file. If not, it will provide an icon based on the extension.