wrote code to write hero image to project page