{"action":"opened","issue":{"url":"https://api.github.com/repos/pascoual/meteor-pdfkit/issues/14","labels_url":"https://api.github.com/repos/pascoual/meteor-pdfkit/issues/14/labels{/name}","comments_url":"https://api.github.com/repos/pascoual/meteor-pdfkit/issues/14/comments","events_url":"https://api.github.com/repos/pascoual/meteor-pdfkit/issues/14/events","html_url":"https://github.com/pascoual/meteor-pdfkit/issues/14","id":59527018,"number":14,"title":"Question: Using an image from project folder","user":{"login":"morlzor","id":6697946,"avatar_url":"https://avatars.githubusercontent.com/u/6697946?v=3","gravatar_id":"","url":"https://api.github.com/users/morlzor","html_url":"https://github.com/morlzor","followers_url":"https://api.github.com/users/morlzor/followers","following_url":"https://api.github.com/users/morlzor/following{/other_user}","gists_url":"https://api.github.com/users/morlzor/gists{/gist_id}","starred_url":"https://api.github.com/users/morlzor/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/morlzor/subscriptions","organizations_url":"https://api.github.com/users/morlzor/orgs","repos_url":"https://api.github.com/users/morlzor/repos","events_url":"https://api.github.com/users/morlzor/events{/privacy}","received_events_url":"https://api.github.com/users/morlzor/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":0,"created_at":"2015-03-02T18:51:54Z","updated_at":"2015-03-02T18:51:54Z","closed_at":null,"body":"Sorry for the newbie question, but I've been going around with this for a while.\r\n\r\nI have an image in my public folder, which i want to use as a header in the pdf. \r\nFrom the Quick Start example, i can see you use a image that is on the db. Is that necessary?\r\n\r\nHow do I use an image from my projects directory?\r\n\r\nIf i just use doc.image(imagePath), i get an error saying that that file/dir doesn't exist.\r\n\r\nThanks"}}