Back

If your email is not recognized and you believe it should be, please contact us.

  • You must be logged in to reply to this topic.Login

Grouped image captions cut off

Return to Member Forum

  • Author
    Posts
    • #95769
      Margaret Hunter
      Participant

      I am trying the technique of grouping an image with a caption (in a separate text frame) and anchoring in the text above line, as per Anne-Marie’s videos, with the aim of keeping the image and caption together. I have set up an object style to centre the grouped image+caption and place it above line. I have a CSS style to make objects centred and auto height.

      This does keep the two together, but the captions are sometimes getting chopped off at the bottom if I use Relative to text flow, so I guess the caption frame is not adjusting size when the page size changes or it’s viewed in double column. If I use Relative to text size, the group image+caption is not centred but forced right, so losing some of the image.

      I’d very much appreciate a foolproof description of the right way to keep captions and images together! Thank you.

      Using ID CC 2017

    • #95790
      Aaron Troia
      Participant

      Sorry to say that I have long since given up on trying to keep images and their captions together, it’s almost a loosing battle and one that I really dont believe those who develop e-reader book engines really care about doing right, either that or it just might be really difficult to implement as there is no real defined page since ebooks are really just linear HTML pages linked together by the OPF XML.

      That said I have used a div before with a class that uses the page-break-inside:avoid; attribute which I think helped keep things together, but its really tedious to add around everything in your HTML. I also havent used it in awhile so I’m not guaranteeing that it is absolutely foolproof, so you may need to do some testing and see how its working on your end. I really dont know of any work arounds from working within InDesign, most of my work with this usually happens in the HTML of the unzipped ePub file after InDesign export.

      Aaron

    • #95795
      Margaret Hunter
      Participant

      Thanks, Aaron

    • #95853

      I’ve used Aaron’s solution successfully for epubs (at least on the devices I’ve tested) but it won’t survive conversion to kpf (Kindle). The only way I’ve heard that works for Kindles is the combining captions and images into a single image. While this works it has several drawbacks, not the least is the caption is no longer editable.

      Paul

Viewing 3 reply threads
  • The forum ‘EPUB and eBook’ is closed to new topics and replies.
Forum Ads