Load File path in html input (default value)

Posted 1 week 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.

{["image":"UyxiIclQSQ1556793102.png"},"image":"Rdfl1KVgug1556793102.png"}]

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

Reply to

Use Markdown with GitHub-flavored code blocks.