{"action":"created","comment":{"url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/pulls/comments/168130171","pull_request_review_id":96441760,"id":168130171,"diff_hunk":"@@ -12,78 +12,254 @@ var COMMENTS = [\n   'Лица у людей на фотке перекошены, как будто их избивают. Как можно было поймать такой неудачный момент?!'\n ];\n \n-var createPhotos = function () {\n+var picture = [];\n+var picturePreview = document.querySelectorAll('.picture');","path":"js/pictures.js","position":6,"original_position":6,"commit_id":"33ddc4e52906fb1ba13ae98de408d2b29d347f42","original_commit_id":"33ddc4e52906fb1ba13ae98de408d2b29d347f42","user":{"login":"drsalnikov","id":12631201,"avatar_url":"https://avatars3.githubusercontent.com/u/12631201?v=4","gravatar_id":"","url":"https://api.github.com/users/drsalnikov","html_url":"https://github.com/drsalnikov","followers_url":"https://api.github.com/users/drsalnikov/followers","following_url":"https://api.github.com/users/drsalnikov/following{/other_user}","gists_url":"https://api.github.com/users/drsalnikov/gists{/gist_id}","starred_url":"https://api.github.com/users/drsalnikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drsalnikov/subscriptions","organizations_url":"https://api.github.com/users/drsalnikov/orgs","repos_url":"https://api.github.com/users/drsalnikov/repos","events_url":"https://api.github.com/users/drsalnikov/events{/privacy}","received_events_url":"https://api.github.com/users/drsalnikov/received_events","type":"User","site_admin":false},"body":"Перенеси внутрь функции getId( не забудь ее переименовать).\r\nТы ищешь элементы на странице, еще до того, как сама их добавила. \r\nПолучается, в момент поиска, в picturePreview ниодного элемента. ","created_at":"2018-02-14T10:17:53Z","updated_at":"2018-02-14T10:19:27Z","html_url":"https://github.com/htmlacademy-javascript/217242-kekstagram/pull/6#discussion_r168130171","pull_request_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/pulls/6","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/pulls/comments/168130171"},"html":{"href":"https://github.com/htmlacademy-javascript/217242-kekstagram/pull/6#discussion_r168130171"},"pull_request":{"href":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/pulls/6"}}},"pull_request":{"url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/pulls/6","id":168235142,"html_url":"https://github.com/htmlacademy-javascript/217242-kekstagram/pull/6","diff_url":"https://github.com/htmlacademy-javascript/217242-kekstagram/pull/6.diff","patch_url":"https://github.com/htmlacademy-javascript/217242-kekstagram/pull/6.patch","issue_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/issues/6","number":6,"state":"open","locked":false,"title":"Личный проект: подробности","user":{"login":"Sadchikhina","id":32951953,"avatar_url":"https://avatars2.githubusercontent.com/u/32951953?v=4","gravatar_id":"","url":"https://api.github.com/users/Sadchikhina","html_url":"https://github.com/Sadchikhina","followers_url":"https://api.github.com/users/Sadchikhina/followers","following_url":"https://api.github.com/users/Sadchikhina/following{/other_user}","gists_url":"https://api.github.com/users/Sadchikhina/gists{/gist_id}","starred_url":"https://api.github.com/users/Sadchikhina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sadchikhina/subscriptions","organizations_url":"https://api.github.com/users/Sadchikhina/orgs","repos_url":"https://api.github.com/users/Sadchikhina/repos","events_url":"https://api.github.com/users/Sadchikhina/events{/privacy}","received_events_url":"https://api.github.com/users/Sadchikhina/received_events","type":"User","site_admin":false},"body":"1. Загрузка изображения и показ формы редактирования - done\r\n2. Применение эффекта для изображения и Редактирование размера изображения - вот тут мне условия непонятны, он пишут, что 1 и 2 этап будем проходить на следующей лекции, так что мне в итоге надо сделать?\r\n3. Показ изображения в полноэкранном режиме - мне, видимо, нужно обращаться к созданным ранее DOM-объектам? Типа picture[i]? Как это делается?\n\n---\n:mortar_board: [Личный проект: подробности](https://up.htmlacademy.ru/javascript/12/user/217242/tasks/13)\n\n:boom: https://htmlacademy-javascript.github.io/217242-kekstagram/6/","created_at":"2018-02-09T13:07:37Z","updated_at":"2018-02-14T10:19:27Z","closed_at":null,"merged_at":null,"merge_commit_sha":"6a6e010aeee5d4ac0da2f8600c33281c79eeba99","assignee":{"login":"drsalnikov","id":12631201,"avatar_url":"https://avatars3.githubusercontent.com/u/12631201?v=4","gravatar_id":"","url":"https://api.github.com/users/drsalnikov","html_url":"https://github.com/drsalnikov","followers_url":"https://api.github.com/users/drsalnikov/followers","following_url":"https://api.github.com/users/drsalnikov/following{/other_user}","gists_url":"https://api.github.com/users/drsalnikov/gists{/gist_id}","starred_url":"https://api.github.com/users/drsalnikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drsalnikov/subscriptions","organizations_url":"https://api.github.com/users/drsalnikov/orgs","repos_url":"https://api.github.com/users/drsalnikov/repos","events_url":"https://api.github.com/users/drsalnikov/events{/privacy}","received_events_url":"https://api.github.com/users/drsalnikov/received_events","type":"User","site_admin":false},"assignees":[{"login":"drsalnikov","id":12631201,"avatar_url":"https://avatars3.githubusercontent.com/u/12631201?v=4","gravatar_id":"","url":"https://api.github.com/users/drsalnikov","html_url":"https://github.com/drsalnikov","followers_url":"https://api.github.com/users/drsalnikov/followers","following_url":"https://api.github.com/users/drsalnikov/following{/other_user}","gists_url":"https://api.github.com/users/drsalnikov/gists{/gist_id}","starred_url":"https://api.github.com/users/drsalnikov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/drsalnikov/subscriptions","organizations_url":"https://api.github.com/users/drsalnikov/orgs","repos_url":"https://api.github.com/users/drsalnikov/repos","events_url":"https://api.github.com/users/drsalnikov/events{/privacy}","received_events_url":"https://api.github.com/users/drsalnikov/received_events","type":"User","site_admin":false}],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/pulls/6/commits","review_comments_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/pulls/6/comments","review_comment_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/pulls/comments{/number}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/issues/6/comments","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/statuses/33ddc4e52906fb1ba13ae98de408d2b29d347f42","head":{"label":"Sadchikhina:module4-task1","ref":"module4-task1","sha":"33ddc4e52906fb1ba13ae98de408d2b29d347f42","user":{"login":"Sadchikhina","id":32951953,"avatar_url":"https://avatars2.githubusercontent.com/u/32951953?v=4","gravatar_id":"","url":"https://api.github.com/users/Sadchikhina","html_url":"https://github.com/Sadchikhina","followers_url":"https://api.github.com/users/Sadchikhina/followers","following_url":"https://api.github.com/users/Sadchikhina/following{/other_user}","gists_url":"https://api.github.com/users/Sadchikhina/gists{/gist_id}","starred_url":"https://api.github.com/users/Sadchikhina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sadchikhina/subscriptions","organizations_url":"https://api.github.com/users/Sadchikhina/orgs","repos_url":"https://api.github.com/users/Sadchikhina/repos","events_url":"https://api.github.com/users/Sadchikhina/events{/privacy}","received_events_url":"https://api.github.com/users/Sadchikhina/received_events","type":"User","site_admin":false},"repo":{"id":118653607,"name":"217242-kekstagram","full_name":"Sadchikhina/217242-kekstagram","owner":{"login":"Sadchikhina","id":32951953,"avatar_url":"https://avatars2.githubusercontent.com/u/32951953?v=4","gravatar_id":"","url":"https://api.github.com/users/Sadchikhina","html_url":"https://github.com/Sadchikhina","followers_url":"https://api.github.com/users/Sadchikhina/followers","following_url":"https://api.github.com/users/Sadchikhina/following{/other_user}","gists_url":"https://api.github.com/users/Sadchikhina/gists{/gist_id}","starred_url":"https://api.github.com/users/Sadchikhina/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Sadchikhina/subscriptions","organizations_url":"https://api.github.com/users/Sadchikhina/orgs","repos_url":"https://api.github.com/users/Sadchikhina/repos","events_url":"https://api.github.com/users/Sadchikhina/events{/privacy}","received_events_url":"https://api.github.com/users/Sadchikhina/received_events","type":"User","site_admin":false},"private":false,"html_url":"https://github.com/Sadchikhina/217242-kekstagram","description":"Варя Севостьянова","fork":true,"url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram","forks_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/forks","keys_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/teams","hooks_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/events","assignees_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/tags","blobs_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/languages","stargazers_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/subscription","commits_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/merges","archive_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/downloads","issues_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/Sadchikhina/217242-kekstagram/deployments","created_at":"2018-01-23T18:46:54Z","updated_at":"2018-01-23T18:46:56Z","pushed_at":"2018-02-13T19:16:15Z","git_url":"git://github.com/Sadchikhina/217242-kekstagram.git","ssh_url":"git@github.com:Sadchikhina/217242-kekstagram.git","clone_url":"https://github.com/Sadchikhina/217242-kekstagram.git","svn_url":"https://github.com/Sadchikhina/217242-kekstagram","homepage":null,"size":4348,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":0,"license":null,"forks":0,"open_issues":0,"watchers":0,"default_branch":"master"}},"base":{"label":"htmlacademy-javascript:master","ref":"master","sha":"46f213b63fcc912d1bf063def412b4655f13b52a","user":{"login":"htmlacademy-javascript","id":14179712,"avatar_url":"https://avatars2.githubusercontent.com/u/14179712?v=4","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-javascript","html_url":"https://github.com/htmlacademy-javascript","followers_url":"https://api.github.com/users/htmlacademy-javascript/followers","following_url":"https://api.github.com/users/htmlacademy-javascript/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-javascript/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-javascript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-javascript/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-javascript/orgs","repos_url":"https://api.github.com/users/htmlacademy-javascript/repos","events_url":"https://api.github.com/users/htmlacademy-javascript/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-javascript/received_events","type":"Organization","site_admin":false},"repo":{"id":118652321,"name":"217242-kekstagram","full_name":"htmlacademy-javascript/217242-kekstagram","owner":{"login":"htmlacademy-javascript","id":14179712,"avatar_url":"https://avatars2.githubusercontent.com/u/14179712?v=4","gravatar_id":"","url":"https://api.github.com/users/htmlacademy-javascript","html_url":"https://github.com/htmlacademy-javascript","followers_url":"https://api.github.com/users/htmlacademy-javascript/followers","following_url":"https://api.github.com/users/htmlacademy-javascript/following{/other_user}","gists_url":"https://api.github.com/users/htmlacademy-javascript/gists{/gist_id}","starred_url":"https://api.github.com/users/htmlacademy-javascript/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/htmlacademy-javascript/subscriptions","organizations_url":"https://api.github.com/users/htmlacademy-javascript/orgs","repos_url":"https://api.github.com/users/htmlacademy-javascript/repos","events_url":"https://api.github.com/users/htmlacademy-javascript/events{/privacy}","received_events_url":"https://api.github.com/users/htmlacademy-javascript/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/htmlacademy-javascript/217242-kekstagram","description":"Варя Севостьянова","fork":false,"url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram","forks_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/forks","keys_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/keys{/key_id}","collaborators_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/teams","hooks_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/hooks","issue_events_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/issues/events{/number}","events_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/events","assignees_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/assignees{/user}","branches_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/branches{/branch}","tags_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/tags","blobs_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/git/refs{/sha}","trees_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/git/trees{/sha}","statuses_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/statuses/{sha}","languages_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/languages","stargazers_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/stargazers","contributors_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/contributors","subscribers_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/subscribers","subscription_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/subscription","commits_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/commits{/sha}","git_commits_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/git/commits{/sha}","comments_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/comments{/number}","issue_comment_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/issues/comments{/number}","contents_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/contents/{+path}","compare_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/compare/{base}...{head}","merges_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/merges","archive_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/downloads","issues_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/issues{/number}","pulls_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/pulls{/number}","milestones_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/milestones{/number}","notifications_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/labels{/name}","releases_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/releases{/id}","deployments_url":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/deployments","created_at":"2018-01-23T18:35:41Z","updated_at":"2018-01-23T19:38:51Z","pushed_at":"2018-02-14T07:11:47Z","git_url":"git://github.com/htmlacademy-javascript/217242-kekstagram.git","ssh_url":"git@github.com:htmlacademy-javascript/217242-kekstagram.git","clone_url":"https://github.com/htmlacademy-javascript/217242-kekstagram.git","svn_url":"https://github.com/htmlacademy-javascript/217242-kekstagram","homepage":"https://github.com/Sadchikhina/217242-kekstagram","size":4345,"stargazers_count":0,"watchers_count":0,"language":"CSS","has_issues":false,"has_projects":true,"has_downloads":false,"has_wiki":false,"has_pages":true,"forks_count":1,"mirror_url":null,"archived":false,"open_issues_count":1,"license":null,"forks":1,"open_issues":1,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/pulls/6"},"html":{"href":"https://github.com/htmlacademy-javascript/217242-kekstagram/pull/6"},"issue":{"href":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/issues/6"},"comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/issues/6/comments"},"review_comments":{"href":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/pulls/6/comments"},"review_comment":{"href":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/pulls/6/commits"},"statuses":{"href":"https://api.github.com/repos/htmlacademy-javascript/217242-kekstagram/statuses/33ddc4e52906fb1ba13ae98de408d2b29d347f42"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"drsalnikov"}}