Fix image resizing to be proportional

Images inside .pure-g-r when resized didn't change their height. Fix this by adding setting their height to 'auto'.
Merge pull request #172 from dchest/patch-2

Fix image resizing to be proportional