Problem cropping image

6 views
Skip to first unread message

Fatabbot

unread,
Oct 14, 2011, 2:42:27 AM10/14/11
to CirruxCache
Hi, Sam,

Thank you for you app, it really help me ;-)

I have tried yesterday the image service, but i have one problem with
the crop function :

This image works fine :
http://test.b8cdn.net/api/shutter.jpg?width=300

But this one send me a "bad request" :
http://test.b8cdn.net/api/shutter.jpg?width=300&crop=0.5-0.5-1.0-0.5

Here's my configuration :

urls['default'] = (
'(/api/.*)', 'config.test',
'(/.*)', 'config.Static',
)

class Static(cache.Service):
origin = 'http://static.eu.b8cdn.net'
forceTTL = 31104000 # 1 year
ignoreQueryString = True

class test(image.Service):
origin = 'http://www.baybee.fr'
forceTTL = 86400 # 1 seconde
ignoreQueryString = True


Do you have an idea ?

Thanks by advance !

PS : sorry for my bad english, i'm french,

Benjamin MORETON

Reply all
Reply to author
Forward
0 new messages