{"action":"opened","number":1,"pull_request":{"url":"https://api.github.com/repos/jal617b/Adldap2/pulls/1","id":44173633,"html_url":"https://github.com/jal617b/Adldap2/pull/1","diff_url":"https://github.com/jal617b/Adldap2/pull/1.diff","patch_url":"https://github.com/jal617b/Adldap2/pull/1.patch","issue_url":"https://api.github.com/repos/jal617b/Adldap2/issues/1","number":1,"state":"open","locked":false,"title":"Added getter for thumbnailphoto","user":{"login":"jal617b","id":8978322,"avatar_url":"https://avatars.githubusercontent.com/u/8978322?v=3","gravatar_id":"","url":"https://api.github.com/users/jal617b","html_url":"https://github.com/jal617b","followers_url":"https://api.github.com/users/jal617b/followers","following_url":"https://api.github.com/users/jal617b/following{/other_user}","gists_url":"https://api.github.com/users/jal617b/gists{/gist_id}","starred_url":"https://api.github.com/users/jal617b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jal617b/subscriptions","organizations_url":"https://api.github.com/users/jal617b/orgs","repos_url":"https://api.github.com/users/jal617b/repos","events_url":"https://api.github.com/users/jal617b/events{/privacy}","received_events_url":"https://api.github.com/users/jal617b/received_events","type":"User","site_admin":false},"body":"Retrieves thumbnailphoto attribute from AD and returns a string which can be displayed as image via the following ;\r\n`$imagestring ='';  //returned string `\r\n`$tempFile = tempnam(sys_get_temp_dir(), 'image');`\r\n`file_put_contents($tempFile, $imageString);`\r\n`$finfo = new finfo(FILEINFO_MIME_TYPE);`\r\n`$mime  = explode(';', $finfo->file($tempFile));`\r\n`echo '<img src=\"data:' . $mime[0] . ';base64,' . base64_encode($imageString) . '\"/>';`\r\n\r\n\r\n\r\n","created_at":"2015-09-04T00:41:47Z","updated_at":"2015-09-04T00:41:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":null,"assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/jal617b/Adldap2/pulls/1/commits","review_comments_url":"https://api.github.com/repos/jal617b/Adldap2/pulls/1/comments","review_comment_url":"https://api.github.com/repos/jal617b/Adldap2/pulls/comments{/number}","comments_url":"https://api.github.com/repos/jal617b/Adldap2/issues/1/comments","statuses_url":"https://api.github.com/repos/jal617b/Adldap2/statuses/00d46284b9bbd3f268ee0d7697f2f8cb3e0777a4","head":{"label":"jal617b:jal617b-patch-1-1","ref":"jal617b-patch-1-1","sha":"00d46284b9bbd3f268ee0d7697f2f8cb3e0777a4","user":{"login":"jal617b","id":8978322,"avatar_url":"https://avatars.githubusercontent.com/u/8978322?v=3","gravatar_id":"","url":"https://api.github.com/users/jal617b","html_url":"https://github.com/jal617b","followers_url":"https://api.github.com/users/jal617b/followers","following_url":"https://api.github.com/users/jal617b/following{/other_user}","gists_url":"https://api.github.com/users/jal617b/gists{/gist_id}","starred_url":"https://api.github.com/users/jal617b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jal617b/subscriptions","organizations_url":"https://api.github.com/users/jal617b/orgs","repos_url":"https://api.github.com/users/jal617b/repos","events_url":"https://api.github.com/users/jal617b/events{/privacy}","received_events_url":"https://api.github.com/users/jal617b/received_events","type":"User","site_admin":false},"repo":{"id":41890304,"name":"Adldap2","full_name":"jal617b/Adldap2","owner":{"login":"jal617b","id":8978322,"avatar_url":"https://avatars.githubusercontent.com/u/8978322?v=3","gravatar_id":"","url":"https://api.github.com/users/jal617b","html_url":"https://github.com/jal617b","followers_url":"https://api.github.com/users/jal617b/followers","following_url":"https://api.github.com/users/jal617b/following{/other_user}","gists_url":"https://api.github.com/users/jal617b/gists{/gist_id}","starred_url":"https://api.github.com/users/jal617b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jal617b/subscriptions","organizations_url":"https://api.github.com/users/jal617b/orgs","repos_url":"https://api.github.com/users/jal617b/repos","events_url":"https://api.github.com/users/jal617b/events{/privacy}","received_events_url":"https://api.github.com/users/jal617b/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jal617b/Adldap2","description":"A PHP LDAP Library for Active Directory Manipulation","fork":true,"url":"https://api.github.com/repos/jal617b/Adldap2","forks_url":"https://api.github.com/repos/jal617b/Adldap2/forks","keys_url":"https://api.github.com/repos/jal617b/Adldap2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jal617b/Adldap2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jal617b/Adldap2/teams","hooks_url":"https://api.github.com/repos/jal617b/Adldap2/hooks","issue_events_url":"https://api.github.com/repos/jal617b/Adldap2/issues/events{/number}","events_url":"https://api.github.com/repos/jal617b/Adldap2/events","assignees_url":"https://api.github.com/repos/jal617b/Adldap2/assignees{/user}","branches_url":"https://api.github.com/repos/jal617b/Adldap2/branches{/branch}","tags_url":"https://api.github.com/repos/jal617b/Adldap2/tags","blobs_url":"https://api.github.com/repos/jal617b/Adldap2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jal617b/Adldap2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jal617b/Adldap2/git/refs{/sha}","trees_url":"https://api.github.com/repos/jal617b/Adldap2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jal617b/Adldap2/statuses/{sha}","languages_url":"https://api.github.com/repos/jal617b/Adldap2/languages","stargazers_url":"https://api.github.com/repos/jal617b/Adldap2/stargazers","contributors_url":"https://api.github.com/repos/jal617b/Adldap2/contributors","subscribers_url":"https://api.github.com/repos/jal617b/Adldap2/subscribers","subscription_url":"https://api.github.com/repos/jal617b/Adldap2/subscription","commits_url":"https://api.github.com/repos/jal617b/Adldap2/commits{/sha}","git_commits_url":"https://api.github.com/repos/jal617b/Adldap2/git/commits{/sha}","comments_url":"https://api.github.com/repos/jal617b/Adldap2/comments{/number}","issue_comment_url":"https://api.github.com/repos/jal617b/Adldap2/issues/comments{/number}","contents_url":"https://api.github.com/repos/jal617b/Adldap2/contents/{+path}","compare_url":"https://api.github.com/repos/jal617b/Adldap2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jal617b/Adldap2/merges","archive_url":"https://api.github.com/repos/jal617b/Adldap2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jal617b/Adldap2/downloads","issues_url":"https://api.github.com/repos/jal617b/Adldap2/issues{/number}","pulls_url":"https://api.github.com/repos/jal617b/Adldap2/pulls{/number}","milestones_url":"https://api.github.com/repos/jal617b/Adldap2/milestones{/number}","notifications_url":"https://api.github.com/repos/jal617b/Adldap2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jal617b/Adldap2/labels{/name}","releases_url":"https://api.github.com/repos/jal617b/Adldap2/releases{/id}","created_at":"2015-09-04T00:24:02Z","updated_at":"2015-09-04T00:24:03Z","pushed_at":"2015-09-04T00:41:47Z","git_url":"git://github.com/jal617b/Adldap2.git","ssh_url":"git@github.com:jal617b/Adldap2.git","clone_url":"https://github.com/jal617b/Adldap2.git","svn_url":"https://github.com/jal617b/Adldap2","homepage":"","size":2183,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"base":{"label":"jal617b:master","ref":"master","sha":"4c45da378e9c3c529a7537d2400740864aaac251","user":{"login":"jal617b","id":8978322,"avatar_url":"https://avatars.githubusercontent.com/u/8978322?v=3","gravatar_id":"","url":"https://api.github.com/users/jal617b","html_url":"https://github.com/jal617b","followers_url":"https://api.github.com/users/jal617b/followers","following_url":"https://api.github.com/users/jal617b/following{/other_user}","gists_url":"https://api.github.com/users/jal617b/gists{/gist_id}","starred_url":"https://api.github.com/users/jal617b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jal617b/subscriptions","organizations_url":"https://api.github.com/users/jal617b/orgs","repos_url":"https://api.github.com/users/jal617b/repos","events_url":"https://api.github.com/users/jal617b/events{/privacy}","received_events_url":"https://api.github.com/users/jal617b/received_events","type":"User","site_admin":false},"repo":{"id":41890304,"name":"Adldap2","full_name":"jal617b/Adldap2","owner":{"login":"jal617b","id":8978322,"avatar_url":"https://avatars.githubusercontent.com/u/8978322?v=3","gravatar_id":"","url":"https://api.github.com/users/jal617b","html_url":"https://github.com/jal617b","followers_url":"https://api.github.com/users/jal617b/followers","following_url":"https://api.github.com/users/jal617b/following{/other_user}","gists_url":"https://api.github.com/users/jal617b/gists{/gist_id}","starred_url":"https://api.github.com/users/jal617b/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jal617b/subscriptions","organizations_url":"https://api.github.com/users/jal617b/orgs","repos_url":"https://api.github.com/users/jal617b/repos","events_url":"https://api.github.com/users/jal617b/events{/privacy}","received_events_url":"https://api.github.com/users/jal617b/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/jal617b/Adldap2","description":"A PHP LDAP Library for Active Directory Manipulation","fork":true,"url":"https://api.github.com/repos/jal617b/Adldap2","forks_url":"https://api.github.com/repos/jal617b/Adldap2/forks","keys_url":"https://api.github.com/repos/jal617b/Adldap2/keys{/key_id}","collaborators_url":"https://api.github.com/repos/jal617b/Adldap2/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/jal617b/Adldap2/teams","hooks_url":"https://api.github.com/repos/jal617b/Adldap2/hooks","issue_events_url":"https://api.github.com/repos/jal617b/Adldap2/issues/events{/number}","events_url":"https://api.github.com/repos/jal617b/Adldap2/events","assignees_url":"https://api.github.com/repos/jal617b/Adldap2/assignees{/user}","branches_url":"https://api.github.com/repos/jal617b/Adldap2/branches{/branch}","tags_url":"https://api.github.com/repos/jal617b/Adldap2/tags","blobs_url":"https://api.github.com/repos/jal617b/Adldap2/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/jal617b/Adldap2/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/jal617b/Adldap2/git/refs{/sha}","trees_url":"https://api.github.com/repos/jal617b/Adldap2/git/trees{/sha}","statuses_url":"https://api.github.com/repos/jal617b/Adldap2/statuses/{sha}","languages_url":"https://api.github.com/repos/jal617b/Adldap2/languages","stargazers_url":"https://api.github.com/repos/jal617b/Adldap2/stargazers","contributors_url":"https://api.github.com/repos/jal617b/Adldap2/contributors","subscribers_url":"https://api.github.com/repos/jal617b/Adldap2/subscribers","subscription_url":"https://api.github.com/repos/jal617b/Adldap2/subscription","commits_url":"https://api.github.com/repos/jal617b/Adldap2/commits{/sha}","git_commits_url":"https://api.github.com/repos/jal617b/Adldap2/git/commits{/sha}","comments_url":"https://api.github.com/repos/jal617b/Adldap2/comments{/number}","issue_comment_url":"https://api.github.com/repos/jal617b/Adldap2/issues/comments{/number}","contents_url":"https://api.github.com/repos/jal617b/Adldap2/contents/{+path}","compare_url":"https://api.github.com/repos/jal617b/Adldap2/compare/{base}...{head}","merges_url":"https://api.github.com/repos/jal617b/Adldap2/merges","archive_url":"https://api.github.com/repos/jal617b/Adldap2/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/jal617b/Adldap2/downloads","issues_url":"https://api.github.com/repos/jal617b/Adldap2/issues{/number}","pulls_url":"https://api.github.com/repos/jal617b/Adldap2/pulls{/number}","milestones_url":"https://api.github.com/repos/jal617b/Adldap2/milestones{/number}","notifications_url":"https://api.github.com/repos/jal617b/Adldap2/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/jal617b/Adldap2/labels{/name}","releases_url":"https://api.github.com/repos/jal617b/Adldap2/releases{/id}","created_at":"2015-09-04T00:24:02Z","updated_at":"2015-09-04T00:24:03Z","pushed_at":"2015-09-04T00:41:47Z","git_url":"git://github.com/jal617b/Adldap2.git","ssh_url":"git@github.com:jal617b/Adldap2.git","clone_url":"https://github.com/jal617b/Adldap2.git","svn_url":"https://github.com/jal617b/Adldap2","homepage":"","size":2183,"stargazers_count":0,"watchers_count":0,"language":"PHP","has_issues":false,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"open_issues_count":1,"forks":0,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/jal617b/Adldap2/pulls/1"},"html":{"href":"https://github.com/jal617b/Adldap2/pull/1"},"issue":{"href":"https://api.github.com/repos/jal617b/Adldap2/issues/1"},"comments":{"href":"https://api.github.com/repos/jal617b/Adldap2/issues/1/comments"},"review_comments":{"href":"https://api.github.com/repos/jal617b/Adldap2/pulls/1/comments"},"review_comment":{"href":"https://api.github.com/repos/jal617b/Adldap2/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/jal617b/Adldap2/pulls/1/commits"},"statuses":{"href":"https://api.github.com/repos/jal617b/Adldap2/statuses/00d46284b9bbd3f268ee0d7697f2f8cb3e0777a4"}},"merged":false,"mergeable":null,"mergeable_state":"unknown","merged_by":null,"comments":0,"review_comments":0,"commits":1,"additions":5,"deletions":0,"changed_files":1}}