{"action":"created","issue":{"url":"https://api.github.com/repos/koreader/koreader/issues/1813","repository_url":"https://api.github.com/repos/koreader/koreader","labels_url":"https://api.github.com/repos/koreader/koreader/issues/1813/labels{/name}","comments_url":"https://api.github.com/repos/koreader/koreader/issues/1813/comments","events_url":"https://api.github.com/repos/koreader/koreader/issues/1813/events","html_url":"https://github.com/koreader/koreader/issues/1813","id":133383419,"number":1813,"title":"Image display support","user":{"login":"roger64","id":1344670,"avatar_url":"https://avatars.githubusercontent.com/u/1344670?v=3","gravatar_id":"","url":"https://api.github.com/users/roger64","html_url":"https://github.com/roger64","followers_url":"https://api.github.com/users/roger64/followers","following_url":"https://api.github.com/users/roger64/following{/other_user}","gists_url":"https://api.github.com/users/roger64/gists{/gist_id}","starred_url":"https://api.github.com/users/roger64/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/roger64/subscriptions","organizations_url":"https://api.github.com/users/roger64/orgs","repos_url":"https://api.github.com/users/roger64/repos","events_url":"https://api.github.com/users/roger64/events{/privacy}","received_events_url":"https://api.github.com/users/roger64/received_events","type":"User","site_admin":false},"labels":[],"state":"open","locked":false,"assignee":null,"milestone":null,"comments":2,"created_at":"2016-02-13T01:30:28Z","updated_at":"2016-02-18T00:00:01Z","closed_at":null,"body":"Thank you for your tireless work with Koreader!!\r\n\r\nWhile text display support is pretty good, image display seems to be a weak spot for Koreader. Unless I missed something, Koreader ignore some basic CSS properties for images (like _width_ -absolute or relative- or _float_) and applies to all of them an equal treatment. You can choose either to let their size unchanged or increased by a factor two (or three?) till it reaches the full width or height. By default, _cr3.in_i picks up the latter solution.\r\n\r\nThis one size rule cannot fit all.\r\n\r\nI join one EPUB which has been published recently on Mobile Read. It contains some images in the first chapter that illustrate the problems we are facing:\r\n1. The svg cover should be displayed on the same page. As the center image is oversized, we find text in page 1, the image in page 2 and the last text in page 3.\r\n\r\n2. Floating images are treated as block images and go with the flow of text, carrying with them one word of text.\r\n\r\n3. The decoration image (_adorno_) at the end of each chapter is displayed full width while it should be displayed only with a 5em width.\r\n\r\nFor all three kinds of images, the intended effects are ruined by a faulty display.\r\n[Uploading Claudio Bombarnac.epub.zip…]\r\n\r\nit can also be downloaded from  here\r\nhttp://www.mobileread.com/forums/showthread.php?t=268249&highlight=bombarnac\r\n\r\nRoger"},"comment":{"url":"https://api.github.com/repos/koreader/koreader/issues/comments/185466113","html_url":"https://github.com/koreader/koreader/issues/1813#issuecomment-185466113","issue_url":"https://api.github.com/repos/koreader/koreader/issues/1813","id":185466113,"user":{"login":"frankyifei","id":8104251,"avatar_url":"https://avatars.githubusercontent.com/u/8104251?v=3","gravatar_id":"","url":"https://api.github.com/users/frankyifei","html_url":"https://github.com/frankyifei","followers_url":"https://api.github.com/users/frankyifei/followers","following_url":"https://api.github.com/users/frankyifei/following{/other_user}","gists_url":"https://api.github.com/users/frankyifei/gists{/gist_id}","starred_url":"https://api.github.com/users/frankyifei/starred{/owner}{/repo}","subscriptions_url":"https://api.github.com/users/frankyifei/subscriptions","organizations_url":"https://api.github.com/users/frankyifei/orgs","repos_url":"https://api.github.com/users/frankyifei/repos","events_url":"https://api.github.com/users/frankyifei/events{/privacy}","received_events_url":"https://api.github.com/users/frankyifei/received_events","type":"User","site_admin":false},"created_at":"2016-02-18T00:00:01Z","updated_at":"2016-02-18T00:00:01Z","body":"Cre ignores most of these features. it only supports simple image display."}}