fix issue#5
Merge pull request #7 from fwachtel/bug_image-file

fix issue#5 (image filename bug)