{"action":"created","issue":{"url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/4477","repository_url":"https://api.github.com/repos/jupyterlab/jupyterlab","labels_url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/4477/labels{/name}","comments_url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/4477/comments","events_url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/4477/events","html_url":"https://github.com/jupyterlab/jupyterlab/issues/4477","id":318478426,"number":4477,"title":"Embed images in extension and Display them in panel?","user":{"login":"echarles","id":226720,"avatar_url":"https://avatars2.githubusercontent.com/u/226720?v=4","gravatar_id":"","url":"https://api.github.com/users/echarles","html_url":"https://github.com/echarles","followers_url":"https://api.github.com/users/echarles/followers","following_url":"https://api.github.com/users/echarles/following{/other_user}","gists_url":"https://api.github.com/users/echarles/gists{/gist_id}","starred_url":"https://api.github.com/users/echarles/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/echarles/subscriptions","organizations_url":"https://api.github.com/users/echarles/orgs","repos_url":"https://api.github.com/users/echarles/repos","events_url":"https://api.github.com/users/echarles/events{/privacy}","received_events_url":"https://api.github.com/users/echarles/received_events","type":"User","site_admin":false},"labels":[{"id":494914072,"url":"https://api.github.com/repos/jupyterlab/jupyterlab/labels/tag:Extensions","name":"tag:Extensions","color":"5319e7","default":false},{"id":387307886,"url":"https://api.github.com/repos/jupyterlab/jupyterlab/labels/type:Question","name":"type:Question","color":"fbca04","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2018-04-27T16:48:34Z","updated_at":"2018-04-28T14:40:10Z","closed_at":"2018-04-27T17:35:35Z","author_association":"NONE","body":"Is there a way to ship images in extension and display them in a panel?\r\n\r\nSo far I haven't found examples or methods to embed images in an extension. What I typically see developers loading images loaded from a public URL on the Internet.\r\n"},"comment":{"url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/comments/385180864","html_url":"https://github.com/jupyterlab/jupyterlab/issues/4477#issuecomment-385180864","issue_url":"https://api.github.com/repos/jupyterlab/jupyterlab/issues/4477","id":385180864,"user":{"login":"jasongrout","id":192614,"avatar_url":"https://avatars0.githubusercontent.com/u/192614?v=4","gravatar_id":"","url":"https://api.github.com/users/jasongrout","html_url":"https://github.com/jasongrout","followers_url":"https://api.github.com/users/jasongrout/followers","following_url":"https://api.github.com/users/jasongrout/following{/other_user}","gists_url":"https://api.github.com/users/jasongrout/gists{/gist_id}","starred_url":"https://api.github.com/users/jasongrout/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/jasongrout/subscriptions","organizations_url":"https://api.github.com/users/jasongrout/orgs","repos_url":"https://api.github.com/users/jasongrout/repos","events_url":"https://api.github.com/users/jasongrout/events{/privacy}","received_events_url":"https://api.github.com/users/jasongrout/received_events","type":"User","site_admin":false},"created_at":"2018-04-28T14:40:10Z","updated_at":"2018-04-28T14:40:10Z","author_association":"CONTRIBUTOR","body":"Or perhaps:\r\n\r\n```javascript\r\nimport src from \"./myimage.png\";\r\nlet img = document.createElement('img');\r\nimg.src = src;\r\n```"}}
{"actor":{"display_login":"jasongrout"}}