You can do something like this:
<img src="data:image/png;base64,BASE64STRING">
but if you BASE64STRING is the output of a php, then something like this would work:
<img src="data:image/png;base64, <?php include 'get.php?id=$lastid' ?>>
I know it may not be exactly but I hope you get the idea
与恶龙缠斗过久,自身亦成为恶龙;凝视深渊过久,深渊将回以凝视…