{"action":"created","issue":{"url":"https://api.github.com/repos/matryer/bitbar/issues/346","repository_url":"https://api.github.com/repos/matryer/bitbar","labels_url":"https://api.github.com/repos/matryer/bitbar/issues/346/labels{/name}","comments_url":"https://api.github.com/repos/matryer/bitbar/issues/346/comments","events_url":"https://api.github.com/repos/matryer/bitbar/issues/346/events","html_url":"https://github.com/matryer/bitbar/issues/346","id":161913296,"number":346,"title":"Image not rendering","user":{"login":"seripap","id":683200,"avatar_url":"https://avatars.githubusercontent.com/u/683200?v=3","gravatar_id":"","url":"https://api.github.com/users/seripap","html_url":"https://github.com/seripap","followers_url":"https://api.github.com/users/seripap/followers","following_url":"https://api.github.com/users/seripap/following{/other_user}","gists_url":"https://api.github.com/users/seripap/gists{/gist_id}","starred_url":"https://api.github.com/users/seripap/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/seripap/subscriptions","organizations_url":"https://api.github.com/users/seripap/orgs","repos_url":"https://api.github.com/users/seripap/repos","events_url":"https://api.github.com/users/seripap/events{/privacy}","received_events_url":"https://api.github.com/users/seripap/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":4,"created_at":"2016-06-23T12:42:54Z","updated_at":"2016-07-01T14:30:13Z","closed_at":null,"body":"I updated [Weather plugin](https://github.com/matryer/bitbar-plugins/blob/master/Weather/ForecastIO/weather.15m.py) to support forecast images and i'm getting strange behavior with image rendering.\r\n\r\nAt [line 200](https://github.com/matryer/bitbar-plugins/blob/master/Weather/ForecastIO/weather.15m.py#L200), I specify an href and image. This is the only way I could get the image to render. Without **href=**, the image shows up blank\r\n\r\n```\r\nprint '| image=' + weather_data['image']['encoded'] \r\n```\r\n![screenshot 2016-06-23 08 40 01](https://cloud.githubusercontent.com/assets/683200/16303338/1d81e014-391e-11e6-823b-e5f66d42c224.png)\r\n\r\n```\r\nprint 'Work plz | image=' + weather_data['image']['encoded'] \r\n```\r\n![screenshot 2016-06-23 08 41 07](https://cloud.githubusercontent.com/assets/683200/16303366/42589022-391e-11e6-9fb1-2902d78b28eb.png)\r\n\r\n```\r\n# Link doesn't work, but it highlights and image shows\r\nprint '| href=' + weather_data['image']['url'] + '| image=' + weather_data['image']['encoded'] \r\n```\r\n![screenshot 2016-06-23 08 41 57](https://cloud.githubusercontent.com/assets/683200/16303389/5c2c9e6c-391e-11e6-9b09-1f6ec4b80aa5.png)\r\n\r\nTested on v1.9.1 and v2-b6, same issues"},"comment":{"url":"https://api.github.com/repos/matryer/bitbar/issues/comments/229961910","html_url":"https://github.com/matryer/bitbar/issues/346#issuecomment-229961910","issue_url":"https://api.github.com/repos/matryer/bitbar/issues/346","id":229961910,"user":{"login":"iosdeveloper","id":655921,"avatar_url":"https://avatars.githubusercontent.com/u/655921?v=3","gravatar_id":"","url":"https://api.github.com/users/iosdeveloper","html_url":"https://github.com/iosdeveloper","followers_url":"https://api.github.com/users/iosdeveloper/followers","following_url":"https://api.github.com/users/iosdeveloper/following{/other_user}","gists_url":"https://api.github.com/users/iosdeveloper/gists{/gist_id}","starred_url":"https://api.github.com/users/iosdeveloper/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/iosdeveloper/subscriptions","organizations_url":"https://api.github.com/users/iosdeveloper/orgs","repos_url":"https://api.github.com/users/iosdeveloper/repos","events_url":"https://api.github.com/users/iosdeveloper/events{/privacy}","received_events_url":"https://api.github.com/users/iosdeveloper/received_events","type":"User","site_admin":false},"created_at":"2016-07-01T14:30:13Z","updated_at":"2016-07-01T14:30:13Z","body":"NSMenuItems draws in a grayed out/disabled style if no action is assigned to them (using either `href`, `bash` or `refresh`). According to the documentation, the state should not affect the image, so it looks like a feature of OS X. 😉"}}
{"actor":{"display_login":"iosdeveloper"}}