{"action":"created","issue":{"url":"https://api.github.com/repos/DhavalKapil/image-uploader/issues/3","repository_url":"https://api.github.com/repos/DhavalKapil/image-uploader","labels_url":"https://api.github.com/repos/DhavalKapil/image-uploader/issues/3/labels{/name}","comments_url":"https://api.github.com/repos/DhavalKapil/image-uploader/issues/3/comments","events_url":"https://api.github.com/repos/DhavalKapil/image-uploader/issues/3/events","html_url":"https://github.com/DhavalKapil/image-uploader/issues/3","id":158500150,"number":3,"title":"Creates a gibberish file.","user":{"login":"Anuiran","id":2717760,"avatar_url":"https://avatars.githubusercontent.com/u/2717760?v=3","gravatar_id":"","url":"https://api.github.com/users/Anuiran","html_url":"https://github.com/Anuiran","followers_url":"https://api.github.com/users/Anuiran/followers","following_url":"https://api.github.com/users/Anuiran/following{/other_user}","gists_url":"https://api.github.com/users/Anuiran/gists{/gist_id}","starred_url":"https://api.github.com/users/Anuiran/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Anuiran/subscriptions","organizations_url":"https://api.github.com/users/Anuiran/orgs","repos_url":"https://api.github.com/users/Anuiran/repos","events_url":"https://api.github.com/users/Anuiran/events{/privacy}","received_events_url":"https://api.github.com/users/Anuiran/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-06-04T11:14:52Z","updated_at":"2016-06-04T21:22:29Z","closed_at":null,"body":"I am running PHP 7 (might be relevant) and have been trying to use your image-uploader. \r\n\r\nI follow your directions completely, I mean it's all very simple to use. It seems to work perfectly fine... until you go look at the file uploaded. Which ends up being a file with no extension name and full of gibberish. Renaming to a proper file format or opening it in an image program just throws an error that the file might be corrupted.\r\n\r\nI have no idea what I am doing because the steps are super simple, I even test uploading invalid images or file types and it throws errors perfectly. It's all working... minus the resulting file being correct!\r\n"},"comment":{"url":"https://api.github.com/repos/DhavalKapil/image-uploader/issues/comments/223779019","html_url":"https://github.com/DhavalKapil/image-uploader/issues/3#issuecomment-223779019","issue_url":"https://api.github.com/repos/DhavalKapil/image-uploader/issues/3","id":223779019,"user":{"login":"DhavalKapil","id":6170016,"avatar_url":"https://avatars.githubusercontent.com/u/6170016?v=3","gravatar_id":"","url":"https://api.github.com/users/DhavalKapil","html_url":"https://github.com/DhavalKapil","followers_url":"https://api.github.com/users/DhavalKapil/followers","following_url":"https://api.github.com/users/DhavalKapil/following{/other_user}","gists_url":"https://api.github.com/users/DhavalKapil/gists{/gist_id}","starred_url":"https://api.github.com/users/DhavalKapil/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/DhavalKapil/subscriptions","organizations_url":"https://api.github.com/users/DhavalKapil/orgs","repos_url":"https://api.github.com/users/DhavalKapil/repos","events_url":"https://api.github.com/users/DhavalKapil/events{/privacy}","received_events_url":"https://api.github.com/users/DhavalKapil/received_events","type":"User","site_admin":false},"created_at":"2016-06-04T21:22:29Z","updated_at":"2016-06-04T21:22:29Z","body":"Hi! I'm glad you found it easy to use :)\r\n\r\nThe uploaded image file is stored with no extension by implementation.\r\nI didn't quite understand the issue. Is the image file gibberish when it is served or is it just gibberish when it is stored? Is this happening with multiple uploaded files or just 1?\r\n\r\nAlso it would be helpful if you could provide some source code as to how you are using. You can also mail me the uploaded file and the gibberish file at me@dhavalkapil.com. I'll have a look."}}
{"actor":{"display_login":"DhavalKapil"}}