{"action":"created","issue":{"url":"https://api.github.com/repos/gmajian/sandphoto/issues/1","repository_url":"https://api.github.com/repos/gmajian/sandphoto","labels_url":"https://api.github.com/repos/gmajian/sandphoto/issues/1/labels{/name}","comments_url":"https://api.github.com/repos/gmajian/sandphoto/issues/1/comments","events_url":"https://api.github.com/repos/gmajian/sandphoto/issues/1/events","html_url":"https://github.com/gmajian/sandphoto/issues/1","id":144534390,"number":1,"title":"请教一下，这个怎么直接部署在自己网站上","user":{"login":"lilarcor","id":9455380,"avatar_url":"https://avatars.githubusercontent.com/u/9455380?v=3","gravatar_id":"","url":"https://api.github.com/users/lilarcor","html_url":"https://github.com/lilarcor","followers_url":"https://api.github.com/users/lilarcor/followers","following_url":"https://api.github.com/users/lilarcor/following{/other_user}","gists_url":"https://api.github.com/users/lilarcor/gists{/gist_id}","starred_url":"https://api.github.com/users/lilarcor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/lilarcor/subscriptions","organizations_url":"https://api.github.com/users/lilarcor/orgs","repos_url":"https://api.github.com/users/lilarcor/repos","events_url":"https://api.github.com/users/lilarcor/events{/privacy}","received_events_url":"https://api.github.com/users/lilarcor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":1,"created_at":"2016-03-30T10:12:15Z","updated_at":"2016-04-10T16:21:55Z","closed_at":null,"body":""},"comment":{"url":"https://api.github.com/repos/gmajian/sandphoto/issues/comments/208008225","html_url":"https://github.com/gmajian/sandphoto/issues/1#issuecomment-208008225","issue_url":"https://api.github.com/repos/gmajian/sandphoto/issues/1","id":208008225,"user":{"login":"gmajian","id":4533398,"avatar_url":"https://avatars.githubusercontent.com/u/4533398?v=3","gravatar_id":"","url":"https://api.github.com/users/gmajian","html_url":"https://github.com/gmajian","followers_url":"https://api.github.com/users/gmajian/followers","following_url":"https://api.github.com/users/gmajian/following{/other_user}","gists_url":"https://api.github.com/users/gmajian/gists{/gist_id}","starred_url":"https://api.github.com/users/gmajian/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/gmajian/subscriptions","organizations_url":"https://api.github.com/users/gmajian/orgs","repos_url":"https://api.github.com/users/gmajian/repos","events_url":"https://api.github.com/users/gmajian/events{/privacy}","received_events_url":"https://api.github.com/users/gmajian/received_events","type":"User","site_admin":false},"created_at":"2016-04-10T16:21:55Z","updated_at":"2016-04-10T16:21:55Z","body":"不好意思， 其实还有一个index页面，我是集成到我的wordpress了， 主要代码如下：\r\n\r\n```\r\n<script type=\"text/javascript\" src=\"http://www.sandcomp.com/sandphoto/jquery-1.4.4.min.js\"></script>\r\n<script type=\"text/javascript\" src=\"http://www.sandcomp.com/sandphoto/sandphoto.js\"></script>\r\n<form id=\"sandphotoform\" action=\"/sandphoto/sandphoto.php\" method=\"POST\" enctype=\"multipart/form-data\"><strong>第一步</strong>, 选择你要冲洗的证件照片的尺寸：\r\n<?php\r\ninclude('sandphoto/sandphoto.inc');\r\n$parser = new PhotoTypeParser();\r\n$parser->parse('sandphoto/phototype.txt');\r\n$parser->render_select('target_type', 0, 8);\r\necho '[br /]';\r\nprint('[strong]第二步[/strong], 选择用多大的照片冲洗（一般选择6寸的就好，这个价格最合适）:[br /]');\r\n$parser->render_select('container_type', 8);\r\n?>\r\n<strong>第三步</strong>, 选择背景颜色：\r\n<input id=\"bgcolorid\" type=\"radio\" name=\"bgcolorid\" value=\"blue\" checked=\"checked\" /> 蓝色 <input id=\"bgcolorid\" type=\"radio\" name=\"bgcolorid\" value=\"white\" />白色\r\n\r\n将来的照片就是这个样子的：\r\n\r\n<img id=\"previewImg\" alt=\"\" />\r\n\r\n<strong>第四步</strong>, 选择你的证件照片：\r\n\r\n<input id=\"filename\" type=\"file\" name=\"filename\" />\r\n\r\n<strong>最后一步</strong>, 点击下载，照片就可以去冲印了：\r\n\r\n<input type=\"submit\" value=\"下载\" />\r\n\r\n如果你的照片比较大， 上传会花一些时间， 别着急， 请耐心等待。\r\n\r\n</form>\r\n```"}}