{"action":"created","issue":{"url":"https://api.github.com/repos/GetmeUK/ContentTools/issues/313","repository_url":"https://api.github.com/repos/GetmeUK/ContentTools","labels_url":"https://api.github.com/repos/GetmeUK/ContentTools/issues/313/labels{/name}","comments_url":"https://api.github.com/repos/GetmeUK/ContentTools/issues/313/comments","events_url":"https://api.github.com/repos/GetmeUK/ContentTools/issues/313/events","html_url":"https://github.com/GetmeUK/ContentTools/issues/313","id":178034823,"number":313,"title":"Image scale is incorrect for large image if it is loaded directly","user":{"login":"Hoiy","id":4758788,"avatar_url":"https://avatars.githubusercontent.com/u/4758788?v=3","gravatar_id":"","url":"https://api.github.com/users/Hoiy","html_url":"https://github.com/Hoiy","followers_url":"https://api.github.com/users/Hoiy/followers","following_url":"https://api.github.com/users/Hoiy/following{/other_user}","gists_url":"https://api.github.com/users/Hoiy/gists{/gist_id}","starred_url":"https://api.github.com/users/Hoiy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Hoiy/subscriptions","organizations_url":"https://api.github.com/users/Hoiy/orgs","repos_url":"https://api.github.com/users/Hoiy/repos","events_url":"https://api.github.com/users/Hoiy/events{/privacy}","received_events_url":"https://api.github.com/users/Hoiy/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/GetmeUK/ContentTools/labels/invalid","name":"invalid","color":"e6e6e6"}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-09-20T11:31:15Z","updated_at":"2016-09-20T12:15:04Z","closed_at":"2016-09-20T12:15:04Z","body":"1. Visit demo page http://getcontenttools.com/demo\r\n2. Insert an image tag to editable content in preview mode, for example `<img src=\"http://jeffpicard.com/blog/wp-content/gallery/widescreen-wallpaper-full-size/yellowleaves.jpg\">`, this image has size 1900x1200.\r\n3. Enter edit mode and then exit edit mode, it is found that width=\"1900\" and height=\"488\" is added to the output img tag.\r\n4. Furthermore, if you try to resize the image in edit mode, part of the image is trimmed.\r\n\r\n![screen shot 2016-09-20 at 7 30 13 pm](https://cloud.githubusercontent.com/assets/4758788/18668555/b99b650c-7f68-11e6-8063-22a3ab69619f.png)\r\n"},"comment":{"url":"https://api.github.com/repos/GetmeUK/ContentTools/issues/comments/248283858","html_url":"https://github.com/GetmeUK/ContentTools/issues/313#issuecomment-248283858","issue_url":"https://api.github.com/repos/GetmeUK/ContentTools/issues/313","id":248283858,"user":{"login":"anthonyjb","id":3046287,"avatar_url":"https://avatars.githubusercontent.com/u/3046287?v=3","gravatar_id":"","url":"https://api.github.com/users/anthonyjb","html_url":"https://github.com/anthonyjb","followers_url":"https://api.github.com/users/anthonyjb/followers","following_url":"https://api.github.com/users/anthonyjb/following{/other_user}","gists_url":"https://api.github.com/users/anthonyjb/gists{/gist_id}","starred_url":"https://api.github.com/users/anthonyjb/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/anthonyjb/subscriptions","organizations_url":"https://api.github.com/users/anthonyjb/orgs","repos_url":"https://api.github.com/users/anthonyjb/repos","events_url":"https://api.github.com/users/anthonyjb/events{/privacy}","received_events_url":"https://api.github.com/users/anthonyjb/received_events","type":"User","site_admin":false},"created_at":"2016-09-20T12:15:04Z","updated_at":"2016-09-20T12:15:04Z","body":"Hi @Hoiy, I believe this is simply the CSS on the demo website which limits images to 780px in width, it's not a limitation of ContentTools but the design I put in place."}}
{"actor":{"display_login":"anthonyjb"}}