What I did was to create a frame (Insert → Frame → Frame) with two columns, the first one being very narrow. Then I created a number range and inserted it. After an Enter, I inserted the picture anchored "as character." You can apply a character style to the number range if needed.