Image upload and Manipulation in Django
I finally figured it out. The problem was that it was a stream that the uploaded file is stored into, so everytime i read the file it would reach the EOF. 
The only and best way out is to seek(0) everytime we read the file. 
This is also needed when playing with other files also in django.
I am trying upload images and than create an thumbnail of it and than store both in S3. After the file has been uploaded i am first uploading it to S3 and than trying to create thumbnail but it doesn't work as than PIL is not able to recognise the image. And secondly if I create the thumbnail first than while uploading original image I get EOF. 
I think Django allows just once for the uploaded files to be used only once....Please kindly tell me a way to do so....Thanks in advance