{"action":"created","issue":{"url":"https://api.github.com/repos/hpcc-systems/Visualization/issues/993","labels_url":"https://api.github.com/repos/hpcc-systems/Visualization/issues/993/labels{/name}","comments_url":"https://api.github.com/repos/hpcc-systems/Visualization/issues/993/comments","events_url":"https://api.github.com/repos/hpcc-systems/Visualization/issues/993/events","html_url":"https://github.com/hpcc-systems/Visualization/issues/993","id":109860820,"number":993,"title":"Need for basic image widget","user":{"login":"rpastrana","id":915949,"avatar_url":"https://avatars.githubusercontent.com/u/915949?v=3","gravatar_id":"","url":"https://api.github.com/users/rpastrana","html_url":"https://github.com/rpastrana","followers_url":"https://api.github.com/users/rpastrana/followers","following_url":"https://api.github.com/users/rpastrana/following{/other_user}","gists_url":"https://api.github.com/users/rpastrana/gists{/gist_id}","starred_url":"https://api.github.com/users/rpastrana/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rpastrana/subscriptions","organizations_url":"https://api.github.com/users/rpastrana/orgs","repos_url":"https://api.github.com/users/rpastrana/repos","events_url":"https://api.github.com/users/rpastrana/events{/privacy}","received_events_url":"https://api.github.com/users/rpastrana/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/hpcc-systems/Visualization/labels/enhancement","name":"enhancement","color":"84b6eb"}],"state":"open","locked":false,"assignee":{"login":"dtsnell4","id":4304235,"avatar_url":"https://avatars.githubusercontent.com/u/4304235?v=3","gravatar_id":"","url":"https://api.github.com/users/dtsnell4","html_url":"https://github.com/dtsnell4","followers_url":"https://api.github.com/users/dtsnell4/followers","following_url":"https://api.github.com/users/dtsnell4/following{/other_user}","gists_url":"https://api.github.com/users/dtsnell4/gists{/gist_id}","starred_url":"https://api.github.com/users/dtsnell4/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/dtsnell4/subscriptions","organizations_url":"https://api.github.com/users/dtsnell4/orgs","repos_url":"https://api.github.com/users/dtsnell4/repos","events_url":"https://api.github.com/users/dtsnell4/events{/privacy}","received_events_url":"https://api.github.com/users/dtsnell4/received_events","type":"User","site_admin":false},"milestone":{"url":"https://api.github.com/repos/hpcc-systems/Visualization/milestones/13","html_url":"https://github.com/hpcc-systems/Visualization/milestones/1.8.0","labels_url":"https://api.github.com/repos/hpcc-systems/Visualization/milestones/13/labels","id":1249469,"number":13,"title":"1.8.0","description":"","creator":{"login":"GordonSmith","id":966863,"avatar_url":"https://avatars.githubusercontent.com/u/966863?v=3","gravatar_id":"","url":"https://api.github.com/users/GordonSmith","html_url":"https://github.com/GordonSmith","followers_url":"https://api.github.com/users/GordonSmith/followers","following_url":"https://api.github.com/users/GordonSmith/following{/other_user}","gists_url":"https://api.github.com/users/GordonSmith/gists{/gist_id}","starred_url":"https://api.github.com/users/GordonSmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GordonSmith/subscriptions","organizations_url":"https://api.github.com/users/GordonSmith/orgs","repos_url":"https://api.github.com/users/GordonSmith/repos","events_url":"https://api.github.com/users/GordonSmith/events{/privacy}","received_events_url":"https://api.github.com/users/GordonSmith/received_events","type":"User","site_admin":false},"open_issues":51,"closed_issues":41,"state":"open","created_at":"2015-08-11T05:42:31Z","updated_at":"2015-10-06T10:03:40Z","due_on":"2015-09-17T23:00:00Z","closed_at":null},"comments":1,"created_at":"2015-10-05T18:46:11Z","updated_at":"2015-10-06T10:10:26Z","closed_at":null,"body":"Please provide  basic image widget with overlay support."},"comment":{"url":"https://api.github.com/repos/hpcc-systems/Visualization/issues/comments/145811034","html_url":"https://github.com/hpcc-systems/Visualization/issues/993#issuecomment-145811034","issue_url":"https://api.github.com/repos/hpcc-systems/Visualization/issues/993","id":145811034,"user":{"login":"GordonSmith","id":966863,"avatar_url":"https://avatars.githubusercontent.com/u/966863?v=3","gravatar_id":"","url":"https://api.github.com/users/GordonSmith","html_url":"https://github.com/GordonSmith","followers_url":"https://api.github.com/users/GordonSmith/followers","following_url":"https://api.github.com/users/GordonSmith/following{/other_user}","gists_url":"https://api.github.com/users/GordonSmith/gists{/gist_id}","starred_url":"https://api.github.com/users/GordonSmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/GordonSmith/subscriptions","organizations_url":"https://api.github.com/users/GordonSmith/orgs","repos_url":"https://api.github.com/users/GordonSmith/repos","events_url":"https://api.github.com/users/GordonSmith/events{/privacy}","received_events_url":"https://api.github.com/users/GordonSmith/received_events","type":"User","site_admin":false},"created_at":"2015-10-06T10:10:26Z","updated_at":"2015-10-06T10:10:26Z","body":"@dtsnell4 Don't worry about the overlay (that will be in a separate widget), we just need a widget that displays an image.  Things to think about:\r\n1.  Scaling + Aspect Ratios (should be able to scale to fit and maintain aspect ratio)\r\n2.  Should support 100% size with scrollbars as well as scale to fit.\r\n3.  A \"projection\" function (similar to mapping widgets):  Say you have a 1024x768 image and you display it in a 640x480 div.  Now when we put the widget into a layer and we want to overlay a \"pin\" on it at location 800x600 (origonal image coordinate) we should be able to pass that point into the projection function and get back the actual position on the page (in mapping we pass in a Lat/Long and get back a page position, here we pass in a x,y in orig image coordinates)."}}