{"action":"created","comment":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/pulls/comments/198972667","pull_request_review_id":133004384,"id":198972667,"node_id":"MDI0OlB1bGxSZXF1ZXN0UmV2aWV3Q29tbWVudDE5ODk3MjY2Nw==","diff_hunk":"@@ -1 +1,6 @@\n-<a href=\"<%= new_image_path %>\"><button type=\"button\">Create Images</button></a>\n+<div><a href=\"<%= new_image_path %>\"><button type=\"button\">Create Images</button></a></div>\n+<div>\n+  <% @images.each do |image| %>\n+    <img class='index-image-width' src=<%= image.url %> width=\"400px\">","path":"app/views/images/index.html.erb","position":5,"original_position":5,"commit_id":"7e2e87d657e12ad47e98a3706e9d1da35ec13eeb","original_commit_id":"7e2e87d657e12ad47e98a3706e9d1da35ec13eeb","user":{"login":"blakeherrington","id":18268801,"node_id":"MDQ6VXNlcjE4MjY4ODAx","avatar_url":"https://avatars3.githubusercontent.com/u/18268801?v=4","gravatar_id":"","url":"https://api.github.com/users/blakeherrington","html_url":"https://github.com/blakeherrington","followers_url":"https://api.github.com/users/blakeherrington/followers","following_url":"https://api.github.com/users/blakeherrington/following{/other_user}","gists_url":"https://api.github.com/users/blakeherrington/gists{/gist_id}","starred_url":"https://api.github.com/users/blakeherrington/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/blakeherrington/subscriptions","organizations_url":"https://api.github.com/users/blakeherrington/orgs","repos_url":"https://api.github.com/users/blakeherrington/repos","events_url":"https://api.github.com/users/blakeherrington/events{/privacy}","received_events_url":"https://api.github.com/users/blakeherrington/received_events","type":"User","site_admin":false},"body":"I think this `width=\"400px\"` will stretch any images smaller than that to be larger. This might distort smaller images. The requirement from the issue implies that no images should be larger than 400px. So we could use a css style to enforce a `max-width` of 400px.","created_at":"2018-06-28T20:20:40Z","updated_at":"2018-06-28T20:20:40Z","html_url":"https://github.com/AppFolioOnboarding/image-sharer-t9cao/pull/15#discussion_r198972667","pull_request_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/pulls/15","author_association":"NONE","_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/pulls/comments/198972667"},"html":{"href":"https://github.com/AppFolioOnboarding/image-sharer-t9cao/pull/15#discussion_r198972667"},"pull_request":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/pulls/15"}}},"pull_request":{"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/pulls/15","id":198140273,"node_id":"MDExOlB1bGxSZXF1ZXN0MTk4MTQwMjcz","html_url":"https://github.com/AppFolioOnboarding/image-sharer-t9cao/pull/15","diff_url":"https://github.com/AppFolioOnboarding/image-sharer-t9cao/pull/15.diff","patch_url":"https://github.com/AppFolioOnboarding/image-sharer-t9cao/pull/15.patch","issue_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/issues/15","number":15,"state":"open","locked":false,"title":"Add support to display all saved images on homepage","user":{"login":"t9cao","id":22488676,"node_id":"MDQ6VXNlcjIyNDg4Njc2","avatar_url":"https://avatars3.githubusercontent.com/u/22488676?v=4","gravatar_id":"","url":"https://api.github.com/users/t9cao","html_url":"https://github.com/t9cao","followers_url":"https://api.github.com/users/t9cao/followers","following_url":"https://api.github.com/users/t9cao/following{/other_user}","gists_url":"https://api.github.com/users/t9cao/gists{/gist_id}","starred_url":"https://api.github.com/users/t9cao/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/t9cao/subscriptions","organizations_url":"https://api.github.com/users/t9cao/orgs","repos_url":"https://api.github.com/users/t9cao/repos","events_url":"https://api.github.com/users/t9cao/events{/privacy}","received_events_url":"https://api.github.com/users/t9cao/received_events","type":"User","site_admin":false},"body":"Closes #3 ","created_at":"2018-06-28T20:13:35Z","updated_at":"2018-06-28T20:20:40Z","closed_at":null,"merged_at":null,"merge_commit_sha":"5cf7a4cc27912f5a5b33772b7ff0af96a882d7eb","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/pulls/15/commits","review_comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/pulls/15/comments","review_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/pulls/comments{/number}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/issues/15/comments","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/statuses/7e2e87d657e12ad47e98a3706e9d1da35ec13eeb","head":{"label":"AppFolioOnboarding:addImageIndex","ref":"addImageIndex","sha":"7e2e87d657e12ad47e98a3706e9d1da35ec13eeb","user":{"login":"AppFolioOnboarding","id":16782391,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NzgyMzkx","avatar_url":"https://avatars1.githubusercontent.com/u/16782391?v=4","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"repo":{"id":138650910,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg2NTA5MTA=","name":"image-sharer-t9cao","full_name":"AppFolioOnboarding/image-sharer-t9cao","owner":{"login":"AppFolioOnboarding","id":16782391,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NzgyMzkx","avatar_url":"https://avatars1.githubusercontent.com/u/16782391?v=4","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AppFolioOnboarding/image-sharer-t9cao","description":"image-sharer-t9cao created by GitHub Classroom","fork":false,"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao","forks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/forks","keys_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/teams","hooks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/hooks","issue_events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/issues/events{/number}","events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/events","assignees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/assignees{/user}","branches_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/branches{/branch}","tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/tags","blobs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/statuses/{sha}","languages_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/languages","stargazers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/stargazers","contributors_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/contributors","subscribers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/subscribers","subscription_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/subscription","commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/contents/{+path}","compare_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/merges","archive_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/downloads","issues_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/issues{/number}","pulls_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/pulls{/number}","milestones_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/milestones{/number}","notifications_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/labels{/name}","releases_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/releases{/id}","deployments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/deployments","created_at":"2018-06-25T21:14:43Z","updated_at":"2018-06-28T00:06:06Z","pushed_at":"2018-06-28T20:13:36Z","git_url":"git://github.com/AppFolioOnboarding/image-sharer-t9cao.git","ssh_url":"git@github.com:AppFolioOnboarding/image-sharer-t9cao.git","clone_url":"https://github.com/AppFolioOnboarding/image-sharer-t9cao.git","svn_url":"https://github.com/AppFolioOnboarding/image-sharer-t9cao","homepage":null,"size":338,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"base":{"label":"AppFolioOnboarding:master","ref":"master","sha":"3c6645959c53a1bad09e1fb40e770961fafd66dc","user":{"login":"AppFolioOnboarding","id":16782391,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NzgyMzkx","avatar_url":"https://avatars1.githubusercontent.com/u/16782391?v=4","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"repo":{"id":138650910,"node_id":"MDEwOlJlcG9zaXRvcnkxMzg2NTA5MTA=","name":"image-sharer-t9cao","full_name":"AppFolioOnboarding/image-sharer-t9cao","owner":{"login":"AppFolioOnboarding","id":16782391,"node_id":"MDEyOk9yZ2FuaXphdGlvbjE2NzgyMzkx","avatar_url":"https://avatars1.githubusercontent.com/u/16782391?v=4","gravatar_id":"","url":"https://api.github.com/users/AppFolioOnboarding","html_url":"https://github.com/AppFolioOnboarding","followers_url":"https://api.github.com/users/AppFolioOnboarding/followers","following_url":"https://api.github.com/users/AppFolioOnboarding/following{/other_user}","gists_url":"https://api.github.com/users/AppFolioOnboarding/gists{/gist_id}","starred_url":"https://api.github.com/users/AppFolioOnboarding/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/AppFolioOnboarding/subscriptions","organizations_url":"https://api.github.com/users/AppFolioOnboarding/orgs","repos_url":"https://api.github.com/users/AppFolioOnboarding/repos","events_url":"https://api.github.com/users/AppFolioOnboarding/events{/privacy}","received_events_url":"https://api.github.com/users/AppFolioOnboarding/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/AppFolioOnboarding/image-sharer-t9cao","description":"image-sharer-t9cao created by GitHub Classroom","fork":false,"url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao","forks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/forks","keys_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/keys{/key_id}","collaborators_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/teams","hooks_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/hooks","issue_events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/issues/events{/number}","events_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/events","assignees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/assignees{/user}","branches_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/branches{/branch}","tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/tags","blobs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/git/refs{/sha}","trees_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/git/trees{/sha}","statuses_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/statuses/{sha}","languages_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/languages","stargazers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/stargazers","contributors_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/contributors","subscribers_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/subscribers","subscription_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/subscription","commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/commits{/sha}","git_commits_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/git/commits{/sha}","comments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/comments{/number}","issue_comment_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/issues/comments{/number}","contents_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/contents/{+path}","compare_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/compare/{base}...{head}","merges_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/merges","archive_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/downloads","issues_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/issues{/number}","pulls_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/pulls{/number}","milestones_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/milestones{/number}","notifications_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/labels{/name}","releases_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/releases{/id}","deployments_url":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/deployments","created_at":"2018-06-25T21:14:43Z","updated_at":"2018-06-28T00:06:06Z","pushed_at":"2018-06-28T20:13:36Z","git_url":"git://github.com/AppFolioOnboarding/image-sharer-t9cao.git","ssh_url":"git@github.com:AppFolioOnboarding/image-sharer-t9cao.git","clone_url":"https://github.com/AppFolioOnboarding/image-sharer-t9cao.git","svn_url":"https://github.com/AppFolioOnboarding/image-sharer-t9cao","homepage":null,"size":338,"stargazers_count":0,"watchers_count":0,"language":"Ruby","has_issues":true,"has_projects":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":0,"mirror_url":null,"archived":false,"open_issues_count":11,"license":null,"forks":0,"open_issues":11,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/pulls/15"},"html":{"href":"https://github.com/AppFolioOnboarding/image-sharer-t9cao/pull/15"},"issue":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/issues/15"},"comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/issues/15/comments"},"review_comments":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/pulls/15/comments"},"review_comment":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/pulls/15/commits"},"statuses":{"href":"https://api.github.com/repos/AppFolioOnboarding/image-sharer-t9cao/statuses/7e2e87d657e12ad47e98a3706e9d1da35ec13eeb"}},"author_association":"COLLABORATOR"}}
{"actor":{"display_login":"blakeherrington"}}