Yes, it would appear that you don't have the relationship set up properly. But you don't tell us how you set it up either.
It would seem that you need these relationships:
Table 1----<Table 2>-----Table 1 2
Table 1::ID = Table 2::Field 10
Table 1 2::ID = Table 2::Field 12
That will work if you are just dealing with two Images in each table 2 record. But in other relationships may make more sense both here and especially if there are more than two images that you want to link to a given record in Table 2.
You might use this relationship:
Table 2::__pkTable 2ID = Table 1::_fkTable2ID
To link one Table 2 record to many Table 1 images.
Then you could place a series of one row portals on your Table 2 layout and give each a portal filter that each uses the value of a different field such as your fields 10 and 12 to filter for a specific image out of the related set.
And in other cases, if the same image may need to be linked to more than one record in table 2 you may need a join table between table 1 and 2 in your relationship.