---
Want to back this issue? **[Post a bounty on it!](https://www.bountysource.com/issues/64398335-file-input-installing-issues?utm_campaign=plugin&utm_content=tracker%2F530581&utm_medium=issues&utm_source=github)** We accept bounties via [Bountysource](https://www.bountysource.com/?utm_campaign=plugin&utm_content=tracker%2F530581&utm_medium=issues&utm_source=github).
kartik-v/yii2-widget-fileinput it was working well before updating and requiering for "yiisoft/yii2-bootstrap4": "@dev"
now it's does not showing the initial image .. update senario
also i cannot install "yiisoft/yii2-bootstrap4": "@dev" using composer >> it's say you cannot install this
how to show initial image... <?= $form->field($model, 'myfile')->widget(FileInput::classname(), [ 'options' => [ 'accept' => 'image/*', 'multiple' => false, // 'disabled' => true ], 'pluginOptions' => [ 'initialPreview' => [ $priv, // Url::to('@front-end-imgs/' . $model->slider_image, true) ], 'initialPreviewAsData' => true, 'overwriteInitial' => true, 'showUpload' => true, 'browseLabel' => '', 'removeLabel' => '', 'cancelLabel' => '', 'mainClass' => '', ], ]) ?> this is my code ...