Generally speaking you could extend the users profile and add a field to 
it. Then you could store the image during registration or when a user 
updates his settings. On the page where you want to show the image you 
could check for a image in the profile and show it.

I started my project with pinax, which already hat the 
app django-user-accounts included, i then created a custom profile for my 
users (something like here: 
http://blog.tivix.com/2012/01/06/extending-user-model-in-django/). Now you 
have to adjust the forms for registering and modifying the user settings, 
so the user can set the fields you added to the profile (somewhat like 
this: http://dewful.com/?p=70). The form must contain a file upload field 
where the user can upload the image. Then i would save the image somewhere 
on the server, where you can access it from an template. 

Sorry, that i can not provide a step by step solution, but i hope i could 
push you in the right direction.

regards Christian

Am Dienstag, 30. Juli 2013 08:07:43 UTC+2 schrieb Kakar:
>
> Hello,
> What do I do to let user upload their own images, and as use it as their 
> profile's background.
> I am out of clue. Please advice me.
>
> Thank you.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to django-users+unsubscr...@googlegroups.com.
To post to this group, send email to django-users@googlegroups.com.
Visit this group at http://groups.google.com/group/django-users.
For more options, visit https://groups.google.com/groups/opt_out.


Reply via email to