             url : @postUrl()
             previewsContainer : ReactDOM.findDOMNode(@refs.preview_container) ? ""
             previewTemplate   : ReactDOMServer.renderToStaticMarkup(@preview_template())
-            maxFilesize       : 10000
+            maxFilesize       : MAX_FILE_SIZE_MB
         , true
         return misc.merge(with_defaults, @props.config)
 

###
Drag'n'Drop dropzone area
###

ReactDOMServer      = require('react-dom/server')   # for dropzone below
Dropzone            = require('dropzone')

                <DropzoneComponent
                    config        = {postUrl: @postUrl()}
                    eventHandlers = {@props.dropzone_handler}
                    djsConfig     = {previewTemplate: ReactDOMServer.renderToStaticMarkup(@dropzone_template()), maxFilesize:MAX_FILE_SIZE_MB}
                />
            </div>
        </div>
