payload: {"action":"created","issue":{"url":"https://api.github.com/repos/theme-next/hexo-theme-next/issues/1166","repository_url":"https://api.github.com/repos/theme-next/hexo-theme-next","labels_url":"https://api.github.com/repos/theme-next/hexo-theme-next/issues/1166/labels{/name}","comments_url":"https://api.github.com/repos/theme-next/hexo-theme-next/issues/1166/comments","events_url":"https://api.github.com/repos/theme-next/hexo-theme-next/issues/1166/events","html_url":"https://github.com/theme-next/hexo-theme-next/pull/1166","id":494458906,"node_id":"MDExOlB1bGxSZXF1ZXN0MzE4MjA1OTc4","number":1166,"title":"Fix fancybox & medium-zoom for hexo asset_img tag","user":{"login":"sankoshine","id":7546269,"node_id":"MDQ6VXNlcjc1NDYyNjk=","avatar_url":"https://avatars2.githubusercontent.com/u/7546269?v=4","gravatar_id":"","url":"https://api.github.com/users/sankoshine","html_url":"https://github.com/sankoshine","followers_url":"https://api.github.com/users/sankoshine/followers","following_url":"https://api.github.com/users/sankoshine/following{/other_user}","gists_url":"https://api.github.com/users/sankoshine/gists{/gist_id}","starred_url":"https://api.github.com/users/sankoshine/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/sankoshine/subscriptions","organizations_url":"https://api.github.com/users/sankoshine/orgs","repos_url":"https://api.github.com/users/sankoshine/repos","events_url":"https://api.github.com/users/sankoshine/events{/privacy}","received_events_url":"https://api.github.com/users/sankoshine/received_events","type":"User","site_admin":false},"labels":[{"id":867698412,"node_id":"MDU6TGFiZWw4Njc2OTg0MTI=","url":"https://api.github.com/repos/theme-next/hexo-theme-next/labels/%F0%9F%90%9E%20Bug%20Fix","name":"🐞 Bug Fix","color":"ee0701","default":false}],"state":"closed","locked":false,"assignee":null,"assignees":[],"milestone":{"url":"https://api.github.com/repos/theme-next/hexo-theme-next/milestones/26","html_url":"https://github.com/theme-next/hexo-theme-next/milestone/26","labels_url":"https://api.github.com/repos/theme-next/hexo-theme-next/milestones/26/labels","id":4618833,"node_id":"MDk6TWlsZXN0b25lNDYxODgzMw==","number":26,"title":"v7.4.1","description":"","creator":{"login":"stevenjoezhang","id":16272760,"node_id":"MDQ6VXNlcjE2MjcyNzYw","avatar_url":"https://avatars2.githubusercontent.com/u/16272760?v=4","gravatar_id":"","url":"https://api.github.com/users/stevenjoezhang","html_url":"https://github.com/stevenjoezhang","followers_url":"https://api.github.com/users/stevenjoezhang/followers","following_url":"https://api.github.com/users/stevenjoezhang/following{/other_user}","gists_url":"https://api.github.com/users/stevenjoezhang/gists{/gist_id}","starred_url":"https://api.github.com/users/stevenjoezhang/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/stevenjoezhang/subscriptions","organizations_url":"https://api.github.com/users/stevenjoezhang/orgs","repos_url":"https://api.github.com/users/stevenjoezhang/repos","events_url":"https://api.github.com/users/stevenjoezhang/events{/privacy}","received_events_url":"https://api.github.com/users/stevenjoezhang/received_events","type":"User","site_admin":false},"open_issues":3,"closed_issues":5,"state":"open","created_at":"2019-08-31T18:29:34Z","updated_at":"2019-09-19T07:34:02Z","due_on":null,"closed_at":null},"comments":8,"created_at":"2019-09-17T07:46:38Z","updated_at":"2019-09-20T10:21:55Z","closed_at":"2019-09-19T07:34:01Z","author_association":"CONTRIBUTOR","pull_request":{"url":"https://api.github.com/repos/theme-next/hexo-theme-next/pulls/1166","html_url":"https://github.com/theme-next/hexo-theme-next/pull/1166","diff_url":"https://github.com/theme-next/hexo-theme-next/pull/1166.diff","patch_url":"https://github.com/theme-next/hexo-theme-next/pull/1166.patch"},"body":"<!-- ATTENTION!\r\n1. Please write pull request readme in English, thanks!\r\n\r\n2. Always remember that NexT includes 4 schemes. And if on one of them works fine after the changes, on another scheme this changes can be broken. Muse and Mist have similar structure, but Pisces is very difference from them. Gemini is a mirror of Pisces with some styles and layouts remakes. So, please make the tests at least on two schemes (Muse or Mist and Pisces or Gemini).\r\n\r\n3. In addition, you need to confirm that the changes made by this PR are compatible with PJAX.\r\n\r\n4. We use ESLint and Stylint for identifying and reporting on patterns in JavaScript and Stylus. Please execute the following commands:\r\n```sh\r\nnpm install\r\nnpm run test\r\nnpm run test lint:stylus\r\n```\r\nAnd make sure that this PR does not cause more warning messages.\r\n-->\r\n\r\n## PR Checklist\r\n**Please check if your PR fulfills the following requirements:**\r\n<!-- Change [ ] to [X] to select -->\r\n\r\n- [x] The commit message follows [our guidelines](https://github.com/theme-next/hexo-theme-next/blob/master/.github/CONTRIBUTING.md).\r\n- [x] Tests for the changes was maked (for bug fixes / features).\r\n   - [x] Mist have been tested.\r\n   - [x] Pisces have been tested.\r\n- [ ] [Docs](https://github.com/theme-next/theme-next.org/tree/source/source/docs) in [NexT website](https://theme-next.org/docs/) have been added / updated (for features).\r\n<!-- For adding Docs edit needed file here: https://github.com/theme-next/theme-next.org/tree/source/source/docs and create PR with this changes here: https://github.com/theme-next/theme-next.org/pulls -->\r\n\r\n## PR Type\r\n**What kind of change does this PR introduce?**\r\n\r\n- [x] Bugfix.\r\n- [ ] Feature.\r\n- [ ] Code style update (formatting, local variables).\r\n- [ ] Refactoring (no functional changes, no api changes).\r\n- [ ] Build related changes.\r\n- [ ] CI related changes.\r\n- [ ] Documentation content changes.\r\n- [ ] Other... Please describe:\r\n\r\n## What is the current behavior?\r\n<!-- Please describe the current behavior that you are modifying, or link to a relevant issue. -->\r\n\r\nIssue resolved: N/A\r\n\r\nIf I use hexo [tag plugins](https://hexo.io/docs/tag-plugins.html#Include-Assets) to insert an image, it will not be rendered as medium zoom style.\r\n\r\ni.e. `{% asset_img 2222.jpg  %}`\r\n\r\n## What is the new behavior?\r\n<!-- Description about this pull, in several words... -->\r\n\r\nMedium zoom take effects on images whether imported with hexo `asset_img` tag or markdown-style `![](image.jpg)`.\r\n\r\n- Screenshots with this changes: N/A\r\n- Link to demo site with this changes: N/A\r\n\r\n### How to use?\r\n\r\nJust set true.\r\n\r\nIn NexT `_config.yml`:\r\n```yml\r\nmediumzoom: true\r\n```\r\n\r\n## Does this PR introduce a breaking change?\r\n- [ ] Yes.\r\n- [x] No.\r\n"},"comment":{"url":"https://api.github.com/repos/theme-next/hexo-theme-next/issues/comments/533497998","html_url":"https://github.com/theme-next/hexo-theme-next/pull/1166#issuecomment-533497998","issue_url":"https://api.github.com/repos/theme-next/hexo-theme-next/issues/1166","id":533497998,"node_id":"MDEyOklzc3VlQ29tbWVudDUzMzQ5Nzk5OA==","user":{"login":"1v9","id":29083921,"node_id":"MDQ6VXNlcjI5MDgzOTIx","avatar_url":"https://avatars1.githubusercontent.com/u/29083921?v=4","gravatar_id":"","url":"https://api.github.com/users/1v9","html_url":"https://github.com/1v9","followers_url":"https://api.github.com/users/1v9/followers","following_url":"https://api.github.com/users/1v9/following{/other_user}","gists_url":"https://api.github.com/users/1v9/gists{/gist_id}","starred_url":"https://api.github.com/users/1v9/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/1v9/subscriptions","organizations_url":"https://api.github.com/users/1v9/orgs","repos_url":"https://api.github.com/users/1v9/repos","events_url":"https://api.github.com/users/1v9/events{/privacy}","received_events_url":"https://api.github.com/users/1v9/received_events","type":"User","site_admin":false},"created_at":"2019-09-20T10:21:55Z","updated_at":"2019-09-20T10:21:55Z","author_association":"MEMBER","body":"@all-contributors please add @sankoshine for bug\r\n\r\n"}}
other: {"actor":{"display_login":"1v9"}}