Resolved heroku image problem by using asset pipeline