I am creating some user as “Website User”. They have individual profile view and they can change their profile picture. Now there must have an attachment option. But how can i upload attachment file. Is there any way to upload image from website.
Please ask your customers to update image and id on Gravatar. If user’s email id and image is found on Gravatar, it will be updated in his/her ERPNext account as well.
Can anyone explain how can i do this in frappe framework? is there any way to do this in frappe? if it not done by frappe framework, i will try row python code.
When you upload, the server return with the path where he put the picture… The picture will be put in sites/your database name/public then, i think, if you use that path in a link you get back the picture. I don’t test it, but some thing like this will do…
You can test uploading the picture then in the browser put the link and see if you get back the picture… or put some picture directly in sites/your database name/public and in the browser try to get that picture, if this work then you can use the second option above.
If you use the option 1) then you can get the picture back with the same procedure i just explain.