{"action":"created","issue":{"url":"https://api.github.com/repos/Progenitor-Theme/progenitor/issues/19","repository_url":"https://api.github.com/repos/Progenitor-Theme/progenitor","labels_url":"https://api.github.com/repos/Progenitor-Theme/progenitor/issues/19/labels{/name}","comments_url":"https://api.github.com/repos/Progenitor-Theme/progenitor/issues/19/comments","events_url":"https://api.github.com/repos/Progenitor-Theme/progenitor/issues/19/events","html_url":"https://github.com/Progenitor-Theme/progenitor/issues/19","id":298545788,"number":19,"title":"Fancybox Gallery","user":{"login":"danielmrey","id":463123,"avatar_url":"https://avatars3.githubusercontent.com/u/463123?v=4","gravatar_id":"","url":"https://api.github.com/users/danielmrey","html_url":"https://github.com/danielmrey","followers_url":"https://api.github.com/users/danielmrey/followers","following_url":"https://api.github.com/users/danielmrey/following{/other_user}","gists_url":"https://api.github.com/users/danielmrey/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmrey/subscriptions","organizations_url":"https://api.github.com/users/danielmrey/orgs","repos_url":"https://api.github.com/users/danielmrey/repos","events_url":"https://api.github.com/users/danielmrey/events{/privacy}","received_events_url":"https://api.github.com/users/danielmrey/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":1,"created_at":"2018-02-20T10:42:03Z","updated_at":"2018-02-20T14:05:47Z","closed_at":null,"author_association":"CONTRIBUTOR","body":"Hi Simon:\r\n\r\nI just implemented Fancybox Gallery functionality to Wordpress native galleries and it works beautifully.\r\n\r\nI followed the same way you did for bootstrap-4 and font-awesome-5.\r\n\r\n- I didn't use any number for version, I think is best not to put version in folders so is more transportable in future\r\n- Can you please give it a look and let me know if I did it all right?\r\n- I needed to add a piece of code to read the alt tag of the image and place it as caption for the pop up image, this code is in fancybox/fancybox.php, is it ok here or should it go in any other file?\r\n- For web performance speed I'd like to add all the files for Fancybox (1CSS and 2 JS) only when we have a Wordpress gallery, you suggested: if (strpos($post->post_content,'[gallery') === true) {  // load your stuff } but I think this will take a lot of PHP resources as it has to read every time it loads a page and in a page then reads all contents to decide if there is a gallery there, do you know any other way?\r\n\r\nThank you!\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/Progenitor-Theme/progenitor/issues/comments/366987248","html_url":"https://github.com/Progenitor-Theme/progenitor/issues/19#issuecomment-366987248","issue_url":"https://api.github.com/repos/Progenitor-Theme/progenitor/issues/19","id":366987248,"user":{"login":"danielmrey","id":463123,"avatar_url":"https://avatars3.githubusercontent.com/u/463123?v=4","gravatar_id":"","url":"https://api.github.com/users/danielmrey","html_url":"https://github.com/danielmrey","followers_url":"https://api.github.com/users/danielmrey/followers","following_url":"https://api.github.com/users/danielmrey/following{/other_user}","gists_url":"https://api.github.com/users/danielmrey/gists{/gist_id}","starred_url":"https://api.github.com/users/danielmrey/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/danielmrey/subscriptions","organizations_url":"https://api.github.com/users/danielmrey/orgs","repos_url":"https://api.github.com/users/danielmrey/repos","events_url":"https://api.github.com/users/danielmrey/events{/privacy}","received_events_url":"https://api.github.com/users/danielmrey/received_events","type":"User","site_admin":false},"created_at":"2018-02-20T14:05:47Z","updated_at":"2018-02-20T14:05:47Z","author_association":"CONTRIBUTOR","body":"I prefer you do to these 2 changes -4 and -5 if you don't mind"}}
{"actor":{"display_login":"danielmrey"}}