Image Name with ID and not the record name.

I try a photo field, but the photo is saved with the row ID and not with the user name which is in a “USER NAME” field which is data from another table which is REF with the Users table.

The images are saved in the folder with the ID, I would like it to be the name given in the USERNAME field.

Is there a function that takes the ID and makes a query in the Users table and brings up their name so that the photo is recorded with the NAME and not the ID?

I’m afraid this is a normal behavior. The image name always contains the value from a key column. Though if you can use your UserName as a key column, then it would use it as a part of it.

1 Like