T
T
The Dragger2015-04-03 14:49:14
JavaScript
The Dragger, 2015-04-03 14:49:14

How to install dropzone on yii?

Google google yea no google google
can't install dropzone normally

$this->widget('ext.dropzone.EDropzone', array(
            'model' => $model,
            'attribute' => 'file',
            'url' => $this->createUrl('controller/action'),
            'mimeTypes' => array('image/jpeg', 'image/png'),
            'onSuccess' => 'someJsFunction();',
            'options' => array(),
        ));
        ?>

Answer the question

In order to leave comments, you need to log in

1 answer(s)
M
Maxim Timofeev, 2015-05-06
@webinar

ok to install it how? What does not work for you and what do you expect from this script?

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question