handle image extensions in doctrine loader
Merge pull request #276 from liip/tweak-doctrine-loader

handle image extensions in doctrine loader