|  10-21-2019, 07:36 AM | #46 | 
| Age improves with wine.            Posts: 596 Karma: 95229 Join Date: Nov 2014 Device: Kindle Oasis, Kobo Libra II | 
			
			Warnings are one thing, but this is reported as an ERROR. And I don't mind ignoring the occasional warning, but I hate ignoring errors. Any chance of downgrading this from an error to a warning?
		 | 
|   |   | 
|  10-21-2019, 07:46 AM | #47 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			Just continue using 100% there are now workarounds for it in both the editor and the viewer and even PDF output.
		 | 
|   |   | 
|  10-21-2019, 09:24 AM | #48 | |
| Resident Curmudgeon            Posts: 80,740 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | Quote: 
 Code: img {
  max-height: 100%;
  max-width: 100%;
}Thanks. | |
|   |   | 
|  10-21-2019, 11:40 PM | #49 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			It works only with the standard recommended markup for displaying full screen images using an SVG tag. Nothing else. And max-width/height only prevent an element from being larger than the specified amount they do not control its size.
		 | 
|   |   | 
|  10-22-2019, 08:38 AM | #50 | |
| Zealot  Posts: 145 Karma: 10 Join Date: Sep 2016 Location: Montréal Québec Device: Kobo Glo; Kobo Libra | Quote: 
 For an image with height superior to its width: height: 100%; width: auto; max-height: 100%; I'm also using "tablet" as Page setup when I convert book. As for svg I use it only when I want to be able to enlarge the image during lecture (maps for example) and sometimes for the cover. You understand that I am not trying to produce the smallest file available. | |
|   |   | 
|  10-25-2019, 09:12 AM | #51 | 
| Age improves with wine.            Posts: 596 Karma: 95229 Join Date: Nov 2014 Device: Kindle Oasis, Kobo Libra II | |
|   |   | 
|  10-25-2019, 10:57 AM | #52 | 
| creator of calibre            Posts: 45,604 Karma: 28548974 Join Date: Oct 2006 Location: Mumbai, India Device: Various | 
			
			100% does not refer to viewport size in modern browsers. But most ebook viewers including calibre's will auto-restrict images to viewport.
		 | 
|   |   | 
|  10-28-2019, 10:46 AM | #53 | 
| Resident Curmudgeon            Posts: 80,740 Karma: 150249619 Join Date: Nov 2006 Location: Roslindale, Massachusetts Device: Kobo Libra 2, Kobo Aura H2O, PRS-650, PRS-T1, nook STR, PW3 | 
			
			But when using hi-res images of a larger height then the Viewer windows, it prevents the image from being too large.
		 | 
|   |   | 
|  | 
| 
 | 
|  Similar Threads | ||||
| Thread | Thread Starter | Forum | Replies | Last Post | 
| How to install & set up Calibre Companion? Step-by-step instructions | DanielLauJJ | Calibre Companion | 0 | 03-28-2019 12:09 PM | 
| Excel VBA: Programming For Complete Beginners, Step-By-Step Illustrated Guide | WilliamBSkates | Self-Promotions by Authors and Publishers | 1 | 10-20-2018 11:51 AM | 
| Touch One step forward, two steps back | Noah98 | Barnes & Noble NOOK | 23 | 06-28-2011 12:47 PM | 
| Apple takes a step back with subscription requirements | Kali Yuga | News | 61 | 06-27-2011 01:08 PM | 
| Unutterably Silly Could everyone please take a step back... | Nate the great | Lounge | 5 | 11-15-2009 10:40 AM |