{"action":"created","issue":{"url":"https://api.github.com/repos/getpelican/pelican-plugins/issues/1051","repository_url":"https://api.github.com/repos/getpelican/pelican-plugins","labels_url":"https://api.github.com/repos/getpelican/pelican-plugins/issues/1051/labels{/name}","comments_url":"https://api.github.com/repos/getpelican/pelican-plugins/issues/1051/comments","events_url":"https://api.github.com/repos/getpelican/pelican-plugins/issues/1051/events","html_url":"https://github.com/getpelican/pelican-plugins/issues/1051","id":341864356,"node_id":"MDU6SXNzdWUzNDE4NjQzNTY=","number":1051,"title":"[AsciiDoc] How can I add a picture with a relative path to the created webpage?","user":{"login":"Carniv0re","id":19519813,"node_id":"MDQ6VXNlcjE5NTE5ODEz","avatar_url":"https://avatars0.githubusercontent.com/u/19519813?v=4","gravatar_id":"","url":"https://api.github.com/users/Carniv0re","html_url":"https://github.com/Carniv0re","followers_url":"https://api.github.com/users/Carniv0re/followers","following_url":"https://api.github.com/users/Carniv0re/following{/other_user}","gists_url":"https://api.github.com/users/Carniv0re/gists{/gist_id}","starred_url":"https://api.github.com/users/Carniv0re/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/Carniv0re/subscriptions","organizations_url":"https://api.github.com/users/Carniv0re/orgs","repos_url":"https://api.github.com/users/Carniv0re/repos","events_url":"https://api.github.com/users/Carniv0re/events{/privacy}","received_events_url":"https://api.github.com/users/Carniv0re/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"assignees":[],"milestone":null,"comments":0,"created_at":"2018-07-17T10:42:46Z","updated_at":"2018-08-20T10:31:58Z","closed_at":null,"author_association":"NONE","body":"I've checked the documentation and it tells me to use a path like this:\r\n`{filename}/images/example.jpg`\r\nSo with AsciiDoc, I tried referencing the image like this:\r\n`image::{filename}/images/schoolkids.jpg[]`\r\nbut all it does is print out the line of code as text.\r\nWhat am I doing wrong?\r\n\r\nBest Regards, \r\nDiego"},"comment":{"url":"https://api.github.com/repos/getpelican/pelican-plugins/issues/comments/414271433","html_url":"https://github.com/getpelican/pelican-plugins/issues/1051#issuecomment-414271433","issue_url":"https://api.github.com/repos/getpelican/pelican-plugins/issues/1051","id":414271433,"node_id":"MDEyOklzc3VlQ29tbWVudDQxNDI3MTQzMw==","user":{"login":"mdko","id":2482771,"node_id":"MDQ6VXNlcjI0ODI3NzE=","avatar_url":"https://avatars3.githubusercontent.com/u/2482771?v=4","gravatar_id":"","url":"https://api.github.com/users/mdko","html_url":"https://github.com/mdko","followers_url":"https://api.github.com/users/mdko/followers","following_url":"https://api.github.com/users/mdko/following{/other_user}","gists_url":"https://api.github.com/users/mdko/gists{/gist_id}","starred_url":"https://api.github.com/users/mdko/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/mdko/subscriptions","organizations_url":"https://api.github.com/users/mdko/orgs","repos_url":"https://api.github.com/users/mdko/repos","events_url":"https://api.github.com/users/mdko/events{/privacy}","received_events_url":"https://api.github.com/users/mdko/received_events","type":"User","site_admin":false},"created_at":"2018-08-20T10:31:58Z","updated_at":"2018-08-20T10:31:58Z","author_association":"NONE","body":"I was having the same problem and fixed it by removing one of the colons to make it \"inline\", i.e. `image:{filename}/images/schoolkids.jpg[]`. Maybe it's a problem with the parsing issue in the asciidoc-reader."}}
{"actor":{"display_login":"mdko"}}