Add accept attribute
@@ -24,7 +24,7 @@
@csrf
<div class="form-group">
<label class="font-weight-bold text-muted small">Upload Image</label>
- <input type="file" class="form-control-file" name="photo">
+ <input type="file" class="form-control-file" name="photo" accept="image/*">
</div>
<label class="font-weight-bold text-muted small">Caption</label>
@@ -59,4 +59,4 @@
-@endsection
+@endsection
@@ -50,4 +50,4 @@