Merge pull request #662 from rdsubhas/image_corruption

Fixed image corruption by doing a base64 decode
Accidentally changed production.rb