{"action":"created","issue":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/2213","repository_url":"https://api.github.com/repos/WordPress/gutenberg","labels_url":"https://api.github.com/repos/WordPress/gutenberg/issues/2213/labels{/name}","comments_url":"https://api.github.com/repos/WordPress/gutenberg/issues/2213/comments","events_url":"https://api.github.com/repos/WordPress/gutenberg/issues/2213/events","html_url":"https://github.com/WordPress/gutenberg/pull/2213","id":247945712,"number":2213,"title":"Image Block: Adding image resizing handles","user":{"login":"youknowriad","id":272444,"avatar_url":"https://avatars3.githubusercontent.com/u/272444?v=4","gravatar_id":"","url":"https://api.github.com/users/youknowriad","html_url":"https://github.com/youknowriad","followers_url":"https://api.github.com/users/youknowriad/followers","following_url":"https://api.github.com/users/youknowriad/following{/other_user}","gists_url":"https://api.github.com/users/youknowriad/gists{/gist_id}","starred_url":"https://api.github.com/users/youknowriad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youknowriad/subscriptions","organizations_url":"https://api.github.com/users/youknowriad/orgs","repos_url":"https://api.github.com/users/youknowriad/repos","events_url":"https://api.github.com/users/youknowriad/events{/privacy}","received_events_url":"https://api.github.com/users/youknowriad/received_events","type":"User","site_admin":false},"labels":[{"id":570263070,"url":"https://api.github.com/repos/WordPress/gutenberg/labels/Blocks","name":"Blocks","color":"fbca04","default":false},{"id":637003880,"url":"https://api.github.com/repos/WordPress/gutenberg/labels/Media","name":"Media","color":"00aa99","default":false},{"id":541913521,"url":"https://api.github.com/repos/WordPress/gutenberg/labels/Priority%20High","name":"Priority High","color":"e99695","default":false}],"state":"open","locked":false,"assignee":{"login":"youknowriad","id":272444,"avatar_url":"https://avatars3.githubusercontent.com/u/272444?v=4","gravatar_id":"","url":"https://api.github.com/users/youknowriad","html_url":"https://github.com/youknowriad","followers_url":"https://api.github.com/users/youknowriad/followers","following_url":"https://api.github.com/users/youknowriad/following{/other_user}","gists_url":"https://api.github.com/users/youknowriad/gists{/gist_id}","starred_url":"https://api.github.com/users/youknowriad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youknowriad/subscriptions","organizations_url":"https://api.github.com/users/youknowriad/orgs","repos_url":"https://api.github.com/users/youknowriad/repos","events_url":"https://api.github.com/users/youknowriad/events{/privacy}","received_events_url":"https://api.github.com/users/youknowriad/received_events","type":"User","site_admin":false},"assignees":[{"login":"youknowriad","id":272444,"avatar_url":"https://avatars3.githubusercontent.com/u/272444?v=4","gravatar_id":"","url":"https://api.github.com/users/youknowriad","html_url":"https://github.com/youknowriad","followers_url":"https://api.github.com/users/youknowriad/followers","following_url":"https://api.github.com/users/youknowriad/following{/other_user}","gists_url":"https://api.github.com/users/youknowriad/gists{/gist_id}","starred_url":"https://api.github.com/users/youknowriad/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/youknowriad/subscriptions","organizations_url":"https://api.github.com/users/youknowriad/orgs","repos_url":"https://api.github.com/users/youknowriad/repos","events_url":"https://api.github.com/users/youknowriad/events{/privacy}","received_events_url":"https://api.github.com/users/youknowriad/received_events","type":"User","site_admin":false}],"milestone":null,"comments":35,"created_at":"2017-08-04T09:03:47Z","updated_at":"2017-08-09T17:12:43Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/WordPress/gutenberg/pulls/2213","html_url":"https://github.com/WordPress/gutenberg/pull/2213","diff_url":"https://github.com/WordPress/gutenberg/pull/2213.diff","patch_url":"https://github.com/WordPress/gutenberg/pull/2213.patch"},"body":"closes #600 \r\n\r\n**Implementation notes**\r\n\r\n - We need to know the original image width and height before allowing to resize the image, this is done by loading the image before showing it and limiting its width/height to the canvas size (see `ImageSize` component)\r\n\r\n**Testing instructions**\r\n\r\n - Try inserting and resizing an image\r\n\r\n**Questions**\r\n\r\nShould we resize the container (image + caption) or just the image?"},"comment":{"url":"https://api.github.com/repos/WordPress/gutenberg/issues/comments/321320436","html_url":"https://github.com/WordPress/gutenberg/pull/2213#issuecomment-321320436","issue_url":"https://api.github.com/repos/WordPress/gutenberg/issues/2213","id":321320436,"user":{"login":"jasmussen","id":1204802,"avatar_url":"https://avatars3.githubusercontent.com/u/1204802?v=4","gravatar_id":"","url":"https://api.github.com/users/jasmussen","html_url":"https://github.com/jasmussen","followers_url":"https://api.github.com/users/jasmussen/followers","following_url":"https://api.github.com/users/jasmussen/following{/other_user}","gists_url":"https://api.github.com/users/jasmussen/gists{/gist_id}","starred_url":"https://api.github.com/users/jasmussen/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasmussen/subscriptions","organizations_url":"https://api.github.com/users/jasmussen/orgs","repos_url":"https://api.github.com/users/jasmussen/repos","events_url":"https://api.github.com/users/jasmussen/events{/privacy}","received_events_url":"https://api.github.com/users/jasmussen/received_events","type":"User","site_admin":false},"created_at":"2017-08-09T17:12:43Z","updated_at":"2017-08-09T17:12:43Z","body":"Love it, I think it's good to go! \r\n\r\nWe do definitely want ro revisit the max dimensions, but let's do that as part of a larger editor width discussion. I know there's a ticket for this separetely too. As it stands, this PR feels _solid_ 👌 "}}
{"actor":{"display_login":"jasmussen"}}