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

Exporting Anchored Text Frame and Picture with Caption

Return to Member Forum

  • Author
    Posts
    • #67561
      Nancy Haupt
      Member

      I have two questions regarding exporting to epub through InDesign CS6 and would really appreciate help. I have spent several hours trying find answers.

      When I group a picture with it’s caption, anchor the group into the text with a custom anchor, apply text wrap, apply custom rasterization and a float in the Object Export Options dialog box, the caption looks fuzzy in the epub after export. Under Custom Rasterization, I am choosing the defaults, JPG and 300 dpi. I realize that the text is being rasterized since I chose custom rasterization. But, this is the only way I can make the caption stay underneath the picture on export. How can a get the caption to stay with the picture and not becoming too pixelated?

      similarly, I have created a text frame (with a callout) and would like the text to wrap around this text frame. Again, I have applied a custom anchor to the callout text frame. I have also applied text wrap and in the Object Export Options dialog box, I have again chosen Custom Rasterization and applied a float to the text frame. When I export to ebub the text in the anchored text frame looks fuzzy. How can I anchor a text frame in an epub and export without the text becoming too pixelated.

      Thanks for your help.

    • #67700
      Anonymous
      Inactive

      I have been struggling with this, too. The problem is that your caption is no longer live and this is definitely not something you want.

      My workaround has been to paste the picture into the flow, and then put the caption in it’s own paragraph style immediately after the picture. I edit the epub after export to put the image + caption into a <div> that includes “sticking” code.

    • #67704
      Anonymous
      Inactive
    • #77652

      Hi! I’ve been struggling with a very similar problem: I’ve had images and captions that i grouped as pairs and anchored into the text. I did not rasterize the text in order to have it flowable. In exporting, ID produces a nice pair of div-tags, one for the image and one for the caption appearing after each other inside another div for them both. Works nice, and you get to style the caption to stand out from the body.

      My problem was however that some of the images appeared after the caption, having only some of them appear before the caption as supposed to (even though all images are more to the top left than the captions on the indesign page). I guess this would be easy to fix in the code but as i had quite a lot of pictures it was important to get it right in the first place when exporting from ID.

      I found the solution: It’s the object that closer to surface than the other, that will appear first in the code. It did not matter which one, pic or caption, was more to the left or right, top or bottom, only the depth within the layer seemed to matter. So: “Bring to front” all images, and they will appear first and will have the reflowable text appear after them without the need of rasterising the text. Probably quite an obvious rule, but took me half a day to realise this was the problem. I might need to keep a more systematic workflow when problems appear :)

      (I’m still working in InDesign CS 6 so I’m not sure if this rule still is valid for more recent versions.)

      Laura’s workaround is also something i considered. But doing it like i describe above, you could straight away get both image and caption inside the same div that’s separate from the body text, and you could apply a class and some sticky css rules for that.

      But being new to epub styling i have to ask: What are the perfect css rules for doing this, for example always having the image+caption appear on top of a page? What’s the css for “sticky” rules you mention?

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