{"action":"created","issue":{"url":"https://api.github.com/repos/janko-m/shrine/issues/51","repository_url":"https://api.github.com/repos/janko-m/shrine","labels_url":"https://api.github.com/repos/janko-m/shrine/issues/51/labels{/name}","comments_url":"https://api.github.com/repos/janko-m/shrine/issues/51/comments","events_url":"https://api.github.com/repos/janko-m/shrine/issues/51/events","html_url":"https://github.com/janko-m/shrine/issues/51","id":139940747,"number":51,"title":"Default image from disk","user":{"login":"zamith","id":166304,"avatar_url":"https://avatars.githubusercontent.com/u/166304?v=3","gravatar_id":"","url":"https://api.github.com/users/zamith","html_url":"https://github.com/zamith","followers_url":"https://api.github.com/users/zamith/followers","following_url":"https://api.github.com/users/zamith/following{/other_user}","gists_url":"https://api.github.com/users/zamith/gists{/gist_id}","starred_url":"https://api.github.com/users/zamith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zamith/subscriptions","organizations_url":"https://api.github.com/users/zamith/orgs","repos_url":"https://api.github.com/users/zamith/repos","events_url":"https://api.github.com/users/zamith/events{/privacy}","received_events_url":"https://api.github.com/users/zamith/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"milestone":null,"comments":3,"created_at":"2016-03-10T16:27:13Z","updated_at":"2016-03-10T18:30:37Z","closed_at":"2016-03-10T17:58:26Z","body":"Is it possible to define a default image in shrine?\r\n\r\nThe intended behaviour would be something like:\r\n\r\n```ruby\r\nimage_tag(user.avatar_url || default_user_avatar)\r\n```\r\n\r\nBut without having to do this every time (or having to do this on the `User` model). It would also be helpful if it integrated with the versions plugin.\r\n"},"comment":{"url":"https://api.github.com/repos/janko-m/shrine/issues/comments/194991835","html_url":"https://github.com/janko-m/shrine/issues/51#issuecomment-194991835","issue_url":"https://api.github.com/repos/janko-m/shrine/issues/51","id":194991835,"user":{"login":"zamith","id":166304,"avatar_url":"https://avatars.githubusercontent.com/u/166304?v=3","gravatar_id":"","url":"https://api.github.com/users/zamith","html_url":"https://github.com/zamith","followers_url":"https://api.github.com/users/zamith/followers","following_url":"https://api.github.com/users/zamith/following{/other_user}","gists_url":"https://api.github.com/users/zamith/gists{/gist_id}","starred_url":"https://api.github.com/users/zamith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/zamith/subscriptions","organizations_url":"https://api.github.com/users/zamith/orgs","repos_url":"https://api.github.com/users/zamith/repos","events_url":"https://api.github.com/users/zamith/events{/privacy}","received_events_url":"https://api.github.com/users/zamith/received_events","type":"User","site_admin":false},"created_at":"2016-03-10T18:30:37Z","updated_at":"2016-03-10T18:30:37Z","body":"Thanks. :+1: I looked for something with this name in a list of plugins but it wasn't there. Maybe it was outdated.\r\n\r\nIs there any list for plugins other than looking at the source code?"}}