Skip to main content
Participating Frequently
March 26, 2018
Answered

What is the best way to add a image with caption?

  • March 26, 2018
  • 3 replies
  • 1715 views

Hi there

I'm trying to add an image with a little text below.  The best way I found is adding an anchored frame at insertion point, inside it I add a text frame (in this frame I write the text centered) and inside it I add another anchored frame at top of column and centered with the image.

Is there something easier? I need to place the image anchored in most cases.

Thanks a lot

    This topic has been closed for replies.
    Correct answer Matt-Tech Comm Tools

    I'd recommend a 1-cell table with a title below for captions below the image.

    However, this may lead to issues in PDF and HTML output, and so I prefer to place the title above, and place the anchored frame in the title.

    For frames without a title, I like using an anchored frame and then using an Object Style to control placement.

    -Matt

    3 replies

    Legend
    March 27, 2018

    My approach is to use two styles, :fig for the paragraph where the frame is anchored and then :figcap for the caption. :fig is set Not fixed, :figcap is set to Keep with previous, and on screen they look like this:

    Matt-Tech Comm Tools
    Community Expert
    Matt-Tech Comm ToolsCommunity ExpertCorrect answer
    Community Expert
    March 26, 2018

    I'd recommend a 1-cell table with a title below for captions below the image.

    However, this may lead to issues in PDF and HTML output, and so I prefer to place the title above, and place the anchored frame in the title.

    For frames without a title, I like using an anchored frame and then using an Object Style to control placement.

    -Matt

    -Matt SullivanFrameMaker Course Creator, Author, Trainer, Consultant
    Bob_Niland
    Community Expert
    Community Expert
    March 26, 2018

    What's the work-flow?

    There are more degrees of freedom on this for PDF or print, vs. XML/HTML/eBook.

    Participating Frequently
    March 27, 2018

    It's a technical guide in pdf format right now.

    Thanks Bob for your time