Seems like you need two tables instead of one. One table for the record number and data not specific to a given image and a related table of Image and fields of data specific to that image.
MainTable::RecordNumber = Images::RecordNumber
From there, filtered one row portals to images placed on the Main table layout could show Image A, B, C, etc by using a portal filter expression to specify the value in Position. OR a single sorted portal that sorts the records by position could show image A in the first Row, Image B in the second row...