Manaus Posted October 18, 2013 Share Posted October 18, 2013 Hello, I need to upload an image to the user page, can anybody point me out the basic code for this? This is my code if ($input->post->avatar) { $user->images = $input->post->avatar; $user->save(); } Thank you very much Link to comment Share on other sites More sharing options...
arjen Posted October 18, 2013 Share Posted October 18, 2013 Since $users are basicly the same as $pages you can follow soma's instructions or look into this thread. You are not the first Also you might want to use Google to search the forum with the query: site:processwire.com/talk. 1 Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now