Skip to main content
Participant
November 10, 2023
Question

Number immages

  • November 10, 2023
  • 2 replies
  • 636 views

Hi everyone. Does anyone know the script or a way to number all the images in Indesign like Word does which automatically numbers them by inserting the prefix "Img." and renumbering all the images in case new ones are inserted among those previously inserted?

This topic has been closed for replies.

2 replies

Barb Binder
Community Expert
Community Expert
November 10, 2023

Hi Carlos:

 

Something like this may work for you:

 

But there are a few things to be aware of:

  • Inline images (shown above) are the easiest when it comes to managing numbers—if you have stand-alone frames, sometimes InDesign numbers out of order and it's a PITA to get it straightened out. And you have to draw the frames yourself. If you want to go that route, be sure the default to Continue Numbers Across Stories is enabled..
  • You can only add auto-numbers to paragraphs that have content—that's why each caption shows a space (a dot) and a ¶.
  • I'm showing this using styles: that's definitely the way to go. 
  • If I remove an image/caption combo, the numbers will auto-update.

 

~Barb

~Barb at Rocky Mountain Training
James Gifford—NitroPress
Legend
November 10, 2023

The very short answer is to create a caption style that is associated with each image, and use InDesign's very flexible auto-numbering feature to number the captions automatically. This will renumber any images inserted or moved around in the document. This will work best if you anchor each image and caption to a specific paragraph in the overall text flow. (That is, images or other elements just "pasted" onto pages don't always follow the rules of numbering and flow order.)

 

InDesign's caption feature is a bit complicated and non-intuitive but you can also just group each image with a text frame containing the caption paragraph.