First of all, you need to add this to your form tag :
enctype="multipart/form-data"
I've got a small little project I'm working on. I'm trying to figure out how to handle image upload on my form.
I need to upload and set a featured image but also allow a person to allow more images that will not be marked as featured.
<div class="row">
<div class="col-sm-9">
<form id="newItem" method="post" action="{{ URL::to('account/item/store') }}">
{{
<div class="form-group">
<label for="title">Title</label>
<input type="text" id="title" name="title" class="form-control">
</div>
<div class="form-group">
<label for="description">Description</label>
<textarea id="description" name="description" class="form-control" rows="9"></textarea>
</div>
</form>
</div>
<div class="col-sm-3">
</div>
</div>
Can anyone help me?
Please or to participate in this conversation.