I want that to create a process where the users can upload their images and then edit them in the browser in a Canvas with Fabric.js using some buttons, which uses Fabric.js
var canvas = new fabric.Canvas('main-canvas');
canvas.selection = false;
var imgElement = document.getElementById("img11");
var imgInstance = new fabric.Image(imgElement, {
angle: 0,
position: 'absolute',
opacity: 1,
originX: 'left',
originY:'top',
meetOrSlice:'slice',
});
imgInstance.selectable = false;
canvas.add(imgInstance);
canvas.renderAll();