fix bug 948122 - Contrain image heights to max width
Merge pull request #1757 from darkwing/height-auto

fix bug 948122 - Contrain image heights to max width