Re: Avatar save

2013-08-01 Thread Harjot Mann
On Thu, Aug 1, 2013 at 2:37 PM, Deepak Sharma wrote: > I want that user save that cropped image to his/her favorite > destination (client side). You need to create a view in which you need to return response = HttpResponse(file(fullpath).read()) response['Content-Type'] = 'application/jpg' respo

Re: Avatar save

2013-08-01 Thread Harjot Mann
On Thu, Aug 1, 2013 at 2:37 PM, Deepak Sharma wrote: > I want that user save that cropped image to his/her favorite > destination (client side). Hope this may help you. http://stackoverflow.com/questions/6121200/how-to-save-an-image-using-url-in-python-django -- Harjot Kaur Mann Blog: http://ha

Avatar save

2013-08-01 Thread Deepak Sharma
Hello I am using django-avatar croping tool. Image crop well. That cropped image goes to avatar folder which is in /usr/local/lib/python2.7/dist-packages/django/contrib/admin/media/avatar/. I want that user save that cropped image to his/her favorite destination (client side). -- Deepak Kumar