{"action":"closed","issue":{"url":"https://api.github.com/repos/websemantics/Image-Select/issues/8","labels_url":"https://api.github.com/repos/websemantics/Image-Select/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/websemantics/Image-Select/issues/8/comments","events_url":"https://api.github.com/repos/websemantics/Image-Select/issues/8/events","html_url":"https://github.com/websemantics/Image-Select/issues/8","id":52183190,"number":8,"title":"Show Initial Selection Image","user":{"login":"quickstick","id":1427946,"avatar_url":"https://avatars.githubusercontent.com/u/1427946?v=3","gravatar_id":"","url":"https://api.github.com/users/quickstick","html_url":"https://github.com/quickstick","followers_url":"https://api.github.com/users/quickstick/followers","following_url":"https://api.github.com/users/quickstick/following{/other_user}","gists_url":"https://api.github.com/users/quickstick/gists{/gist_id}","starred_url":"https://api.github.com/users/quickstick/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/quickstick/subscriptions","organizations_url":"https://api.github.com/users/quickstick/orgs","repos_url":"https://api.github.com/users/quickstick/repos","events_url":"https://api.github.com/users/quickstick/events{/privacy}","received_events_url":"https://api.github.com/users/quickstick/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2014-12-16T23:44:04Z","updated_at":"2015-03-29T22:54:42Z","closed_at":"2015-03-29T22:54:42Z","body":"Hi guys,\r\n\r\nThanks for a great plugin. I noticed that if you have an option preselected as the page is loaded, the image isn't shown, until you open and close the dropdown.\r\n\r\nMy solution was to add:\r\n\r\n```\r\n$this.trigger('chosen:hiding_dropdown');\r\n```\r\n\r\nTo line 167 of ImageSelect.jquery.js - after the `chosen:showing_dropdown` event is added.\r\n\r\nIt didn't work if I had it in the `chosen:ready` event (unless I delayed it by 1 second (so the other events could load)), but you might be able to find a better home for it.\r\n\r\nI probably haven't covered all the bases for testing, but it seems happy enough on both single and multiple selects - hope it helps.\r\n\r\nLast thing, in case it matters, your README says v1.1, but the ImageSelect.jquery.js says v1.0.2.\r\n\r\nThanks again."}}