show photo in views, and add as param in controller