{"action":"created","issue":{"url":"https://api.github.com/repos/aerkalov/ebooklib/issues/87","labels_url":"https://api.github.com/repos/aerkalov/ebooklib/issues/87/labels{/name}","comments_url":"https://api.github.com/repos/aerkalov/ebooklib/issues/87/comments","events_url":"https://api.github.com/repos/aerkalov/ebooklib/issues/87/events","html_url":"https://github.com/aerkalov/ebooklib/issues/87","id":86578651,"number":87,"title":"Can't display cover on first page","user":{"login":"yomguy","id":135213,"avatar_url":"https://avatars.githubusercontent.com/u/135213?v=3","gravatar_id":"","url":"https://api.github.com/users/yomguy","html_url":"https://github.com/yomguy","followers_url":"https://api.github.com/users/yomguy/followers","following_url":"https://api.github.com/users/yomguy/following{/other_user}","gists_url":"https://api.github.com/users/yomguy/gists{/gist_id}","starred_url":"https://api.github.com/users/yomguy/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/yomguy/subscriptions","organizations_url":"https://api.github.com/users/yomguy/orgs","repos_url":"https://api.github.com/users/yomguy/repos","events_url":"https://api.github.com/users/yomguy/events{/privacy}","received_events_url":"https://api.github.com/users/yomguy/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":5,"created_at":"2015-06-09T12:19:25Z","updated_at":"2015-06-11T11:53:52Z","closed_at":null,"body":"Hi,\r\nFirst, thank you for this great lib.\r\nI don't manage to display the cover on first page. Is there any solution / option for that ? Do I need to add a page manually?\r\nThanks\r\nG\r\n\r\n"},"comment":{"url":"https://api.github.com/repos/aerkalov/ebooklib/issues/comments/111104035","html_url":"https://github.com/aerkalov/ebooklib/issues/87#issuecomment-111104035","issue_url":"https://api.github.com/repos/aerkalov/ebooklib/issues/87","id":111104035,"user":{"login":"aerkalov","id":1003989,"avatar_url":"https://avatars.githubusercontent.com/u/1003989?v=3","gravatar_id":"","url":"https://api.github.com/users/aerkalov","html_url":"https://github.com/aerkalov","followers_url":"https://api.github.com/users/aerkalov/followers","following_url":"https://api.github.com/users/aerkalov/following{/other_user}","gists_url":"https://api.github.com/users/aerkalov/gists{/gist_id}","starred_url":"https://api.github.com/users/aerkalov/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/aerkalov/subscriptions","organizations_url":"https://api.github.com/users/aerkalov/orgs","repos_url":"https://api.github.com/users/aerkalov/repos","events_url":"https://api.github.com/users/aerkalov/events{/privacy}","received_events_url":"https://api.github.com/users/aerkalov/received_events","type":"User","site_admin":false},"created_at":"2015-06-11T11:53:52Z","updated_at":"2015-06-11T11:53:52Z","body":"Defining just ID should work. Here is code sample how I do it in my project (with spine and guide):\r\n\r\n```\r\n    item = ebooklib.epub.EpubHtml(\r\n        uid       = COVER_UID,\r\n        title     = 'title',\r\n        file_name = \"{}/{}\".format(DOCUMENTS_DIR, COVER_FILE_NAME),\r\n        content   = COVER_XML % { \"book_title\" : epub_book.title })\r\n\r\n    epub_book.add_item(item)\r\n    epub_book.spine.insert(0, item)\r\n\r\n    epub_book.guide.insert(0, {\r\n        \"type\"  : \"cover\",\r\n        \"href\"  : item.file_name,\r\n        \"title\" : item.title,\r\n    })\r\n```"}}