{"issue":{"milestone":null,"title":"Preloaded Image Width and Size","created_at":"2012-01-01T09:05:13Z","user":{"id":1239808,"login":"pushpinderbagga","url":"https://api.github.com/users/pushpinderbagga","avatar_url":"https://secure.gravatar.com/avatar/fda4eb3e9c040329e5402949c98b9ac4?d=https://a248.e.akamai.net/assets.github.com%2Fimages%2Fgravatars%2Fgravatar-140.png","gravatar_id":"fda4eb3e9c040329e5402949c98b9ac4"},"labels":[],"updated_at":"2012-01-01T09:05:13Z","state":"open","id":2696813,"html_url":"https://github.com/farinspace/jquery.imgpreload/issues/2","closed_at":null,"pull_request":{"patch_url":null,"html_url":null,"diff_url":null},"body":"Hey there, nice work with this plugin - thanks!\r\n\r\nI just wanted to check if there was any case we can also extract the dimensions of the image in the data of that element.\r\n\r\nI tried adding \r\n\r\n$.data(this, 'dimensions', { 'width': img.width, 'height': img.height });\r\n\r\njust after the src to that image object is allocated but its giving me an error or indefinite recursion... any clues to how we can go over this without removing the above code?\r\n\r\nthanks a lot!\r\n","number":2,"url":"https://api.github.com/repos/farinspace/jquery.imgpreload/issues/2","comments":0,"assignee":null},"action":"opened"}