{"action":"opened","issue":{"url":"https://api.github.com/repos/perkster/bb-page-hover-box/issues/8","labels_url":"https://api.github.com/repos/perkster/bb-page-hover-box/issues/8/labels{/name}","comments_url":"https://api.github.com/repos/perkster/bb-page-hover-box/issues/8/comments","events_url":"https://api.github.com/repos/perkster/bb-page-hover-box/issues/8/events","html_url":"https://github.com/perkster/bb-page-hover-box/issues/8","id":63278812,"number":8,"title":"Update default template for new image code","user":{"login":"perkster","id":2534314,"avatar_url":"https://avatars.githubusercontent.com/u/2534314?v=3","gravatar_id":"","url":"https://api.github.com/users/perkster","html_url":"https://github.com/perkster","followers_url":"https://api.github.com/users/perkster/followers","following_url":"https://api.github.com/users/perkster/following{/other_user}","gists_url":"https://api.github.com/users/perkster/gists{/gist_id}","starred_url":"https://api.github.com/users/perkster/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/perkster/subscriptions","organizations_url":"https://api.github.com/users/perkster/orgs","repos_url":"https://api.github.com/users/perkster/repos","events_url":"https://api.github.com/users/perkster/events{/privacy}","received_events_url":"https://api.github.com/users/perkster/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-20T18:27:14Z","updated_at":"2015-03-20T18:27:14Z","closed_at":null,"body":"Old: \r\n//Check for image\r\n\tif($phb_info['thumbnail']) {\r\n\t\t$img_attr = array ( 'class' => 'bb-phb__img home-phb__img' );\r\n\t\t$image = phb_image($phb_info['post_id'], $phb_info['thumbsize'], $img_attr, $phb_info['img_override']);\t\t\r\n\t}\r\n\r\nNew:\r\n//Check for image\r\n  $image = phb_image($phb_info);\r\n"}}