Answer the question
In order to leave comments, you need to log in
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
Good afternoon. I wrote https://github.com/budyaga/yii2-cropper for my needs , then posted it to the public. You can try too.
I use this https://github.com/2amigos/yii2-file-upload-widget on many projects
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.
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 questionAsk a Question
731 491 924 answers to any question