After getting lot's of error and don't know how to perform multiple images api in yii2 finally I get it today
This is for folks who are using
\kartik\widgets\FileInput to upload files from your client. How do you display an image for update after you have uploaded it to the server using the widget?
Uploading files in a webapp can be extremely tricky and sometimes the quickest way to do it is to store the file directly in the webserver or into a DNS (like Amazon S3) and then to save the link and the metadata inside a table in the DB. The thing is that you'll have to deal with file permissions, server storage, file management and so on (which is perfectly fine, by the way).