Thanks Cander
I've spotted what the problem is now.

I've written a little ActiveX document which scans a directory on the pc fro images and writes them to a html file with IMG tags the problem was that I had SRC='filename' instead of SRC="filename"