{"action":"created","issue":{"url":"https://api.github.com/repos/andyvr/picEdit/issues/25","labels_url":"https://api.github.com/repos/andyvr/picEdit/issues/25/labels{/name}","comments_url":"https://api.github.com/repos/andyvr/picEdit/issues/25/comments","events_url":"https://api.github.com/repos/andyvr/picEdit/issues/25/events","html_url":"https://github.com/andyvr/picEdit/issues/25","id":68354392,"number":25,"title":"picEdit submits only the original image","user":{"login":"renebrain","id":9963399,"avatar_url":"https://avatars.githubusercontent.com/u/9963399?v=3","gravatar_id":"","url":"https://api.github.com/users/renebrain","html_url":"https://github.com/renebrain","followers_url":"https://api.github.com/users/renebrain/followers","following_url":"https://api.github.com/users/renebrain/following{/other_user}","gists_url":"https://api.github.com/users/renebrain/gists{/gist_id}","starred_url":"https://api.github.com/users/renebrain/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/renebrain/subscriptions","organizations_url":"https://api.github.com/users/renebrain/orgs","repos_url":"https://api.github.com/users/renebrain/repos","events_url":"https://api.github.com/users/renebrain/events{/privacy}","received_events_url":"https://api.github.com/users/renebrain/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2015-04-14T12:19:49Z","updated_at":"2015-04-14T13:24:05Z","closed_at":null,"body":"Hi,\r\n\r\ni found out about this tool today and added in one of my projects. My problem is, that although i can modify the picture, he always submits the original image. He is not taking any of the changes. Here ist my code:\r\n\r\n \t\t $(\"#image\").picEdit({\r\n\t\t         redirectUrl: baseURL + \"/userinfo\",\r\n\t\t\t defaultImage: false\r\n\t\t });\r\n```xml\r\n<form method=\"POST\" enctype=\"multipart/form-data\" action=\"user/addimage\">\r\n<input id=\"image\" accept=\"image/*\" type=\"file\" name=\"userimage\">\r\n<button type=\"submit\" class=\"btn btn-primary btn-lg\"><spring:message code=\"common.submit.save\"/></button>\r\n</form>\r\n```\r\nWhat am i doing wrong? Is it not working with multipart/form-data or something like that?"},"comment":{"url":"https://api.github.com/repos/andyvr/picEdit/issues/comments/92829966","html_url":"https://github.com/andyvr/picEdit/issues/25#issuecomment-92829966","issue_url":"https://api.github.com/repos/andyvr/picEdit/issues/25","id":92829966,"user":{"login":"simonpapworth6742","id":4234429,"avatar_url":"https://avatars.githubusercontent.com/u/4234429?v=3","gravatar_id":"","url":"https://api.github.com/users/simonpapworth6742","html_url":"https://github.com/simonpapworth6742","followers_url":"https://api.github.com/users/simonpapworth6742/followers","following_url":"https://api.github.com/users/simonpapworth6742/following{/other_user}","gists_url":"https://api.github.com/users/simonpapworth6742/gists{/gist_id}","starred_url":"https://api.github.com/users/simonpapworth6742/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/simonpapworth6742/subscriptions","organizations_url":"https://api.github.com/users/simonpapworth6742/orgs","repos_url":"https://api.github.com/users/simonpapworth6742/repos","events_url":"https://api.github.com/users/simonpapworth6742/events{/privacy}","received_events_url":"https://api.github.com/users/simonpapworth6742/received_events","type":"User","site_admin":false},"created_at":"2015-04-14T13:24:04Z","updated_at":"2015-04-14T13:24:04Z","body":"There is a second image which has your changes, it is submitted at the same time as the first. I ended up changing the script to empty the first image myself."}}