[bug 748057] Allow image filenames without type extension.
Merge pull request #385 from glogiotatidis/748057

[bug 748057] Allow image filenames without type extension.