Ag-Grid component with input support

i am trying to add image field into my Ag-Grid object by following this example but with success.
i am retrieving data from SQL server and convert it to dataframe than try to add the image but is not working.
i mage exist on my drive
c:\Users\test\desktop\pictures\pic1.png

where is my error ?

code:


show_image=JsCode("""function(params){
           var element = document.createElement("span");
            var imageElement = document.createElement("img");
        
            if (params.data.image_path) {
                imageElement.src = params.data.image_path;
                imageElement.width="20";
            } else {
                imageElement.src = "";
            }
            element.appendChild(imageElement);
            element.appendChild(document.createTextNode(params.value));
            return element;
            }""")
    gb.configure_column('pic', cellRenderer=show_image)