Thanks Ricardo and Niphlod for your help!

On Tuesday, August 27, 2013 5:59:44 PM UTC-4, Niphlod wrote:
>
> you kinda have to. contenttype is automatically guessed from the extension 
> only. There's no "header" instrospection.
>
> On Tuesday, August 27, 2013 9:07:56 PM UTC+2, Adi wrote:
>>
>>
>> This is the example I used for resizing images: 
>> http://stackoverflow.com/questions/273946/how-do-i-resize-an-image-using-pil-and-maintain-its-aspect-ratio,
>>  
>> and the one with extension .thumbnail works fine, but jpeg doesn't. I 
>> didn't set the content-type manually. 
>>  
>>
>> On Tuesday, August 27, 2013 2:39:03 PM UTC-4, Niphlod wrote:
>>>
>>> your thmbnail doesn't have an extension: do you set the content-type 
>>> manually ?
>>>
>>>

-- 

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

Reply via email to