Well, You can embed html inside the PHP script:
<?
// Here will lies your PHP script
// and if you nedd to display an image here just break the script
// and come back
?>
<img src="imageName.ext">
<?
// come back to your PHP script
?>
I hope this will help 🙂