View Single Post
Old 01-16-2023, 08:35 PM   #34
Tenome
Enthusiast
Tenome began at the beginning.
 
Posts: 49
Karma: 26
Join Date: Jan 2022
Device: none
When I run it, it's adding its own ID for the hyperlinking (chapter-1.xhtml#loichapter-1.xhtml0) rather than using the ID I set for the image (<figure id="illustration-2"> parent with an SVG inside etc.), so it doesn't properly work when you click on the hyperlink. Do I have the image IDs in the wrong spot or something? Here's an example image format I use.

Spoiler:

Code:
<figure class="pbafter" id="illustration-1">
	<svg 
	role="img"	aria-describedby="svgtitle svgdesc"	xmlns="http://www.w3.org/2000/svg"
	height="100%"  width="100%"
	preserveAspectRatio="xMidYMid meet" version="1.1"
	viewBox="0 0 1120 1600"
	xmlns:xlink="http://www.w3.org/1999/xlink">
	<image width="1120" height="1600" xlink:href="../Images/c01-1.png" epub:type="z3998:illustration"/>
	<title id="svgtitle">Fana del Moral</title>
	<desc id="svgdesc"></desc>
	</svg>
</figure>

Last edited by Tenome; 01-16-2023 at 08:59 PM.
Tenome is offline