Skip to main content
Inspiring
December 7, 2025
Question

stroke on top of image

  • December 7, 2025
  • 4 replies
  • 1013 views

how can I get a strok just on top or at one side of an image?

4 replies

FRIdNGE
December 8, 2025

Use the "group" feature including an adhoc graphic line could be a right way to play … but surely not manually, only with 1 click!  😉

 

Maybe soon on FRIDNGE web site before the end of the year!

 

Original Document (before Script)

 

With 1 click (after Script)

 

Using a Specific Object Style will give a certain elegance to the game result!

 

(^/)  The Jedi

FRIdNGE
December 9, 2025

Just For Fun! Sure I will need an UI palette to make the Game cooler!

 

Samples:

 

W2.pngW3.pngW4.pngW5.png

 

(^/)

Inspiring
December 11, 2025

thank you.

my quesiton was regarding images, but i'm working with text boxes as well, i tried making this format with creating my own lines and covering up the borders with filled frames, when i export it, you can see exactly what i did and it doesn't look professional.
there must be a way to get a stroke only on specific sides. even in word/ publisher it's possible - can anyone help me do this in indesign - create double strokes at the distance i want

hendy_5450_0-1765442913935.png


and to how to get strokes on only specific sides..

hendy_5450_1-1765442948836.png

 

 

Willi Adelberger
Community Expert
Community Expert
December 7, 2025

Put it into a text as anchored frame and use a paragraph styles without with paragraph frame with top stroke only or use paragraph re. 

Dave Creamer of IDEAS
Community Expert
Community Expert
December 7, 2025

Another method is to color the background of the image frame and enlarge the frame slightly. This assumes the top of the image is not cropped by the frame. You can use the Control panel or Transform panel to size the frame precisely. The advantage is you don't have a group but the items move together. 

image.png

 

David Creamer: Community Expert (ACI and ACE 1995-2023)
BobLevine
Community Expert
Community Expert
December 7, 2025

And to improve on that, use frame fitting options and set a negative crop amount:

2025-12-07_10-02-34.png

 

Dave Creamer of IDEAS
Community Expert
Community Expert
December 7, 2025

AND set up an Object style to automate the settings.

 

David Creamer: Community Expert (ACI and ACE 1995-2023)
Randy Hagan
Community Expert
Community Expert
December 7, 2025

Not to sound condescending about it, but the fastest way to place a line on the top or side of an image would be to draw one.

 

To bullet-proof it and make sure it stays exactly where you want it, you can use the Object>Arrange>Bring to Front menu command, or its keyboard shortcut, then use the Shift key and click on the underlying image to select both the line and its image, then use the Object>Group menu command or its keyboard equivalent to put the two together as a single InDesign element. You can also save the process as an as an Object Style and then apply it to other relevant images at your control and leisure. You can learn more about Object Styles through this link. Read through the follow-on links from that help page and you'll be an object-stylin' pro in no time.

 

Hope this helps,

 

Randy

BobLevine
Community Expert
Community Expert
December 7, 2025

Exactly. The OP appears to be completely overthinking this one. This is a piece of cake if smartguides are turned on.