Varying small and large image display

Learn / Forums / EPUB and eBook / Varying small and large image display

Viewing 2 reply threads
  • Author
    Posts
    • #90450
      Chris Benge
      Member

      I have completed an ePub destined for the Kindle platform. It contains a lot of diagrams with captioned explanations immediately below. When a reader double taps on an image to enlarge it, the author wants the caption to appear beneath the image in order for the reader to be able to ‘read’ the diagram well.

      If I create a parallel set of jpeg images with captions underneath, can I code the html files post-export from InDesign to instruct the epub to display the parallel enlarged captioned image when the user double taps? If so, can anyone please point me to guidance on how to do this.

      Thanks.

    • #90477
      Aaron Troia
      Participant

      Chris,

      Yes you can code those post-export, and its really not too hard. You will have to do a parallel set of images like you said, and then you will wrap your tags with an anchor and that points to the second, parallel image like so:

      Original: <img src="<!--your original image file path-->" alt="This is the image displaying on your page" />

      Modified: <a href="<!--your caption image file path-->"><img src="<!--your original image file path-->" alt="This is the image displaying on your page" /></a>

      Play with that, its been awhile since I’ve done it so hopefully it works for you.

      Aaron

    • #90512
      Chris Benge
      Member

      Thanks Aaron. I’ll apply myself to it!

Viewing 2 reply threads
  • You must be logged in to reply to this topic.
>