{"action":"created","issue":{"url":"https://api.github.com/repos/owncloud/core/issues/32201","repository_url":"https://api.github.com/repos/owncloud/core","labels_url":"https://api.github.com/repos/owncloud/core/issues/32201/labels{/name}","comments_url":"https://api.github.com/repos/owncloud/core/issues/32201/comments","events_url":"https://api.github.com/repos/owncloud/core/issues/32201/events","html_url":"https://github.com/owncloud/core/issues/32201","id":346054074,"node_id":"MDU6SXNzdWUzNDYwNTQwNzQ=","number":32201,"title":"Details dialog JPG image is repeated","user":{"login":"phil-davis","id":1535615,"node_id":"MDQ6VXNlcjE1MzU2MTU=","avatar_url":"https://avatars1.githubusercontent.com/u/1535615?v=4","gravatar_id":"","url":"https://api.github.com/users/phil-davis","html_url":"https://github.com/phil-davis","followers_url":"https://api.github.com/users/phil-davis/followers","following_url":"https://api.github.com/users/phil-davis/following{/other_user}","gists_url":"https://api.github.com/users/phil-davis/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-davis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-davis/subscriptions","organizations_url":"https://api.github.com/users/phil-davis/orgs","repos_url":"https://api.github.com/users/phil-davis/repos","events_url":"https://api.github.com/users/phil-davis/events{/privacy}","received_events_url":"https://api.github.com/users/phil-davis/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-31T06:38:34Z","updated_at":"2018-07-31T06:42:37Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"### Steps to reproduce\r\n1. Disable previews - in ``config.php`` set:\r\n```\r\n  'enable_previews' => false,\r\n```\r\n2. upload a JPG file\r\n3. open the details panel\r\n\r\n### Expected behaviour\r\nThe \"sun and mountains\" default thumbnail SVG should display once,\r\nand the filename can appear to the right of it, like for other file types such as txt or pdf.\r\n\r\n### Actual behaviour\r\nThe \"sun and mountains\" default thumbnail SVG repeats across the width of the details panel.\r\n\r\n![screenshot_2018-07-31 files - owncloud](https://user-images.githubusercontent.com/1535615/43442038-7c089f28-94bc-11e8-9f90-0b778caffdf9.png)\r\n\r\n### Server configuration\r\nCurrent git master or any.\r\n"},"comment":{"url":"https://api.github.com/repos/owncloud/core/issues/comments/409112701","html_url":"https://github.com/owncloud/core/issues/32201#issuecomment-409112701","issue_url":"https://api.github.com/repos/owncloud/core/issues/32201","id":409112701,"node_id":"MDEyOklzc3VlQ29tbWVudDQwOTExMjcwMQ==","user":{"login":"phil-davis","id":1535615,"node_id":"MDQ6VXNlcjE1MzU2MTU=","avatar_url":"https://avatars1.githubusercontent.com/u/1535615?v=4","gravatar_id":"","url":"https://api.github.com/users/phil-davis","html_url":"https://github.com/phil-davis","followers_url":"https://api.github.com/users/phil-davis/followers","following_url":"https://api.github.com/users/phil-davis/following{/other_user}","gists_url":"https://api.github.com/users/phil-davis/gists{/gist_id}","starred_url":"https://api.github.com/users/phil-davis/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/phil-davis/subscriptions","organizations_url":"https://api.github.com/users/phil-davis/orgs","repos_url":"https://api.github.com/users/phil-davis/repos","events_url":"https://api.github.com/users/phil-davis/events{/privacy}","received_events_url":"https://api.github.com/users/phil-davis/received_events","type":"User","site_admin":false},"created_at":"2018-07-31T06:42:37Z","updated_at":"2018-07-31T06:42:37Z","author_association":"CONTRIBUTOR","body":"For this case, the HTML has ``width: 100%`` specified. But for PDF, TXT etc that is not specified.\r\n``width: 100%`` works more nicely in the case when previews are enabled. In that case a single \"large\" preview of the actual image is generated which covers the screen width. \r\n\r\nSo it just needs an extra ``if`` somewhere to only add that ``width: 100%`` for images when previews are enabled."}}
{"actor":{"display_login":"phil-davis"}}