{"action":"created","issue":{"url":"https://api.github.com/repos/frappe/frappe/issues/1939","repository_url":"https://api.github.com/repos/frappe/frappe","labels_url":"https://api.github.com/repos/frappe/frappe/issues/1939/labels{/name}","comments_url":"https://api.github.com/repos/frappe/frappe/issues/1939/comments","events_url":"https://api.github.com/repos/frappe/frappe/issues/1939/events","html_url":"https://github.com/frappe/frappe/issues/1939","id":169531437,"number":1939,"title":"[UI] non-square images aren't scaled down by longer side to fit thumbnail preview in Image view","user":{"login":"strixaluco","id":10875796,"avatar_url":"https://avatars.githubusercontent.com/u/10875796?v=3","gravatar_id":"","url":"https://api.github.com/users/strixaluco","html_url":"https://github.com/strixaluco","followers_url":"https://api.github.com/users/strixaluco/followers","following_url":"https://api.github.com/users/strixaluco/following{/other_user}","gists_url":"https://api.github.com/users/strixaluco/gists{/gist_id}","starred_url":"https://api.github.com/users/strixaluco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strixaluco/subscriptions","organizations_url":"https://api.github.com/users/strixaluco/orgs","repos_url":"https://api.github.com/users/strixaluco/repos","events_url":"https://api.github.com/users/strixaluco/events{/privacy}","received_events_url":"https://api.github.com/users/strixaluco/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":{"login":"netchampfaris","id":9355208,"avatar_url":"https://avatars.githubusercontent.com/u/9355208?v=3","gravatar_id":"","url":"https://api.github.com/users/netchampfaris","html_url":"https://github.com/netchampfaris","followers_url":"https://api.github.com/users/netchampfaris/followers","following_url":"https://api.github.com/users/netchampfaris/following{/other_user}","gists_url":"https://api.github.com/users/netchampfaris/gists{/gist_id}","starred_url":"https://api.github.com/users/netchampfaris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netchampfaris/subscriptions","organizations_url":"https://api.github.com/users/netchampfaris/orgs","repos_url":"https://api.github.com/users/netchampfaris/repos","events_url":"https://api.github.com/users/netchampfaris/events{/privacy}","received_events_url":"https://api.github.com/users/netchampfaris/received_events","type":"User","site_admin":false},"assignees":[{"login":"netchampfaris","id":9355208,"avatar_url":"https://avatars.githubusercontent.com/u/9355208?v=3","gravatar_id":"","url":"https://api.github.com/users/netchampfaris","html_url":"https://github.com/netchampfaris","followers_url":"https://api.github.com/users/netchampfaris/followers","following_url":"https://api.github.com/users/netchampfaris/following{/other_user}","gists_url":"https://api.github.com/users/netchampfaris/gists{/gist_id}","starred_url":"https://api.github.com/users/netchampfaris/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/netchampfaris/subscriptions","organizations_url":"https://api.github.com/users/netchampfaris/orgs","repos_url":"https://api.github.com/users/netchampfaris/repos","events_url":"https://api.github.com/users/netchampfaris/events{/privacy}","received_events_url":"https://api.github.com/users/netchampfaris/received_events","type":"User","site_admin":false}],"milestone":null,"comments":7,"created_at":"2016-08-05T05:27:18Z","updated_at":"2016-08-24T07:17:22Z","closed_at":null,"body":"ERPNext: v7.0.12\r\nFrappe Framework: v7.0.11\r\nOfficial SaaS subscription.\r\n\r\nAs the title says, the images with non-square proportions are being cut instead of being scaled down by longer side to fit thumbnail preview (see the screenshots).\r\n\r\n![not-scaling1](https://cloud.githubusercontent.com/assets/10875796/17426960/8ddb7358-5b0f-11e6-879c-240f635c9d26.png)\r\n\r\n![not-scaling2](https://cloud.githubusercontent.com/assets/10875796/17426963/8fc05f12-5b0f-11e6-922e-c69722a8e33b.png)"},"comment":{"url":"https://api.github.com/repos/frappe/frappe/issues/comments/241977765","html_url":"https://github.com/frappe/frappe/issues/1939#issuecomment-241977765","issue_url":"https://api.github.com/repos/frappe/frappe/issues/1939","id":241977765,"user":{"login":"strixaluco","id":10875796,"avatar_url":"https://avatars.githubusercontent.com/u/10875796?v=3","gravatar_id":"","url":"https://api.github.com/users/strixaluco","html_url":"https://github.com/strixaluco","followers_url":"https://api.github.com/users/strixaluco/followers","following_url":"https://api.github.com/users/strixaluco/following{/other_user}","gists_url":"https://api.github.com/users/strixaluco/gists{/gist_id}","starred_url":"https://api.github.com/users/strixaluco/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/strixaluco/subscriptions","organizations_url":"https://api.github.com/users/strixaluco/orgs","repos_url":"https://api.github.com/users/strixaluco/repos","events_url":"https://api.github.com/users/strixaluco/events{/privacy}","received_events_url":"https://api.github.com/users/strixaluco/received_events","type":"User","site_admin":false},"created_at":"2016-08-24T07:17:22Z","updated_at":"2016-08-24T07:17:22Z","body":"Thank you. So since ERPNext 7.0.24 the issue is supposed to be fixed, but unfortunately it's not. \r\nThe attached screenshot is from beta.erpnext.com, which is ERPNext: v7.0.32 / ERPNext Demo: v0.0.1 / Frappe Framework: v7.0.27. Please take a look at the cough mixture bottle.\r\n\r\n![image-fix](https://cloud.githubusercontent.com/assets/10875796/17921672/977783c2-6a0d-11e6-9b54-136137e6361e.png)\r\n"}}
{"actor":{"display_login":"strixaluco"}}