Save as web archive or page source images

I’m trying to write a script that saves a webpage that changes each time of the script and email it to another computer.
When open the web archive on the computer that ran the script, it opens with images. When I open the page source on the same computer it doesn’t have the images. Both, web archive and page source saves do not show the images when the file is emailed to another computer.
How do I keep the images with the text?

this could be a Safari/Webkit bug, have you tried with another website?