Image file spec fix

code from last pull request in this one.