{"action":"created","issue":{"url":"https://api.github.com/repos/DMarby/unsplash-it/issues/9","labels_url":"https://api.github.com/repos/DMarby/unsplash-it/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/DMarby/unsplash-it/issues/9/comments","events_url":"https://api.github.com/repos/DMarby/unsplash-it/issues/9/events","html_url":"https://github.com/DMarby/unsplash-it/issues/9","id":98952994,"number":9,"title":"A way to use \"background-size: cover;\"?","user":{"login":"Magnus-G","id":2095625,"avatar_url":"https://avatars.githubusercontent.com/u/2095625?v=3","gravatar_id":"","url":"https://api.github.com/users/Magnus-G","html_url":"https://github.com/Magnus-G","followers_url":"https://api.github.com/users/Magnus-G/followers","following_url":"https://api.github.com/users/Magnus-G/following{/other_user}","gists_url":"https://api.github.com/users/Magnus-G/gists{/gist_id}","starred_url":"https://api.github.com/users/Magnus-G/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Magnus-G/subscriptions","organizations_url":"https://api.github.com/users/Magnus-G/orgs","repos_url":"https://api.github.com/users/Magnus-G/repos","events_url":"https://api.github.com/users/Magnus-G/events{/privacy}","received_events_url":"https://api.github.com/users/Magnus-G/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-08-04T12:09:22Z","updated_at":"2015-08-04T12:10:50Z","closed_at":null,"body":"Thanks for a great tool!\r\n\r\nMy question is if there is a way to avoid having to specify the size of the image in the markup? Instead I'd like to do that in the CSS by telling the image to cover its container if possible. \r\n\r\nI run into this issue when I use media queries that allow multiple columns of images collapse into one single column (thus having the image spread across the screen).\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/DMarby/unsplash-it/issues/comments/127579645","html_url":"https://github.com/DMarby/unsplash-it/issues/9#issuecomment-127579645","issue_url":"https://api.github.com/repos/DMarby/unsplash-it/issues/9","id":127579645,"user":{"login":"DMarby","id":174626,"avatar_url":"https://avatars.githubusercontent.com/u/174626?v=3","gravatar_id":"","url":"https://api.github.com/users/DMarby","html_url":"https://github.com/DMarby","followers_url":"https://api.github.com/users/DMarby/followers","following_url":"https://api.github.com/users/DMarby/following{/other_user}","gists_url":"https://api.github.com/users/DMarby/gists{/gist_id}","starred_url":"https://api.github.com/users/DMarby/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DMarby/subscriptions","organizations_url":"https://api.github.com/users/DMarby/orgs","repos_url":"https://api.github.com/users/DMarby/repos","events_url":"https://api.github.com/users/DMarby/events{/privacy}","received_events_url":"https://api.github.com/users/DMarby/received_events","type":"User","site_admin":false},"created_at":"2015-08-04T12:10:50Z","updated_at":"2015-08-04T12:10:50Z","body":"Hello, you can do /0/0 to get the largest available resolution of an image (does not scale up above the default dimensions). However, I would recommend just using a large enough resolution that should fit most screens, or similar."}}