Update Profile Pic

Hie guys i am tryin to update a profile picture. I tried search for resources on how to go about it but couldn’t find anything.

overwrite
what does overwrite do?? I have it checked and i assumed it overwrites the file already in the directory?

what does overwrite do?? I have it checked and i assumed it overwrites the file already in the directory?

Yes, that makes it possible to replace the existing files with new ones.

Hie guys i am tryin to update a profile picture. I tried search for resources on how to go about it but couldn’t find anything.

Could you tell me, where is this profile? And how do you try to update it?

I have an update profile page and this is my logic. However, this is the only place where the use actually gets to set a profile picture.


i have an upload button on the page and it lets the user upload an image which is then displayed on the icon above

Hi @Dalubuhle_Lunga !

Are the other fields updated?
Could you also provide your app ID?

One more point. If you are uploading file with picture you should store it to the File service first and then provide uploaded file URL to the “profile_pic” field.

Regards, Andriy

hie i think the file upload button is writting to the file service first

here’s my app ID.

544AC90A-D633-2481-FF10-B387FC691800

Thanks.

Hello @Dalubuhle_Lunga

The way to solve your problem looks something like this

Regards,
Viktor