View Single Post
Old 03-08-2017, 03:16 AM   #5
GrannyGrump
Obsessively Dedicated...
GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.GrannyGrump ought to be getting tired of karma fortunes by now.
 
GrannyGrump's Avatar
 
Posts: 3,221
Karma: 35037583
Join Date: May 2011
Location: PA {back in the usa!}
Device: Sony PRS-T2, ADE on PC
Quote:
I changed the values as follows: height="800" width="600"
As long as the values match your image, or are a multiple of your image, it will work.
For example, you should be able to make your view port any multiple of 800x600. But it is simplest to just match the image dimensions.

Quote:
xlink:href="cover.jpg" or xlink:href="../Images/cover.jpg" depends, how the cover-image is named (with path or without). Is that correct???
I think you MUST include the entire path to be safe. I use Sigil to edit, and if the path is not included, the image will not display at all in Sigil, or in ADE for PC. (ADE is the rendering engine for majority of e-ink reading devices.)

The image without path WILL display in Calibre reader, which suggests it might be ok for QT-based reading apps, but it would be best to always include the path in your href definition.

A long time back, Jellby gave me this link for a great tutorial on SVG links at the W3.org wiki : https://www.w3.org/wiki/SVG_Links. Well worth your time to step through the tutorial. And the rest of their wiki, too.
The MobileRead wiki has information about SVG also, which can get you started.
GrannyGrump is offline   Reply With Quote