You appear to have this relationship:
DeviceTable::DeviceID = PhotoTable::DeviceID_fk
With such a relationship, each record in Phototable should be able to store a different image or reference to an image file.
Enter layout mode and double click your Photo field. Note the name that appears in the drop down at the top of the specify field dialog.
Then close this dialog and compare that name to the one that appears in Show Records From when you double click the portal to bring up the Portal Setup... dialog. Both drop downs should show exactly the same name. If they don't, double click Photo, select the correct table occurrence name from the drop down and reselect the Photo field if it is not already highlighted. Then check to see if the portal now displays the correct image in each portal record.
Also, make sure that Photo does not have global storage enabled and switch to a layout based on the PhotoTable so as to examine each record there to make sure that you haven't somehow inserted the same image in every record's container field.
Thank you. apparently it was something in the way I setup the table or maybe a problem when I made changes to the serial numbering of deviceID. I deleted the photo table and reconstructed it and then when I placed the portal on the layout it fixed the issue. Thank you for your help phil. You are awesome!