Qualcuno mi sa spiegare perchè se faccio un pulsante che mi crea un campo aggiuntivo di un form, esempio

Codice PHP:
var oTr=document.createElement("TR");
var 
oTd1=document.createElement("TD");
var 
oField1=document.createElement("TEXTAREA");

oField1.setAttribute("name","testo");
oField1.setAttribute("rows",1);
oField1.setAttribute("cols",8);
oField1.setAttribute("class","voce-form");

oTd1.appendChild(oField1);
oTr.appendChild(oTd1);
document.getElementById('tabella').getElementsByTagName('TBODY')[0].appendChild(oTr); 
funziona tutto correttamente, se invece tento di creare un elemento immagine, esempio

Codice PHP:
var oTr=document.createElement("TR");
var 
oTd1=document.createElement("TD");
var 
oField1=document.createElement("IMG");

oField1.setAttribute("src","img/pic.jpg");

oTd1.appendChild(oField1);
oTr.appendChild(oTd1);
document.getElementById('tabella').getElementsByTagName('TBODY')[0].appendChild(oTr); 
il tasto che richiama la funziona semplicemente non fa nulla?!?