Added image validation for Heroku version