So, to be more detailed, I have made a database called pictures and have a table called images. I have it set up where the image is retrieved through a filepath. I have it also set up where the record column called"image Id" corresponds to the "record ID" this method somewhat works, the problem is if I open up another table, anything that has that record ID will show the pictures even though it's not meant for that record.
For instance, I have a table that called employees the first record is 1 and it corresponds to the image ID of 1. Now if I open another table lets say days off work, those same pictures would still correspond to record 1 even though it's not intended to. is there a better way to make sure that whatever images I want to see correspond to the correct record?
What I have tried:
I have researched, but I have yet to find a more appropriate answer to my question.