I can’t seem to find the solution to what I assumed would be a very easy-to-crack issue.
I am using Softr as a client portal app and want to allow my users to upload profile photos. However, I can’t seem to figure out how to link an image field to update the avatar icon in the header.
Am I overlooking something obvious?
Thanks in advance!
I don’t think it’s possible, but would love to know if it was!
I’m doing this with my own Members table. You need to have a few bits in place to make it work.
Have a members table that syncs with the softr user table
Set user permissions on the member table to allow editing and specify specific fields included an attachment field for their Avatar. Keep in mind that Airtable does not have a setting to restrict the attachment field to ONE attachment. If the member uploads 10 pictures, the first one in the list is the one that’s displayed.
Edit Permission - Softr Docs
Create a new page with either a list block or a details block. Either one would require a filter to only display the one record where the member ID (I use email address) matches the currently logged-in user.
Allow editing for the list or details block
Block Editing by Users - Softr Docs
I’ve gone a step further to set a default avatar whenever the attachment field is empty. This requires another table and an automation. If you want more details, let me know.
Thank you for your perfectly explained response!
I believe I have set my site up correctly for each of these steps. The photo displays correctly in my list & list details blocks - however, I don’t know how to connect the “profile photo” attachment field to the avatar placeholder in the header. Were you able to connect the two?
I would also love to hear how you set the default avatar! It’s difficult to see that they can upload a profile photo since the field is hidden when empty.
Thanks again for your help!
Hey folks we do work on an avatar solution will be coming up in the next few weeks.
Hey is there any update on this?
Not available yet, however the feature should be launched soon
Hi everyone, I came searching for this solution. Has there been an update yet?