View Single Post
Old 09-25-2020, 01:17 AM   #10
impasto
Enthusiast
impasto began at the beginning.
 
Posts: 26
Karma: 10
Join Date: Jul 2020
Location: Canada
Device: Samsung Galaxy Note 4 (phone), Kindle Paperwhite
Quote:
Originally Posted by Hitch View Post
The links don't work thing is pretty simple--the FXL "print replica" is nothing but images. Not searchable text; one image after another. How can a link work in that environment?
Hitch
I tend to do things somehow differently than others, so my ebook is different than what you anticipated: In addition to the images (i.e. normal pages), I have chapter pages containing text (title of the chapter) and some graphics. The htmlTOC has links to these chapter pages (and the title page), but not the normal pages containing a single image only). Example:
htmltoc.html:
Code:
...
</head>
<body>
<h2>Table of Contents</h2>
<p><a href="content_title.html#h1-t">Title Page</a></p>
<p><a href="content_chapter1.html#h2-1">Chapter 1</a></p>
<p><a href="content_chapter2.html#h2-2">Chapter 2</a></p>
</body>
</html>
chapter file:
Code:
...
<body>
<div id="h2-1"><h2>Chapter 1</h2></div>
<div>
  <p><br /></p>
  <p class="centered"><img width="30%" alt="chapter 1" src="../images/chapterSquare360_ch1.jpg"/></p>
</div>
</body>
</html>
normal-page file:
Code:
...
<body>
<div>
  <img style="height:100%;" alt="page 1_2- secondTower" src="../images/SecondTower2_720-WATER.jpg"/>
</div>
...
The code above (with some minor formatting changes) works fine on Android app in both the fixed layout and the reflowable version.


Quote:
Originally Posted by Hitch View Post
That also, btw--for anybody here that gives a s**t about the actual technology, affects how the images work and zoom--because, if you create an image AS a link--which people do--the activation for the link is DIFFERENT than the zoom functionality.

Hitch
With the code you see above, how would you expect the images in my normal pages to act upon pinch zoom on android app: zoom the image or increase font size only?
Answer: it increases the font size.
What would you suggest to modify to zoom the image instead?
P.s. this is a reflowable version we're talking about now.

Last edited by impasto; 09-25-2020 at 01:31 AM.
impasto is offline   Reply With Quote