I need to implement a feature in my Chrome extension that allows users to upload images directly to a specific folder named "upload" without needing a submit button.
<form action="/upload">
<input type="file" name="myimages" accept="image/*">
</form>
Display the uploaded images:
<span class="AvGbtn" id="AvBgIds" style="background-image: url(Here I want to display the uploaded image URL); background-size: 100% 100%;" oncontextmenu="return false">
</span>