<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN" "http://www.w3.org/TR/html4/strict.dtd">
<html>
<head>
<script type="text/javascript">
function go() {
var i = document.createElement('img');
i.src = 'someimage.png';
document.getElementById('tgt').appendChild(i);
}
</script>
</head>
<body onload="go();">
<div id="tgt"></div>
</body>
</html>
Assuming you provide a someimage.png, this works in all browsers as expected, but no image is placed into the PDF.
John Haugeland is http://fullof.bs/