M
M
Mikha Pankratov2016-02-04 20:41:34
Yii
Mikha Pankratov, 2016-02-04 20:41:34

Ajax uploader for Yii2?

Hello,
people who will advise.
Task: you need to automatically load pictures.
<?= $form->field($model, 'image')->fileInput() ?>
And display a preview immediately after loading.
We don’t need links from Google, but what did people use - pluses minuses convenience?

Answer the question

In order to leave comments, you need to log in

4 answer(s)
S
Sergey Krivochenko, 2016-02-07
@krivochenko

Good afternoon. I wrote https://github.com/budyaga/yii2-cropper for my needs , then posted it to the public. You can try too.

E
enchikiben, 2016-02-04
@EnChikiben

I use this https://github.com/2amigos/yii2-file-upload-widget on many projects

N
Nikita, 2016-02-04
@bitver

demos.krajee.com/widget-details/fileinput
A small hassle to customize for the design, in my projects I use my widget inherited from this with ready-made initialized properties that I like. Otherwise, everything is fine, it works flawlessly.

M
Maxim Timofeev, 2018-03-20
@webinar

demos.krajee.com/widget-details/fileinput + custom behavior for uploading
videos on the topic: https://youtu.be/0SC7up01NSA

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question