{"action":"created","comment":{"url":"https://api.github.com/repos/fusioneng/Shortcake/pulls/comments/24503511","id":24503511,"diff_hunk":"@@ -128,3 +132,68 @@\n \n }\n \n+\n+.edit-shortcode-form .shortcake-attachment-preview {\n+\n+\twidth: 150px !important;\n+\theight: 150px !important;","path":"css/sass/shortcode-ui.scss","position":28,"original_position":28,"commit_id":"d8a3a9a2af17bfdb360c6be11a0b1ee64cbc498e","original_commit_id":"d8a3a9a2af17bfdb360c6be11a0b1ee64cbc498e","user":{"login":"danielbachhuber","id":36432,"avatar_url":"https://avatars.githubusercontent.com/u/36432?v=3","gravatar_id":"","url":"https://api.github.com/users/danielbachhuber","html_url":"https://github.com/danielbachhuber","followers_url":"https://api.github.com/users/danielbachhuber/followers","following_url":"https://api.github.com/users/danielbachhuber/following{/other_user}","gists_url":"https://api.github.com/users/danielbachhuber/gists{/gist_id}","starred_url":"https://api.github.com/users/danielbachhuber/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielbachhuber/subscriptions","organizations_url":"https://api.github.com/users/danielbachhuber/orgs","repos_url":"https://api.github.com/users/danielbachhuber/repos","events_url":"https://api.github.com/users/danielbachhuber/events{/privacy}","received_events_url":"https://api.github.com/users/danielbachhuber/received_events","type":"User","site_admin":false},"body":"Why do we need these `!important`?","created_at":"2015-02-11T15:33:47Z","updated_at":"2015-02-11T15:33:47Z","html_url":"https://github.com/fusioneng/Shortcake/pull/146#discussion_r24503511","pull_request_url":"https://api.github.com/repos/fusioneng/Shortcake/pulls/146","_links":{"self":{"href":"https://api.github.com/repos/fusioneng/Shortcake/pulls/comments/24503511"},"html":{"href":"https://github.com/fusioneng/Shortcake/pull/146#discussion_r24503511"},"pull_request":{"href":"https://api.github.com/repos/fusioneng/Shortcake/pulls/146"}}},"pull_request":{"url":"https://api.github.com/repos/fusioneng/Shortcake/pulls/146","id":29097521,"html_url":"https://github.com/fusioneng/Shortcake/pull/146","diff_url":"https://github.com/fusioneng/Shortcake/pull/146.diff","patch_url":"https://github.com/fusioneng/Shortcake/pull/146.patch","issue_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/146","number":146,"state":"open","locked":false,"title":"Image/Attachment field","user":{"login":"mattheu","id":494927,"avatar_url":"https://avatars.githubusercontent.com/u/494927?v=3","gravatar_id":"","url":"https://api.github.com/users/mattheu","html_url":"https://github.com/mattheu","followers_url":"https://api.github.com/users/mattheu/followers","following_url":"https://api.github.com/users/mattheu/following{/other_user}","gists_url":"https://api.github.com/users/mattheu/gists{/gist_id}","starred_url":"https://api.github.com/users/mattheu/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mattheu/subscriptions","organizations_url":"https://api.github.com/users/mattheu/orgs","repos_url":"https://api.github.com/users/mattheu/repos","events_url":"https://api.github.com/users/mattheu/events{/privacy}","received_events_url":"https://api.github.com/users/mattheu/received_events","type":"User","site_admin":false},"body":"I've had a few requests for an image field that doesn't require the whole of fieldmanager for those who don't use it.\r\n\r\n@todo Should handle restricting library by file type","created_at":"2015-02-11T15:04:26Z","updated_at":"2015-02-11T15:33:47Z","closed_at":null,"merged_at":null,"merge_commit_sha":"43f842209a96265361e482187a823a54300699b0","assignee":null,"milestone":null,"commits_url":"https://api.github.com/repos/fusioneng/Shortcake/pulls/146/commits","review_comments_url":"https://api.github.com/repos/fusioneng/Shortcake/pulls/146/comments","review_comment_url":"https://api.github.com/repos/fusioneng/Shortcake/pulls/comments/{number}","comments_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/146/comments","statuses_url":"https://api.github.com/repos/fusioneng/Shortcake/statuses/d8a3a9a2af17bfdb360c6be11a0b1ee64cbc498e","head":{"label":"fusioneng:image-field","ref":"image-field","sha":"d8a3a9a2af17bfdb360c6be11a0b1ee64cbc498e","user":{"login":"fusioneng","id":8161069,"avatar_url":"https://avatars.githubusercontent.com/u/8161069?v=3","gravatar_id":"","url":"https://api.github.com/users/fusioneng","html_url":"https://github.com/fusioneng","followers_url":"https://api.github.com/users/fusioneng/followers","following_url":"https://api.github.com/users/fusioneng/following{/other_user}","gists_url":"https://api.github.com/users/fusioneng/gists{/gist_id}","starred_url":"https://api.github.com/users/fusioneng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusioneng/subscriptions","organizations_url":"https://api.github.com/users/fusioneng/orgs","repos_url":"https://api.github.com/users/fusioneng/repos","events_url":"https://api.github.com/users/fusioneng/events{/privacy}","received_events_url":"https://api.github.com/users/fusioneng/received_events","type":"Organization","site_admin":false},"repo":{"id":25159454,"name":"Shortcake","full_name":"fusioneng/Shortcake","owner":{"login":"fusioneng","id":8161069,"avatar_url":"https://avatars.githubusercontent.com/u/8161069?v=3","gravatar_id":"","url":"https://api.github.com/users/fusioneng","html_url":"https://github.com/fusioneng","followers_url":"https://api.github.com/users/fusioneng/followers","following_url":"https://api.github.com/users/fusioneng/following{/other_user}","gists_url":"https://api.github.com/users/fusioneng/gists{/gist_id}","starred_url":"https://api.github.com/users/fusioneng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusioneng/subscriptions","organizations_url":"https://api.github.com/users/fusioneng/orgs","repos_url":"https://api.github.com/users/fusioneng/repos","events_url":"https://api.github.com/users/fusioneng/events{/privacy}","received_events_url":"https://api.github.com/users/fusioneng/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fusioneng/Shortcake","description":"Shortcake makes using WordPress shortcodes a piece of cake.","fork":false,"url":"https://api.github.com/repos/fusioneng/Shortcake","forks_url":"https://api.github.com/repos/fusioneng/Shortcake/forks","keys_url":"https://api.github.com/repos/fusioneng/Shortcake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fusioneng/Shortcake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fusioneng/Shortcake/teams","hooks_url":"https://api.github.com/repos/fusioneng/Shortcake/hooks","issue_events_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/events{/number}","events_url":"https://api.github.com/repos/fusioneng/Shortcake/events","assignees_url":"https://api.github.com/repos/fusioneng/Shortcake/assignees{/user}","branches_url":"https://api.github.com/repos/fusioneng/Shortcake/branches{/branch}","tags_url":"https://api.github.com/repos/fusioneng/Shortcake/tags","blobs_url":"https://api.github.com/repos/fusioneng/Shortcake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fusioneng/Shortcake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fusioneng/Shortcake/git/refs{/sha}","trees_url":"https://api.github.com/repos/fusioneng/Shortcake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fusioneng/Shortcake/statuses/{sha}","languages_url":"https://api.github.com/repos/fusioneng/Shortcake/languages","stargazers_url":"https://api.github.com/repos/fusioneng/Shortcake/stargazers","contributors_url":"https://api.github.com/repos/fusioneng/Shortcake/contributors","subscribers_url":"https://api.github.com/repos/fusioneng/Shortcake/subscribers","subscription_url":"https://api.github.com/repos/fusioneng/Shortcake/subscription","commits_url":"https://api.github.com/repos/fusioneng/Shortcake/commits{/sha}","git_commits_url":"https://api.github.com/repos/fusioneng/Shortcake/git/commits{/sha}","comments_url":"https://api.github.com/repos/fusioneng/Shortcake/comments{/number}","issue_comment_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/comments/{number}","contents_url":"https://api.github.com/repos/fusioneng/Shortcake/contents/{+path}","compare_url":"https://api.github.com/repos/fusioneng/Shortcake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fusioneng/Shortcake/merges","archive_url":"https://api.github.com/repos/fusioneng/Shortcake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fusioneng/Shortcake/downloads","issues_url":"https://api.github.com/repos/fusioneng/Shortcake/issues{/number}","pulls_url":"https://api.github.com/repos/fusioneng/Shortcake/pulls{/number}","milestones_url":"https://api.github.com/repos/fusioneng/Shortcake/milestones{/number}","notifications_url":"https://api.github.com/repos/fusioneng/Shortcake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fusioneng/Shortcake/labels{/name}","releases_url":"https://api.github.com/repos/fusioneng/Shortcake/releases{/id}","created_at":"2014-10-13T13:21:15Z","updated_at":"2015-02-11T15:04:38Z","pushed_at":"2015-02-11T15:06:52Z","git_url":"git://github.com/fusioneng/Shortcake.git","ssh_url":"git@github.com:fusioneng/Shortcake.git","clone_url":"https://github.com/fusioneng/Shortcake.git","svn_url":"https://github.com/fusioneng/Shortcake","homepage":"http://next.fusion.net","size":1421,"stargazers_count":259,"watchers_count":259,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":48,"forks":18,"open_issues":48,"watchers":259,"default_branch":"master"}},"base":{"label":"fusioneng:master","ref":"master","sha":"fe584671499f524168064d3cda8a074308919520","user":{"login":"fusioneng","id":8161069,"avatar_url":"https://avatars.githubusercontent.com/u/8161069?v=3","gravatar_id":"","url":"https://api.github.com/users/fusioneng","html_url":"https://github.com/fusioneng","followers_url":"https://api.github.com/users/fusioneng/followers","following_url":"https://api.github.com/users/fusioneng/following{/other_user}","gists_url":"https://api.github.com/users/fusioneng/gists{/gist_id}","starred_url":"https://api.github.com/users/fusioneng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusioneng/subscriptions","organizations_url":"https://api.github.com/users/fusioneng/orgs","repos_url":"https://api.github.com/users/fusioneng/repos","events_url":"https://api.github.com/users/fusioneng/events{/privacy}","received_events_url":"https://api.github.com/users/fusioneng/received_events","type":"Organization","site_admin":false},"repo":{"id":25159454,"name":"Shortcake","full_name":"fusioneng/Shortcake","owner":{"login":"fusioneng","id":8161069,"avatar_url":"https://avatars.githubusercontent.com/u/8161069?v=3","gravatar_id":"","url":"https://api.github.com/users/fusioneng","html_url":"https://github.com/fusioneng","followers_url":"https://api.github.com/users/fusioneng/followers","following_url":"https://api.github.com/users/fusioneng/following{/other_user}","gists_url":"https://api.github.com/users/fusioneng/gists{/gist_id}","starred_url":"https://api.github.com/users/fusioneng/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/fusioneng/subscriptions","organizations_url":"https://api.github.com/users/fusioneng/orgs","repos_url":"https://api.github.com/users/fusioneng/repos","events_url":"https://api.github.com/users/fusioneng/events{/privacy}","received_events_url":"https://api.github.com/users/fusioneng/received_events","type":"Organization","site_admin":false},"private":false,"html_url":"https://github.com/fusioneng/Shortcake","description":"Shortcake makes using WordPress shortcodes a piece of cake.","fork":false,"url":"https://api.github.com/repos/fusioneng/Shortcake","forks_url":"https://api.github.com/repos/fusioneng/Shortcake/forks","keys_url":"https://api.github.com/repos/fusioneng/Shortcake/keys{/key_id}","collaborators_url":"https://api.github.com/repos/fusioneng/Shortcake/collaborators{/collaborator}","teams_url":"https://api.github.com/repos/fusioneng/Shortcake/teams","hooks_url":"https://api.github.com/repos/fusioneng/Shortcake/hooks","issue_events_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/events{/number}","events_url":"https://api.github.com/repos/fusioneng/Shortcake/events","assignees_url":"https://api.github.com/repos/fusioneng/Shortcake/assignees{/user}","branches_url":"https://api.github.com/repos/fusioneng/Shortcake/branches{/branch}","tags_url":"https://api.github.com/repos/fusioneng/Shortcake/tags","blobs_url":"https://api.github.com/repos/fusioneng/Shortcake/git/blobs{/sha}","git_tags_url":"https://api.github.com/repos/fusioneng/Shortcake/git/tags{/sha}","git_refs_url":"https://api.github.com/repos/fusioneng/Shortcake/git/refs{/sha}","trees_url":"https://api.github.com/repos/fusioneng/Shortcake/git/trees{/sha}","statuses_url":"https://api.github.com/repos/fusioneng/Shortcake/statuses/{sha}","languages_url":"https://api.github.com/repos/fusioneng/Shortcake/languages","stargazers_url":"https://api.github.com/repos/fusioneng/Shortcake/stargazers","contributors_url":"https://api.github.com/repos/fusioneng/Shortcake/contributors","subscribers_url":"https://api.github.com/repos/fusioneng/Shortcake/subscribers","subscription_url":"https://api.github.com/repos/fusioneng/Shortcake/subscription","commits_url":"https://api.github.com/repos/fusioneng/Shortcake/commits{/sha}","git_commits_url":"https://api.github.com/repos/fusioneng/Shortcake/git/commits{/sha}","comments_url":"https://api.github.com/repos/fusioneng/Shortcake/comments{/number}","issue_comment_url":"https://api.github.com/repos/fusioneng/Shortcake/issues/comments/{number}","contents_url":"https://api.github.com/repos/fusioneng/Shortcake/contents/{+path}","compare_url":"https://api.github.com/repos/fusioneng/Shortcake/compare/{base}...{head}","merges_url":"https://api.github.com/repos/fusioneng/Shortcake/merges","archive_url":"https://api.github.com/repos/fusioneng/Shortcake/{archive_format}{/ref}","downloads_url":"https://api.github.com/repos/fusioneng/Shortcake/downloads","issues_url":"https://api.github.com/repos/fusioneng/Shortcake/issues{/number}","pulls_url":"https://api.github.com/repos/fusioneng/Shortcake/pulls{/number}","milestones_url":"https://api.github.com/repos/fusioneng/Shortcake/milestones{/number}","notifications_url":"https://api.github.com/repos/fusioneng/Shortcake/notifications{?since,all,participating}","labels_url":"https://api.github.com/repos/fusioneng/Shortcake/labels{/name}","releases_url":"https://api.github.com/repos/fusioneng/Shortcake/releases{/id}","created_at":"2014-10-13T13:21:15Z","updated_at":"2015-02-11T15:04:38Z","pushed_at":"2015-02-11T15:06:52Z","git_url":"git://github.com/fusioneng/Shortcake.git","ssh_url":"git@github.com:fusioneng/Shortcake.git","clone_url":"https://github.com/fusioneng/Shortcake.git","svn_url":"https://github.com/fusioneng/Shortcake","homepage":"http://next.fusion.net","size":1421,"stargazers_count":259,"watchers_count":259,"language":"JavaScript","has_issues":true,"has_downloads":true,"has_wiki":true,"has_pages":false,"forks_count":18,"mirror_url":null,"open_issues_count":48,"forks":18,"open_issues":48,"watchers":259,"default_branch":"master"}},"_links":{"self":{"href":"https://api.github.com/repos/fusioneng/Shortcake/pulls/146"},"html":{"href":"https://github.com/fusioneng/Shortcake/pull/146"},"issue":{"href":"https://api.github.com/repos/fusioneng/Shortcake/issues/146"},"comments":{"href":"https://api.github.com/repos/fusioneng/Shortcake/issues/146/comments"},"review_comments":{"href":"https://api.github.com/repos/fusioneng/Shortcake/pulls/146/comments"},"review_comment":{"href":"https://api.github.com/repos/fusioneng/Shortcake/pulls/comments/{number}"},"commits":{"href":"https://api.github.com/repos/fusioneng/Shortcake/pulls/146/commits"},"statuses":{"href":"https://api.github.com/repos/fusioneng/Shortcake/statuses/d8a3a9a2af17bfdb360c6be11a0b1ee64cbc498e"}}}}