Frustrating broken images!

A model and controller generate an image and save it as a png
The view then shows it with

">

BUT:
about 60% of the time I get the dreaded broken image - even though the
image is ok.

Any ideas why??

Chris.