bonjour voila un exemple qui crée un tableau, ajoute une ligne puis ajoute des colonne dans lesquelles on crée une balise img que l'on alimente par un array
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml">
<head>
<script language="JavaScript" type="text/javascript">
tbgema= new Array('5.jpg','32.jpg','33.jpg','34.jpg','71.jpg','78.jpg','83.jpg','89.jpg','92.jpg','10.jpg')
function ttb(){
var tbs=document.createElement('table');
tbs.insertRow(-1)
for(var i = 0; i < tbgema.length; i++) {
tbs.rows[0].insertCell(i)
var igm=document.createElement('img')
igm.src=tbgema[i];
tbs.rows[0].cells[i].appendChild(igm);
}
document.body.appendChild(tbs);
}
</script>
</head>
marche
</html>