Hoping someone can help with this. I have a repeater connected to a database with people's profiles and would like to set a default picture / avatar for those users who may not wish to put a profile picture. Therefore I have a field in my database called 'profilePicture' and I want to be able to run a query to check if the field is empty for the user and if so, to then display the default image.
I have repeatedly tried to do what is advised in the following threads:
but have not been successful in applying any of these solutions. I've gone round in circles between trying to apply a default picture to the page with the repeater, trying to apply hooks after inserting data and attempting to code a query to check if the field is empty but as a beginner at coding but have spent hours not getting anywhere.
Wonder if someone would be so kind as to help me with this.