{"action":"created","comment":{"url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/pulls/comments/184383611","pull_request_review_id":115567902,"id":184383611,"diff_hunk":"@@ -0,0 +1,106 @@\n+---\n+title: Custom Images\n+permalink: /reference/custom-attributes/custom-images\n+---\n+\n+Custom images are used to add one or many images to Profile, Order, Customization or Transactable.\n+\n+\n+## Defining\n+\n+You can enable CustomImages by adding a CustomAttribute with `attribute_type` set to `photo` for example:\n+\n+```yml\n+- name: avatar\n+  attribute_type: photo\n+```\n+\n+## Version defaults","path":"pages/reference/custom_attributes/custom-image.md","position":17,"original_position":18,"commit_id":"02b4928569230094ecf2093832b98822518cac5a","original_commit_id":"c580bbe30ebc621d04b052c3e443308c84e2d36a","user":{"login":"pavelloz","id":546845,"avatar_url":"https://avatars1.githubusercontent.com/u/546845?v=4","gravatar_id":"","url":"https://api.github.com/users/pavelloz","html_url":"https://github.com/pavelloz","followers_url":"https://api.github.com/users/pavelloz/followers","following_url":"https://api.github.com/users/pavelloz/following{/other_user}","gists_url":"https://api.github.com/users/pavelloz/gists{/gist_id}","starred_url":"https://api.github.com/users/pavelloz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/pavelloz/subscriptions","organizations_url":"https://api.github.com/users/pavelloz/orgs","repos_url":"https://api.github.com/users/pavelloz/repos","events_url":"https://api.github.com/users/pavelloz/events{/privacy}","received_events_url":"https://api.github.com/users/pavelloz/received_events","type":"User","site_admin":false},"body":"We agreed to not provide any \"resize to fill\" and other weird transformations on the backend. I understand resize, but not those cropping/moving/deciding whats important thingies that we do with minimagick that are causing more problems than solving.","created_at":"2018-04-26T13:14:11Z","updated_at":"2018-04-26T13:14:11Z","html_url":"https://github.com/mdyd-dev/nearme-documentation/pull/106#discussion_r184383611","pull_request_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/pulls/106","author_association":"COLLABORATOR","_links":{"self":{"href":"https://api.github.com/repos/mdyd-dev/nearme-documentation/pulls/comments/184383611"},"html":{"href":"https://github.com/mdyd-dev/nearme-documentation/pull/106#discussion_r184383611"},"pull_request":{"href":"https://api.github.com/repos/mdyd-dev/nearme-documentation/pulls/106"}},"in_reply_to_id":183805934},"pull_request":{"url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/pulls/106","id":183751202,"html_url":"https://github.com/mdyd-dev/nearme-documentation/pull/106","diff_url":"https://github.com/mdyd-dev/nearme-documentation/pull/106.diff","patch_url":"https://github.com/mdyd-dev/nearme-documentation/pull/106.patch","issue_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/issues/106","number":106,"state":"open","locked":false,"title":"Custom attributes","user":{"login":"lemingos","id":95296,"avatar_url":"https://avatars0.githubusercontent.com/u/95296?v=4","gravatar_id":"","url":"https://api.github.com/users/lemingos","html_url":"https://github.com/lemingos","followers_url":"https://api.github.com/users/lemingos/followers","following_url":"https://api.github.com/users/lemingos/following{/other_user}","gists_url":"https://api.github.com/users/lemingos/gists{/gist_id}","starred_url":"https://api.github.com/users/lemingos/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lemingos/subscriptions","organizations_url":"https://api.github.com/users/lemingos/orgs","repos_url":"https://api.github.com/users/lemingos/repos","events_url":"https://api.github.com/users/lemingos/events{/privacy}","received_events_url":"https://api.github.com/users/lemingos/received_events","type":"User","site_admin":false},"body":"","created_at":"2018-04-24T14:14:25Z","updated_at":"2018-04-26T13:14:11Z","closed_at":null,"merged_at":null,"merge_commit_sha":"9ce5e838e0bb6cca97bf9790927663b4f0ed52af","assignee":null,"assignees":[],"requested_reviewers":[],"requested_teams":[],"labels":[],"milestone":null,"commits_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/pulls/106/commits","review_comments_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/pulls/106/comments","review_comment_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/pulls/comments{/number}","comments_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/issues/106/comments","statuses_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/statuses/02b4928569230094ecf2093832b98822518cac5a","head":{"label":"mdyd-dev:custom-attributes","ref":"custom-attributes","sha":"02b4928569230094ecf2093832b98822518cac5a","user":{"login":"mdyd-dev","id":1442324,"avatar_url":"https://avatars2.githubusercontent.com/u/1442324?v=4","gravatar_id":"","url":"https://api.github.com/users/mdyd-dev","html_url":"https://github.com/mdyd-dev","followers_url":"https://api.github.com/users/mdyd-dev/followers","following_url":"https://api.github.com/users/mdyd-dev/following{/other_user}","gists_url":"https://api.github.com/users/mdyd-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/mdyd-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdyd-dev/subscriptions","organizations_url":"https://api.github.com/users/mdyd-dev/orgs","repos_url":"https://api.github.com/users/mdyd-dev/repos","events_url":"https://api.github.com/users/mdyd-dev/events{/privacy}","received_events_url":"https://api.github.com/users/mdyd-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":93506050,"name":"nearme-documentation","full_name":"mdyd-dev/nearme-documentation","owner":{"login":"mdyd-dev","id":1442324,"avatar_url":"https://avatars2.githubusercontent.com/u/1442324?v=4","gravatar_id":"","url":"https://api.github.com/users/mdyd-dev","html_url":"https://github.com/mdyd-dev","followers_url":"https://api.github.com/users/mdyd-dev/followers","following_url":"https://api.github.com/users/mdyd-dev/following{/other_user}","gists_url":"https://api.github.com/users/mdyd-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/mdyd-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdyd-dev/subscriptions","organizations_url":"https://api.github.com/users/mdyd-dev/orgs","repos_url":"https://api.github.com/users/mdyd-dev/repos","events_url":"https://api.github.com/users/mdyd-dev/events{/privacy}","received_events_url":"https://api.github.com/users/mdyd-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mdyd-dev/nearme-documentation","description":null,"fork":false,"url":"https://api.github.com/repos/mdyd-dev/nearme-documentation","forks_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/forks","keys_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/teams","hooks_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/hooks","issue_events_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/issues/events{/number}","events_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/events","assignees_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/assignees{/user}","branches_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/branches{/branch}","tags_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/tags","blobs_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/languages","stargazers_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/stargazers","contributors_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/contributors","subscribers_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/subscribers","subscription_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/subscription","commits_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/contents/{+path}","compare_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/merges","archive_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/downloads","issues_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/issues{/number}","pulls_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/labels{/name}","releases_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/releases{/id}","deployments_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/deployments","created_at":"2017-06-06T10:27:24Z","updated_at":"2018-04-25T10:36:12Z","pushed_at":"2018-04-26T12:18:26Z","git_url":"git://github.com/mdyd-dev/nearme-documentation.git","ssh_url":"git@github.com:mdyd-dev/nearme-documentation.git","clone_url":"https://github.com/mdyd-dev/nearme-documentation.git","svn_url":"https://github.com/mdyd-dev/nearme-documentation","homepage":"","size":217343,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":2,"open_issues":4,"watchers":0,"default_branch":"master"}},"base":{"label":"mdyd-dev:master","ref":"master","sha":"4c33f974c2821b1fb5409469e7d779c75df6463e","user":{"login":"mdyd-dev","id":1442324,"avatar_url":"https://avatars2.githubusercontent.com/u/1442324?v=4","gravatar_id":"","url":"https://api.github.com/users/mdyd-dev","html_url":"https://github.com/mdyd-dev","followers_url":"https://api.github.com/users/mdyd-dev/followers","following_url":"https://api.github.com/users/mdyd-dev/following{/other_user}","gists_url":"https://api.github.com/users/mdyd-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/mdyd-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdyd-dev/subscriptions","organizations_url":"https://api.github.com/users/mdyd-dev/orgs","repos_url":"https://api.github.com/users/mdyd-dev/repos","events_url":"https://api.github.com/users/mdyd-dev/events{/privacy}","received_events_url":"https://api.github.com/users/mdyd-dev/received_events","type":"Organization","site_admin":false},"repo":{"id":93506050,"name":"nearme-documentation","full_name":"mdyd-dev/nearme-documentation","owner":{"login":"mdyd-dev","id":1442324,"avatar_url":"https://avatars2.githubusercontent.com/u/1442324?v=4","gravatar_id":"","url":"https://api.github.com/users/mdyd-dev","html_url":"https://github.com/mdyd-dev","followers_url":"https://api.github.com/users/mdyd-dev/followers","following_url":"https://api.github.com/users/mdyd-dev/following{/other_user}","gists_url":"https://api.github.com/users/mdyd-dev/gists{/gist_id}","starred_url":"https://api.github.com/users/mdyd-dev/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdyd-dev/subscriptions","organizations_url":"https://api.github.com/users/mdyd-dev/orgs","repos_url":"https://api.github.com/users/mdyd-dev/repos","events_url":"https://api.github.com/users/mdyd-dev/events{/privacy}","received_events_url":"https://api.github.com/users/mdyd-dev/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/mdyd-dev/nearme-documentation","description":null,"fork":false,"url":"https://api.github.com/repos/mdyd-dev/nearme-documentation","forks_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/forks","keys_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/keys{/key_id}","collaborators_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/teams","hooks_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/hooks","issue_events_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/issues/events{/number}","events_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/events","assignees_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/assignees{/user}","branches_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/branches{/branch}","tags_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/tags","blobs_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/git/refs{/sha}","trees_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/git/trees{/sha}","statuses_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/statuses/{sha}","languages_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/languages","stargazers_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/stargazers","contributors_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/contributors","subscribers_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/subscribers","subscription_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/subscription","commits_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/commits{/sha}","git_commits_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/git/commits{/sha}","comments_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/comments{/number}","issue_comment_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/issues/comments{/number}","contents_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/contents/{+path}","compare_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/compare/{base}...{head}","merges_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/merges","archive_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/downloads","issues_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/issues{/number}","pulls_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/pulls{/number}","milestones_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/milestones{/number}","notifications_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/labels{/name}","releases_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/releases{/id}","deployments_url":"https://api.github.com/repos/mdyd-dev/nearme-documentation/deployments","created_at":"2017-06-06T10:27:24Z","updated_at":"2018-04-25T10:36:12Z","pushed_at":"2018-04-26T12:18:26Z","git_url":"git://github.com/mdyd-dev/nearme-documentation.git","ssh_url":"git@github.com:mdyd-dev/nearme-documentation.git","clone_url":"https://github.com/mdyd-dev/nearme-documentation.git","svn_url":"https://github.com/mdyd-dev/nearme-documentation","homepage":"","size":217343,"stargazers_count":0,"watchers_count":0,"language":"HTML","has_issues":true,"has_projects":false,"has_downloads":true,"has_wiki":false,"has_pages":true,"forks_count":2,"mirror_url":null,"archived":false,"open_issues_count":4,"license":null,"forks":2,"open_issues":4,"watchers":0,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/mdyd-dev/nearme-documentation/pulls/106"},"html":{"href":"https://github.com/mdyd-dev/nearme-documentation/pull/106"},"issue":{"href":"https://api.github.com/repos/mdyd-dev/nearme-documentation/issues/106"},"comments":{"href":"https://api.github.com/repos/mdyd-dev/nearme-documentation/issues/106/comments"},"review_comments":{"href":"https://api.github.com/repos/mdyd-dev/nearme-documentation/pulls/106/comments"},"review_comment":{"href":"https://api.github.com/repos/mdyd-dev/nearme-documentation/pulls/comments{/number}"},"commits":{"href":"https://api.github.com/repos/mdyd-dev/nearme-documentation/pulls/106/commits"},"statuses":{"href":"https://api.github.com/repos/mdyd-dev/nearme-documentation/statuses/02b4928569230094ecf2093832b98822518cac5a"}},"author_association":"CONTRIBUTOR"}}
{"actor":{"display_login":"pavelloz"}}