{"action":"created","issue":{"url":"https://api.github.com/repos/Foliotek/Croppie/issues/231","repository_url":"https://api.github.com/repos/Foliotek/Croppie","labels_url":"https://api.github.com/repos/Foliotek/Croppie/issues/231/labels{/name}","comments_url":"https://api.github.com/repos/Foliotek/Croppie/issues/231/comments","events_url":"https://api.github.com/repos/Foliotek/Croppie/issues/231/events","html_url":"https://github.com/Foliotek/Croppie/issues/231","id":184696896,"number":231,"title":"Download Image Naming Convention ","user":{"login":"ziankabir","id":22277402,"avatar_url":"https://avatars.githubusercontent.com/u/22277402?v=3","gravatar_id":"","url":"https://api.github.com/users/ziankabir","html_url":"https://github.com/ziankabir","followers_url":"https://api.github.com/users/ziankabir/followers","following_url":"https://api.github.com/users/ziankabir/following{/other_user}","gists_url":"https://api.github.com/users/ziankabir/gists{/gist_id}","starred_url":"https://api.github.com/users/ziankabir/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/ziankabir/subscriptions","organizations_url":"https://api.github.com/users/ziankabir/orgs","repos_url":"https://api.github.com/users/ziankabir/repos","events_url":"https://api.github.com/users/ziankabir/events{/privacy}","received_events_url":"https://api.github.com/users/ziankabir/received_events","type":"User","site_admin":false},"labels":[],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2016-10-23T15:35:50Z","updated_at":"2016-10-24T13:54:48Z","closed_at":"2016-10-24T13:54:48Z","body":"I want to download the cropped image using a download button. I've done that already but the problem is with the file name. I want that what is my filename will be the file name as I've uploaded and download the cropped image. Please visit the following link: \r\n[http://nazrulkabir.com/imagecrop/]"},"comment":{"url":"https://api.github.com/repos/Foliotek/Croppie/issues/comments/255746988","html_url":"https://github.com/Foliotek/Croppie/issues/231#issuecomment-255746988","issue_url":"https://api.github.com/repos/Foliotek/Croppie/issues/231","id":255746988,"user":{"login":"thedustinsmith","id":1330308,"avatar_url":"https://avatars.githubusercontent.com/u/1330308?v=3","gravatar_id":"","url":"https://api.github.com/users/thedustinsmith","html_url":"https://github.com/thedustinsmith","followers_url":"https://api.github.com/users/thedustinsmith/followers","following_url":"https://api.github.com/users/thedustinsmith/following{/other_user}","gists_url":"https://api.github.com/users/thedustinsmith/gists{/gist_id}","starred_url":"https://api.github.com/users/thedustinsmith/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/thedustinsmith/subscriptions","organizations_url":"https://api.github.com/users/thedustinsmith/orgs","repos_url":"https://api.github.com/users/thedustinsmith/repos","events_url":"https://api.github.com/users/thedustinsmith/events{/privacy}","received_events_url":"https://api.github.com/users/thedustinsmith/received_events","type":"User","site_admin":false},"created_at":"2016-10-24T13:54:48Z","updated_at":"2016-10-24T13:54:48Z","body":"Just capture the file name on the filereader change event, and save the file name.\r\n```\r\nreader.onload = function (e) { \r\n  console.log(e); // the file name should be in here somewhere; Save it into a variable\r\n  //...\r\n};\r\n```\r\n\r\nThen instead of saying `<a download=\"dataurl\" />` ... do `<a download=\"originalfile.ext\" href=\"dataurl\" />`.\r\n\r\nThis isn't really an issue with croppie.  Next time try stackoverflow.com - you'll get help a lot quicker on that site or similar sites than through this repo."}}
{"actor":{"display_login":"thedustinsmith"}}