{"action":"created","issue":{"url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/1722","repository_url":"https://api.github.com/repos/splitbrain/dokuwiki","labels_url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/1722/labels{/name}","comments_url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/1722/comments","events_url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/1722/events","html_url":"https://github.com/splitbrain/dokuwiki/pull/1722","id":183024797,"number":1722,"title":"Make cropped images responsive","user":{"login":"roggan87","id":2410669,"avatar_url":"https://avatars.githubusercontent.com/u/2410669?v=3","gravatar_id":"","url":"https://api.github.com/users/roggan87","html_url":"https://github.com/roggan87","followers_url":"https://api.github.com/users/roggan87/followers","following_url":"https://api.github.com/users/roggan87/following{/other_user}","gists_url":"https://api.github.com/users/roggan87/gists{/gist_id}","starred_url":"https://api.github.com/users/roggan87/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roggan87/subscriptions","organizations_url":"https://api.github.com/users/roggan87/orgs","repos_url":"https://api.github.com/users/roggan87/repos","events_url":"https://api.github.com/users/roggan87/events{/privacy}","received_events_url":"https://api.github.com/users/roggan87/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":5,"created_at":"2016-10-14T11:14:18Z","updated_at":"2016-10-15T22:48:59Z","closed_at":"2016-10-14T13:06:39Z","pull_request":{"url":"https://api.github.com/repos/splitbrain/dokuwiki/pulls/1722","html_url":"https://github.com/splitbrain/dokuwiki/pull/1722","diff_url":"https://github.com/splitbrain/dokuwiki/pull/1722.diff","patch_url":"https://github.com/splitbrain/dokuwiki/pull/1722.patch"},"body":"Adding the width and height attributes to the img-tags makes the cropped images stretch instead of scaling down proportionally when the screen is smaller than the image. I can't really see any other good reason to keep the attributes so I suggest removing them completely. Please correct me if I'm wrong."},"comment":{"url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/comments/254015757","html_url":"https://github.com/splitbrain/dokuwiki/pull/1722#issuecomment-254015757","issue_url":"https://api.github.com/repos/splitbrain/dokuwiki/issues/1722","id":254015757,"user":{"login":"selfthinker","id":108893,"avatar_url":"https://avatars.githubusercontent.com/u/108893?v=3","gravatar_id":"","url":"https://api.github.com/users/selfthinker","html_url":"https://github.com/selfthinker","followers_url":"https://api.github.com/users/selfthinker/followers","following_url":"https://api.github.com/users/selfthinker/following{/other_user}","gists_url":"https://api.github.com/users/selfthinker/gists{/gist_id}","starred_url":"https://api.github.com/users/selfthinker/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/selfthinker/subscriptions","organizations_url":"https://api.github.com/users/selfthinker/orgs","repos_url":"https://api.github.com/users/selfthinker/repos","events_url":"https://api.github.com/users/selfthinker/events{/privacy}","received_events_url":"https://api.github.com/users/selfthinker/received_events","type":"User","site_admin":false},"created_at":"2016-10-15T22:48:59Z","updated_at":"2016-10-15T22:48:59Z","body":"> Adding the width and height attributes to the img-tags makes the cropped images stretch instead of scaling down proportionally when the screen is smaller than the image.\r\n\r\nI cannot reproduce this. In which browser and OS are you experiencing that?\r\n\r\n> The attributes are only set if the image is resized or cropped\r\n\r\nIdeally we should add width and height for non-resized images as well."}}
{"actor":{"display_login":"selfthinker"}}