created view to add a photo