{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/19054","labels_url":"https://api.github.com/repos/owncloud/core/issues/19054/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/19054/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/19054/events","html_url":"https://github.com/owncloud/core/issues/19054","id":106582912,"number":19054,"title":"If thumbnail then large preview in sidebar","user":{"login":"oparoz","id":323220,"avatar_url":"https://avatars.githubusercontent.com/u/323220?v=3","gravatar_id":"","url":"https://api.github.com/users/oparoz","html_url":"https://github.com/oparoz","followers_url":"https://api.github.com/users/oparoz/followers","following_url":"https://api.github.com/users/oparoz/following{/other_user}","gists_url":"https://api.github.com/users/oparoz/gists{/gist_id}","starred_url":"https://api.github.com/users/oparoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oparoz/subscriptions","organizations_url":"https://api.github.com/users/oparoz/orgs","repos_url":"https://api.github.com/users/oparoz/repos","events_url":"https://api.github.com/users/oparoz/events{/privacy}","received_events_url":"https://api.github.com/users/oparoz/received_events","type":"User","site_admin":false},"labels":[{"url":"https://api.github.com/repos/owncloud/core/labels/bug","name":"bug","color":"fc2929"},{"url":"https://api.github.com/repos/owncloud/core/labels/design","name":"design","color":"cc317c"},{"url":"https://api.github.com/repos/owncloud/core/labels/enhancement","name":"enhancement","color":"02e10c"}],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":17,"created_at":"2015-09-15T15:34:21Z","updated_at":"2015-09-22T15:43:48Z","closed_at":null,"body":"A handful of media types are hard-coded inside the isImage() method which decides whether we show a slightly larger preview than the thumbnail or if we show a large preview, filling up the header, if possible.\r\n\r\n```\r\nreturn this.get('mimetype').substr(0, 6) === 'image/'\r\n\t\t\t\t|| this.get('mimetype') === 'application/postscript'\r\n\t\t\t\t|| this.get('mimetype') === 'application/illustrator'\r\n\t\t\t\t|| this.get('mimetype') === 'application/x-photoshop';\r\n```\r\n\r\nI think ownCloud can do better. If a thumbnail can be generated in the list view, then there should be a larger preview in the sidebar, so that people can see what it's about without having to launch the slideshow.\r\n\r\n**The right sidebar is not a media player, it's a detail view.**\r\n\r\n\r\n@PVince81 @georgehrke @icewind1991 \r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/142328506","html_url":"https://github.com/owncloud/core/issues/19054#issuecomment-142328506","issue_url":"https://api.github.com/repos/owncloud/core/issues/19054","id":142328506,"user":{"login":"oparoz","id":323220,"avatar_url":"https://avatars.githubusercontent.com/u/323220?v=3","gravatar_id":"","url":"https://api.github.com/users/oparoz","html_url":"https://github.com/oparoz","followers_url":"https://api.github.com/users/oparoz/followers","following_url":"https://api.github.com/users/oparoz/following{/other_user}","gists_url":"https://api.github.com/users/oparoz/gists{/gist_id}","starred_url":"https://api.github.com/users/oparoz/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/oparoz/subscriptions","organizations_url":"https://api.github.com/users/oparoz/orgs","repos_url":"https://api.github.com/users/oparoz/repos","events_url":"https://api.github.com/users/oparoz/events{/privacy}","received_events_url":"https://api.github.com/users/oparoz/received_events","type":"User","site_admin":false},"created_at":"2015-09-22T15:43:48Z","updated_at":"2015-09-22T15:43:48Z","body":"Nah, I think, we ought to keep it simple :). The icons are SVGs, so there is no rendering issue. As you've said, we just need to find the right size to make it work."}}