Buenas,
prueba a pedirselo así:
<script language="javascript">
function borrarFotoIz(){
if(confirm("Seguro que quieres borrar esta foto?"))
{return true;}
else{return false}
}
</script>
Y a tu form:
<form name="FotoIz" method="post" action="tuAccion" onSubmit="return borrarFotoIz()">
A tu botón no le digas nada.