Adding an image to paragraph style

Community Beginner ,
Apr 09, 2022 Apr 09, 2022

Copy link to clipboard

Copied

I'm laying out a 400 page book, in which the same jpg image is inserted above every chapter title. The titles flow within the text, so they fall at all different places throughout the book. I'm thinking there has to be a way to style this is in, so the image always appears with a title, using the same spacing, etc. Placing the image manually over and over and over is not very efficient. Thank you for your help!

TOPICS
How to

Views

246

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines

correct answers 1 Correct answer

Adobe Community Professional , Apr 09, 2022 Apr 09, 2022
You can't add an image to a paragraph style, but there is a quick way to insert your graphic ornament above all the titles by anchoring it. It requires a few steps:  create an object style in which you will set up the position of the anchored objet. Of course, you will have to choose the space before and space after differently than in my exemple  place the graphic frame anywhere on the pasteboard, apply the object style to it (even if it is not anchored)  copy it (using the black arrow)  ...

Likes

Translate

Translate
Adobe Community Professional ,
Apr 09, 2022 Apr 09, 2022

Copy link to clipboard

Copied

You can't add an image to a paragraph style, but there is a quick way to insert your graphic ornament above all the titles by anchoring it. It requires a few steps:

  1.  create an object style in which you will set up the position of the anchored objet. Of course, you will have to choose the space before and space after differently than in my exemple
    Capture d’écran 2022-04-09 à 18.12.22.jpg
  2.  place the graphic frame anywhere on the pasteboard, apply the object style to it (even if it is not anchored)
  3.  copy it (using the black arrow)
  4.  run a grep find change, like this:
    Capture d’écran 2022-04-09 à 18.10.48.jpg
    this grep query means that you search the first character of each paragraph formatted with the Title paragraph style and you replace it by itself preceded by the clipboard content.

    So you start with this:

Capture d’écran 2022-04-09 à 18.10.42.jpg

and end with this:

Capture d’écran 2022-04-09 à 18.21.49.jpg

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 09, 2022 Apr 09, 2022

Copy link to clipboard

Copied

You're a genius! Apparently I am not. 😞 When I click find/change, I finally saw that it inserted the correctly sized rectangle, but it's blank, not filled with the graphic. So I must be doing something wrong in setting up my object style? 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 09, 2022 Apr 09, 2022

Copy link to clipboard

Copied

PS: To clarify the screenshot that shows a blue insertion box as well as the graphic, the graphic that's shown was manually placed earlier, I just didn't remove it.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 09, 2022 Apr 09, 2022

Copy link to clipboard

Copied

Your object style seems correct, and your grep query also (even if I don't understand why you apply a paragraph style AND a character style to the titles, which is useless). Your screenshot shows that the anchored object is a group (although it should not be a problem) and you wrote that you needed to insert a graphic frame, so I wonder why it is a group. Are you sure that you have actually copied the graphic frame and not this group?

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 09, 2022 Apr 09, 2022

Copy link to clipboard

Copied

Of course! It probably copied as a group because I hadn't imported the graphic properly (I did a copy/paste from AI - I know that's a big no-no, it was just a visual test in the early stages of design).

 

Now I have indeed imported the graphic as a jpg and it's working... except that it took away the first letter of the title. So then I thought maybe I should give it a little space "before" (which I'd previously set to 0, because sometimes it will be at the top of the page, plus I really don't want space above it in general, as it will throw off my leading). Now it's adding a tab before the first word. I'm hoping there's a simple fix at this point?  (And thank you so much, I'm so much farther along!) 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 09, 2022 Apr 09, 2022

Copy link to clipboard

Copied

I may have written too soon. It doesn't seem to have created a tab on all of them. and as far as the space before, I jsut went into the object's style options and changed the space before to 0, so maybe I'll be okay. I'll test it some more and let you know.

 

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 09, 2022 Apr 09, 2022

Copy link to clipboard

Copied

Thanks again, JMLevy. Your directions were great and I think I've got it under control now. Greatly appreciate your help!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 12, 2022 Apr 12, 2022

Copy link to clipboard

Copied

Hi again! Now that I've got that down, I need to change them all to a different image. Is there a find/change I can do to apply a different image above each title bar? (same dimesnions as the first, btw). Many thanks!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 13, 2022 Apr 13, 2022

Copy link to clipboard

Copied

Simply use the “relink” icon in the Links panel.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 13, 2022 Apr 13, 2022

Copy link to clipboard

Copied

LATEST

Of course! Overtired here. Thank you.

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Adobe Community Professional ,
Apr 09, 2022 Apr 09, 2022

Copy link to clipboard

Copied

Paragraph Styles are used to visually format the layout. They can't contain any content, and they don't have any ability to add content, either.

 

I don't know of any way to do this.

But you might look into software plug-ins that manage automated data such as catalogs and directories.

 

Bevi Chagnon | PubCom | Designer & Technologist for Accessible Documents | Books & Classes | InDesign | PDFs | Office |

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines
Community Beginner ,
Apr 09, 2022 Apr 09, 2022

Copy link to clipboard

Copied

Thanks for responding. See JMLevy's answer above. Did the trick!

Likes

Translate

Translate

Report

Report
Community guidelines
Be kind and respectful, give credit to the original source of content, and search for duplicates before posting. Learn more
community guidelines