corrected the image method for proper display on heroku