![]() |
Image Not Visible - Using SVG
I can't get the images that display perfectly in Sigil to display at all on my Nook Basic.
I tried a method I found here to no avail. Here is my code: Style0001.css Code:
.svg_outer {Code:
<?xml version="1.0" encoding="UTF-8" standalone="no" ?> |
A couple of comments. Try to avoid spaces in your filenames, even if they are quoted. It will bite you in the back sooner or later.
The other is more important I guess and will result in an error. Things are case-sensitive. Your path is wrong. The path should be "../Images/01 Title PageBW.jpg". The one below should also work and saves you a nested div. Code:
<?xml version="1.0" encoding="utf-8" standalone="no"?> |
BINGO !!! :thumbsup:
The path was wrong. I corrected that and eliminated spaces in all the file names and now I can see the illustrations. Thank you very much! |
I've never quite understood the advantage of wrapping an image in SVG. Educate me?
|
For one thing automatic centering and automatic adjustment to the size of the screen.
|
What's wrong with this? Especially as the customer will want a mobi version as well.
<body style="border:0;margin:0"> <div style="text-align:center"><img alt="cover-front" src="../Images/cover-front.jpg" width="100%" /></div> </body> |
umm...Try in landscape orientation and tell me.
|
Quote:
SVG allows the biggest image while maintaining Aspect ratio (Did I mention that I also hate 'stretch-o-vision' mode on widescreen TV's? A full moon is ROUND A-wooo! :p ) It is not reliable. Not all images will center on all devices |
But isn't SVG rejected when converting to mobi? And that's what most self-publishing customers want, whether we like it or not.
|
Quote:
Code:
<body style="border:0;margin:0">Regards |
Quote:
Or, if it does work, it must be a "feature" of Kindles, but it's still a reason to use SVG in Sigil and ePub |
Quote:
In Kindle works (you can check that with Kindle Previewer). But let's put that result aside; you are forgetting that the exaltedwombat wants something for .mobi, the old Kindle format. And .svg only works for .kf8. When the image is wider than tall, then the solution could be (without using svg): Code:
<body style="border:0;margin:0">Code:
<body style="border:0;margin:0">Regards Rubén |
:offtopic:
I am very new at this. Three questions:
|
Quote:
Quote:
Quote:
|
Quote:
Quote:
|
| All times are GMT -4. The time now is 08:03 PM. |
Powered by: vBulletin
Copyright ©2000 - 3.8.5, Jelsoft Enterprises Ltd.
MobileRead.com is a privately owned, operated and funded community.