Skip to main content
Inspiring
December 15, 2020
Answered

Orphan Images

  • December 15, 2020
  • 3 replies
  • 990 views

I have several fm files with orhan images. To correct this, I am using Paragraph Designer > Pagination > Next Paragraph. I am doing this manually for every image (hundreds). It there a way to automate this task?

    This topic has been closed for replies.
    Correct answer LinSims

    All of the images are (and must remain in) anchored frames but need to be kept with the paragraph above them. I am able to accomplish this using "Keep With Next Paragraph" in the Paragraph Designer > Pagination menu. I'm looking for a script, keyboard shortcut, or someting that might make applying this to every image in a document a bit easier and faster.


    I put the anchored frame in a paragraph that is specifically and only for graphics. Then I set pagination to keep with paragraph above.

     

    Assuming you have this set up but are not using a special tag for the anchor, create one (I call it anchor), then do a search for Anchored Frames, apply the new paragraph tag, then copy special paragraph format and do a find/change all.

     

    If the anchored frame is NOT in a separate paragraph, you can still do something similar by finding Anchored Frame, then moving the anchor to an empty paragraph tagged with the new anchor tag.

    3 replies

    Community Expert
    December 16, 2020

    I put my images in anchored frames into tables with a single cell.

    The table is anchored in a separate paragraph (anchor).

    This way I have more control over the position of the image and the table title.

    Legend
    December 16, 2020

    I'm intrigued by the requirement, because it's the exact opposite of what I have to do :-} I use the same mechanism as Lin Sims suggested, but have a range of figure styles (depending on the width of the image) set to keep with next and then a caption style.

    Bob_Niland
    Community Expert
    Community Expert
    December 15, 2020

    Can you explain what orphan images means?
    Are these images on the page, rather than in Anchored Frames?
    If in AF, are they ending up as Orphaned paragraphs?

    Inspiring
    December 15, 2020

    By orphan images, I am refering to images that land at the top of a page with no text above them. The paragraph before all of my images must be kept with the image. 

    Bob_Niland
    Community Expert
    Community Expert
    December 15, 2020

    An AF that is anchored to the captioning paragraph normally drags that para (or part of it) to the next page if the AF doesn't fit.

    It sounds like the images are in AFs anchored to isolated empty paras.