{"action":"opened","issue":{"url":"https://api.github.com/repos/chrisiaut/pictshare/issues/9","repository_url":"https://api.github.com/repos/chrisiaut/pictshare","labels_url":"https://api.github.com/repos/chrisiaut/pictshare/issues/9/labels{/name}","comments_url":"https://api.github.com/repos/chrisiaut/pictshare/issues/9/comments","events_url":"https://api.github.com/repos/chrisiaut/pictshare/issues/9/events","html_url":"https://github.com/chrisiaut/pictshare/issues/9","id":168973585,"number":9,"title":"upload image from cordova","user":{"login":"hmdadou","id":3009307,"avatar_url":"https://avatars.githubusercontent.com/u/3009307?v=3","gravatar_id":"","url":"https://api.github.com/users/hmdadou","html_url":"https://github.com/hmdadou","followers_url":"https://api.github.com/users/hmdadou/followers","following_url":"https://api.github.com/users/hmdadou/following{/other_user}","gists_url":"https://api.github.com/users/hmdadou/gists{/gist_id}","starred_url":"https://api.github.com/users/hmdadou/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/hmdadou/subscriptions","organizations_url":"https://api.github.com/users/hmdadou/orgs","repos_url":"https://api.github.com/users/hmdadou/repos","events_url":"https://api.github.com/users/hmdadou/events{/privacy}","received_events_url":"https://api.github.com/users/hmdadou/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2016-08-02T19:55:03Z","updated_at":"2016-08-02T19:55:03Z","closed_at":null,"body":"Hi there thanks for this great piece of work I've uploaded all files working just fine.\r\nI have one question though I've tried to add the url for upload in my hybrid app in view to upload the image via cordova.\r\nyou have mentioned in your readme file the following.\r\nUPLOAD_CODE\r\nIf set, will show users a code field in the upload form. If it doesn't match your setting, files won't be uploaded.\r\nIf enabled, the Upload API will need the variable upload_code via GET (eg: https://pictshare.net/backend.php?getimage=**https://www.0xf.at/css/imgs/logo.png**&upload_code=YourUploadCodeHere)\r\n\r\nwhat if I am uploading the image from my phone there will be no url per se.\r\nin my file I have the path of the image only.\r\nAny help will be much appreciated"}}
{"actor":{"display_login":"hmdadou"}}