{"action":"created","issue":{"url":"https://api.github.com/repos/jarednova/timber/issues/590","labels_url":"https://api.github.com/repos/jarednova/timber/issues/590/labels{/name}","comments_url":"https://api.github.com/repos/jarednova/timber/issues/590/comments","events_url":"https://api.github.com/repos/jarednova/timber/issues/590/events","html_url":"https://github.com/jarednova/timber/issues/590","id":92816863,"number":590,"title":"Error after update 0.21.5 in TimberImage","user":{"login":"xroyx","id":3530437,"avatar_url":"https://avatars.githubusercontent.com/u/3530437?v=3","gravatar_id":"","url":"https://api.github.com/users/xroyx","html_url":"https://github.com/xroyx","followers_url":"https://api.github.com/users/xroyx/followers","following_url":"https://api.github.com/users/xroyx/following{/other_user}","gists_url":"https://api.github.com/users/xroyx/gists{/gist_id}","starred_url":"https://api.github.com/users/xroyx/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/xroyx/subscriptions","organizations_url":"https://api.github.com/users/xroyx/orgs","repos_url":"https://api.github.com/users/xroyx/repos","events_url":"https://api.github.com/users/xroyx/events{/privacy}","received_events_url":"https://api.github.com/users/xroyx/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/jarednova/timber/labels/bug","name":"bug","color":"fc2929"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":10,"created_at":"2015-07-03T07:55:44Z","updated_at":"2015-07-09T20:03:48Z","closed_at":null,"body":"Hi,\r\n\r\nAfter updating to 0.21.5 I'm getting a bug in TimberImage \r\n\r\n    PHP Catchable fatal error: Method TimberImage::__toString() must return a string value in /sites/site/www/assets/plugins/timber-library/vendor/twig/twig/lib/Twig/Environment.php(332) : eval()'d code on line 40\r\n\r\nReturning images with return value set to Image URL still works, but Image ID doesn't, for example:\r\n\r\n    <img src=\"{{ TimberImage(block.image) }}\">\r\n\r\nThanks,"},"comment":{"url":"https://api.github.com/repos/jarednova/timber/issues/comments/120128940","html_url":"https://github.com/jarednova/timber/issues/590#issuecomment-120128940","issue_url":"https://api.github.com/repos/jarednova/timber/issues/590","id":120128940,"user":{"login":"tommymarshall","id":871454,"avatar_url":"https://avatars.githubusercontent.com/u/871454?v=3","gravatar_id":"","url":"https://api.github.com/users/tommymarshall","html_url":"https://github.com/tommymarshall","followers_url":"https://api.github.com/users/tommymarshall/followers","following_url":"https://api.github.com/users/tommymarshall/following{/other_user}","gists_url":"https://api.github.com/users/tommymarshall/gists{/gist_id}","starred_url":"https://api.github.com/users/tommymarshall/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/tommymarshall/subscriptions","organizations_url":"https://api.github.com/users/tommymarshall/orgs","repos_url":"https://api.github.com/users/tommymarshall/repos","events_url":"https://api.github.com/users/tommymarshall/events{/privacy}","received_events_url":"https://api.github.com/users/tommymarshall/received_events","type":"User","site_admin":false},"created_at":"2015-07-09T20:03:48Z","updated_at":"2015-07-09T20:03:48Z","body":"Awesome! Thanks @jarednova"}}