is now part of CreativePro.com!

Applying an Object Style when Placing an Image

12

One of the most frustrating aspects of object styles is that you cannot apply one automatically when placing an image. It should work… just select an object style in the Object Styles panel and then place one or more images. Each frame that InDesign makes (when placing the image) should get that object style applied to it.

But it doesn’t work. Instead, the Object Styles panel always reverts back to None. I never knew why until this week’s InDesign Conference here in Seattle. It’s a bug! Oh, well that explains it.

Fortunately, Michael Ninness (InDesign’s senior product mgr) mentioned a little “easter egg” in InDesign CS4 that (sort of) fixes the bug! He calls it an easter egg because it’s an undocumented and not-officially-supported-by-Adobe feature. But it’s a very, very helpful feature!

The trick (and yes, this only works in CS4) is to make a new object style and call it “Place Gun Frame”. That’s it. As long as you have a custom object style that is called Place Gun Frame, it will be applied to any image that is placed using the place cursor. (The term “place gun” goes back to early PageMaker days; lots of folks call it that… but only where owning guns is legal.)

Okay, now for a caveat: Michael thinks there is an undocumented bug in this undocumented feature. He has had problems getting it to work when the Place Gun Frame object style includes a definition for Frame Fitting Options. Somehow the frame fitting options in the object style conflict with the place cursor or something… However, when I try it, the feature works great, with or without Frame Fitting Options specified in the style. So there you go.

David Blatner is the co-founder of the Creative Publishing Network, InDesign Magazine, CreativePro Magazine, and the author or co-author of 15 books, including Real World InDesign. His InDesign videos at LinkedIn Learning (Lynda.com) are among the most watched InDesign training in the world.
You can find more about David at 63p.com

Follow on LinkedIn here
  • Chris says:

    Wait.. so this is a known bug that has existed since before CS4, and it wasn’t fixed? Did you get a reason as to why?

  • Sandee cohen says:

    Great post David.

    And the history of the “Place Gun” name explains why I have always called the cursor icon of a place image or text a “loaded cursor”.

  • Jennie says:

    Sleep or caffeine…one or the other David!

    I work for the local public school system. Am I going to be allowed to use this great little (or not so little when you are placing a batch of images) feature?

    I don’t think I’ll ask the political correctness police. Hmmm, I just realized that the initials for that are pcp. Interesting.

  • Roland says:

    Regardless of the legality of guns, I think they ought to change the name to something equally deadly but legal. Like mother-in-law, chilly-fart or Brumak? ;)

    P.S. if you don’t know what a Brumak is, don’t worry, you’re probably of the wrong generation.

  • Eugene says:

    Noticed this before, and my workaround has been to create the image frame first and apply the style, then place the images into them.

    In fairness, it doesn’t take that long, for what I’m doing anyway.

  • Jay Fresno says:

    Any comments or suggestions about the new InDesign CS4 Save for DreamWeaver command — and if it works well?

  • Jochen Uebel says:

    Hi all.
    I do not think that this is a bug. Instead I see a very strong rule ? which I like very much: Every frame which is created by InDesign (and not by hand) follows always the Object Style [None].
    The same is true for every frame which is drawn by hand using the Rectangle Tool.

  • @Jochen: I respectfully disagree with you. When you draw a shape with the Rectangle tool, the [Basic Graphics Frame] is automatically applied. When you draw a frame with the Type tool, the [Basic Text Frame[ style is automatically applied. We need some method for applying an “automatic” frame for image frames.

    @Jay: As far as I can tell, there is no additional functionality in the XHTML export in CS4.

  • 114 says:

    ?????????¡?????????????????????1200???
    1:????????¡????????????????????????,????????????????????????.?????????.?????û??????????.
    2:???????,???????????????????õ???????.
    3:????????????,????????10·?????.
    4:?????????????????????????????????100??,???????.
    5:??????.???.?????????????.(???????)
    6:??????¼??.???????.???????????????????.
    7:????????????.
    ?????:????
    ????15257822566

  • This “Place Gun Frame” trick still work in CS5. Useful until we get a [Basic Image Frame]…

  • It also works (including the fitting options) in CS6.
    That name has a true magnetic (metallic) attraction, I mean, when it’s present, selecting any other object style in advance, reverts to the Place Gun Frame style when placing a graphic occurs.

  • Ian says:

    This still works in CC 2104…

  • >