1 year ago

Load File path in html input (default value)

Posted 1 year ago by sanjayacloud

Hi Guys,

I am trying to update images where coming from array. I want to know how to load image file path in input value. I did it like

<input type="file" id="action_json" name="featured_image[]" class="form-control" value="{{$obj2->image}}">

After that I got "getClientOriginalExtension() on null " Error. Anyone has a solution for this. My image path save in database column like below.


Please sign in or create an account to participate in this conversation.