got photo button working