Hi,
I wonder if anyone can help.
I have a table (users) which allows on the edit page a user to select an avatar image from a predefined list in another table (user_avatars).
The edit field is set to radio lookup table (user_avatars). The user_avatar table has two fields, 'id', 'filename' - the filename is written in html code i.e. <img src="avatars/av1.png" />.
At the moment on the edit page I get a list of radio buttons with the html <img src="avatars/av1.png" />, <img src="avatars/av2.png" />, <img src="avatars/av3.png" /> etc but what I would really like is for the image to actually show beside the radio button so that a user can select which avatar they would like to use but I cannot work out how to do this.
Any thoughts would be most appreciated.
Thanks in advance.
Ben