Re: Wired image file upload problem

2011-09-30 Thread @@
Sorry, it's the size limitation.
Didn't aware the settings.FILE_UPLOAD_MAX_MEMORY_SIZE was changed.

On Thu, Sep 29, 2011 at 5:57 PM, Jian Chang  wrote:

> size limitation?
> it is wired.
> [?]
>
> 2011/9/28 @@ 
>
>> Hi
>> I got a image can't upload while other image works fine, and i use paint
>> open this image and save it as another file, then the other file can be
>> uploaded.
>> The debug page shows the request.FILES is None.
>> The attachment is the image can't upload. Sorry for sending a mail with
>> attachment.
>>
>> Is this problem related to the image exif info?
>> Thanks.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

<<342.gif>>

Re: Wired image file upload problem

2011-09-29 Thread @@
Thanks Dejan,

Now my problem is that I can't got the file from request.FILES , the
request.FILES is None.


On Thu, Sep 29, 2011 at 6:31 PM, Dejan Noveski  wrote:

> Older versions of PIL have issues with incomplete exif data. If you make
> thumbnails or in any way manipulate the image, it wont work. Had this issue
> 2 days ago. Try working with PIL 1.1.7
>
>
> On Thu, Sep 29, 2011 at 12:10 PM, @@  wrote:
>
>> No it's size limitation.  don't know if it was something wrong with exif,
>> cause this is the only thing I found special with this image.
>> I use ms paint open this image and saved it as another image, and the new
>> image can be uploaded with no problem.
>>
>>
>> On Thu, Sep 29, 2011 at 5:57 PM, Jian Chang wrote:
>>
>>> size limitation?
>>> it is wired.
>>> [?]
>>>
>>> 2011/9/28 @@ 
>>>
 Hi
 I got a image can't upload while other image works fine, and i use paint
 open this image and save it as another file, then the other file can be
 uploaded.
 The debug page shows the request.FILES is None.
 The attachment is the image can't upload. Sorry for sending a mail with
 attachment.

 Is this problem related to the image exif info?
 Thanks.

 --
 You received this message because you are subscribed to the Google
 Groups "Django users" group.
 To post to this group, send email to django-users@googlegroups.com.
 To unsubscribe from this group, send email to
 django-users+unsubscr...@googlegroups.com.
 For more options, visit this group at
 http://groups.google.com/group/django-users?hl=en.

>>>
>>>  --
>>> You received this message because you are subscribed to the Google Groups
>>> "Django users" group.
>>> To post to this group, send email to django-users@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> django-users+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/django-users?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>
>
> --
> --
> Dejan Noveski
> Programmer
>
> dr.m...@gmail.com
> Twitter: http://twitter.com/dekomote
>  LinkedIn:
> http://mk.linkedin.com/in/dejannoveski
> GitHub: https://github.com/dekomote
> https://github.com/Atomidata
> Blog: http://brainacle.com
>
> Company: http://www.atomidata.com
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

<<342.gif>>

Re: Wired image file upload problem

2011-09-29 Thread Dejan Noveski
Older versions of PIL have issues with incomplete exif data. If you make
thumbnails or in any way manipulate the image, it wont work. Had this issue
2 days ago. Try working with PIL 1.1.7

On Thu, Sep 29, 2011 at 12:10 PM, @@  wrote:

> No it's size limitation.  don't know if it was something wrong with exif,
> cause this is the only thing I found special with this image.
> I use ms paint open this image and saved it as another image, and the new
> image can be uploaded with no problem.
>
>
> On Thu, Sep 29, 2011 at 5:57 PM, Jian Chang  wrote:
>
>> size limitation?
>> it is wired.
>> [?]
>>
>> 2011/9/28 @@ 
>>
>>> Hi
>>> I got a image can't upload while other image works fine, and i use paint
>>> open this image and save it as another file, then the other file can be
>>> uploaded.
>>> The debug page shows the request.FILES is None.
>>> The attachment is the image can't upload. Sorry for sending a mail with
>>> attachment.
>>>
>>> Is this problem related to the image exif info?
>>> Thanks.
>>>
>>> --
>>> You received this message because you are subscribed to the Google Groups
>>> "Django users" group.
>>> To post to this group, send email to django-users@googlegroups.com.
>>> To unsubscribe from this group, send email to
>>> django-users+unsubscr...@googlegroups.com.
>>> For more options, visit this group at
>>> http://groups.google.com/group/django-users?hl=en.
>>>
>>
>>  --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>



-- 
--
Dejan Noveski
Programmer

dr.m...@gmail.com
Twitter: http://twitter.com/dekomote
LinkedIn:
http://mk.linkedin.com/in/dejannoveski
GitHub: https://github.com/dekomote
https://github.com/Atomidata
Blog: http://brainacle.com

Company: http://www.atomidata.com

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

<<342.gif>>

Re: Wired image file upload problem

2011-09-29 Thread @@
No it's size limitation.  don't know if it was something wrong with exif,
cause this is the only thing I found special with this image.
I use ms paint open this image and saved it as another image, and the new
image can be uploaded with no problem.


On Thu, Sep 29, 2011 at 5:57 PM, Jian Chang  wrote:

> size limitation?
> it is wired.
> [?]
>
> 2011/9/28 @@ 
>
>> Hi
>> I got a image can't upload while other image works fine, and i use paint
>> open this image and save it as another file, then the other file can be
>> uploaded.
>> The debug page shows the request.FILES is None.
>> The attachment is the image can't upload. Sorry for sending a mail with
>> attachment.
>>
>> Is this problem related to the image exif info?
>> Thanks.
>>
>> --
>> You received this message because you are subscribed to the Google Groups
>> "Django users" group.
>> To post to this group, send email to django-users@googlegroups.com.
>> To unsubscribe from this group, send email to
>> django-users+unsubscr...@googlegroups.com.
>> For more options, visit this group at
>> http://groups.google.com/group/django-users?hl=en.
>>
>
>  --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

<<342.gif>>

Re: Wired image file upload problem

2011-09-29 Thread Jian Chang
size limitation?
it is wired.
[?]

2011/9/28 @@ 

> Hi
> I got a image can't upload while other image works fine, and i use paint
> open this image and save it as another file, then the other file can be
> uploaded.
> The debug page shows the request.FILES is None.
> The attachment is the image can't upload. Sorry for sending a mail with
> attachment.
>
> Is this problem related to the image exif info?
> Thanks.
>
> --
> You received this message because you are subscribed to the Google Groups
> "Django users" group.
> To post to this group, send email to django-users@googlegroups.com.
> To unsubscribe from this group, send email to
> django-users+unsubscr...@googlegroups.com.
> For more options, visit this group at
> http://groups.google.com/group/django-users?hl=en.
>

-- 
You received this message because you are subscribed to the Google Groups 
"Django users" group.
To post to this group, send email to django-users@googlegroups.com.
To unsubscribe from this group, send email to 
django-users+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/django-users?hl=en.

<<342.gif>>