Consider wanting to use iframes in a presentation relying on having an Internet connection, but wanting to be able to use "cached" screenshots if in an offline setting.
<iframe src="http://example.com">
<img src="screenshot-example.com.png"/>
</iframe>
How can that be solved in a neat way?