Now the problem with kartik widget is in the form view after you upload the first photo( before submiting the form) for the other next ones it just gets overwrite on the previous ones and the only preview in the field is for the last uploaded one.
<?= $form->field($model, 'image')->widget(FileInput::classname(), [
'name'=> 'ads_photos[]',
'options'=>['accept'=>'image/*', 'multiple'=>true, ],
'pluginOptions'=>[
'allowedFileExtensions'=>['jpg','gif','png'],
'overwriteInitial'=>false,
]
]);
?>
as you can see I've set 'multiple'=>true, and 'overwriteInitial'=>false, as far as you can see in the guide it has said the same.
but what's the problem?