{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/14919","labels_url":"https://api.github.com/repos/owncloud/core/issues/14919/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/14919/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/14919/events","html_url":"https://github.com/owncloud/core/pull/14919","id":62068879,"number":14919,"title":"Files thumbnail fix","user":{"login":"rullzer","id":45821,"avatar_url":"https://avatars.githubusercontent.com/u/45821?v=3","gravatar_id":"","url":"https://api.github.com/users/rullzer","html_url":"https://github.com/rullzer","followers_url":"https://api.github.com/users/rullzer/followers","following_url":"https://api.github.com/users/rullzer/following{/other_user}","gists_url":"https://api.github.com/users/rullzer/gists{/gist_id}","starred_url":"https://api.github.com/users/rullzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rullzer/subscriptions","organizations_url":"https://api.github.com/users/rullzer/orgs","repos_url":"https://api.github.com/users/rullzer/repos","events_url":"https://api.github.com/users/rullzer/events{/privacy}","received_events_url":"https://api.github.com/users/rullzer/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/5%20-%20To%20review","name":"5 - To review","color":"ededed"},{"url":"https://api.github.com/repos/owncloud/core/labels/app:files","name":"app:files","color":"02d7e1"},{"url":"https://api.github.com/repos/owncloud/core/labels/feature:previews","name":"feature:previews","color":"d4c5f9"}],"state":"open","locked":false,"assignee":null,"milestone":{"url":"https://api.github.com/repos/owncloud/core/milestones/31","html_url":"https://github.com/owncloud/core/milestones/8.1-current","labels_url":"https://api.github.com/repos/owncloud/core/milestones/31/labels","id":912160,"number":31,"title":"8.1-current","description":"","creator":{"login":"MorrisJobke","id":245432,"avatar_url":"https://avatars.githubusercontent.com/u/245432?v=3","gravatar_id":"","url":"https://api.github.com/users/MorrisJobke","html_url":"https://github.com/MorrisJobke","followers_url":"https://api.github.com/users/MorrisJobke/followers","following_url":"https://api.github.com/users/MorrisJobke/following{/other_user}","gists_url":"https://api.github.com/users/MorrisJobke/gists{/gist_id}","starred_url":"https://api.github.com/users/MorrisJobke/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/MorrisJobke/subscriptions","organizations_url":"https://api.github.com/users/MorrisJobke/orgs","repos_url":"https://api.github.com/users/MorrisJobke/repos","events_url":"https://api.github.com/users/MorrisJobke/events{/privacy}","received_events_url":"https://api.github.com/users/MorrisJobke/received_events","type":"User","site_admin":false},"open_issues":302,"closed_issues":444,"state":"open","created_at":"2014-12-22T12:04:01Z","updated_at":"2015-03-22T17:59:56Z","due_on":"2015-04-02T22:00:00Z","closed_at":null},"comments":9,"created_at":"2015-03-16T12:43:15Z","updated_at":"2015-03-22T18:43:53Z","closed_at":null,"pull_request":{"url":"https://api.github.com/repos/owncloud/core/pulls/14919","html_url":"https://github.com/owncloud/core/pull/14919","diff_url":"https://github.com/owncloud/core/pull/14919.diff","patch_url":"https://github.com/owncloud/core/pull/14919.patch"},"body":"Using OC_Image->show() already sends headers. So don't use that if more headers are required.\r\n\r\nRelated issues #12712 and #14378\r\n\r\n- The DataDisplayResponse is now used.\r\n- IPreview is injected\r\n- Some unit tests\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/84672475","html_url":"https://github.com/owncloud/core/pull/14919#issuecomment-84672475","issue_url":"https://api.github.com/repos/owncloud/core/issues/14919","id":84672475,"user":{"login":"rullzer","id":45821,"avatar_url":"https://avatars.githubusercontent.com/u/45821?v=3","gravatar_id":"","url":"https://api.github.com/users/rullzer","html_url":"https://github.com/rullzer","followers_url":"https://api.github.com/users/rullzer/followers","following_url":"https://api.github.com/users/rullzer/following{/other_user}","gists_url":"https://api.github.com/users/rullzer/gists{/gist_id}","starred_url":"https://api.github.com/users/rullzer/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/rullzer/subscriptions","organizations_url":"https://api.github.com/users/rullzer/orgs","repos_url":"https://api.github.com/users/rullzer/repos","events_url":"https://api.github.com/users/rullzer/events{/privacy}","received_events_url":"https://api.github.com/users/rullzer/received_events","type":"User","site_admin":false},"created_at":"2015-03-22T18:43:53Z","updated_at":"2015-03-22T18:43:53Z","body":"@enoch85 you could try to just add https://github.com/owncloud/core/blob/master/lib/public/appframework/http/datadisplayresponse.php however no guarantees.\r\n\r\nAlso, this means that this PR will (probably) not be backported to 8.0.3"}}