<img src="1.jgp" id="miImagen">
<script>
window.setTimeout(()=>{document.getElementById("miImagen").style.display="none"}, 3000);
</script>