Duck type img
Merge pull request #492 from drkibitz/ducktype

Duck type img