Re: Python Substitute for PHP GD, Resizing an image on the client side

2008-08-21 Thread brahmaforces
Thanks for your help Diez appreciate it! arjuna http://www.brahmaforces.com -- http://mail.python.org/mailman/listinfo/python-list

Re: Python Substitute for PHP GD, Resizing an image on the client side

2008-08-20 Thread Diez B. Roggisch
brahmaforces wrote: > Hi Diez: > The file browse button will get me a filename on the client machine. > You are saying post will transfer the file itself? I am using straight > cherrypy no turbo gears etc, so ill have to do manually. You need to use POST, and some enctype-this-or-that-stuff. Ther

Re: Python Substitute for PHP GD, Resizing an image on the client side

2008-08-20 Thread brahmaforces
Hi Diez: The file browse button will get me a filename on the client machine. You are saying post will transfer the file itself? I am using straight cherrypy no turbo gears etc, so ill have to do manually. I have not been able to find the javascript on google despite a lot of searching. Would appr

Re: Python Substitute for PHP GD, Resizing an image on the client side

2008-08-19 Thread Diez B. Roggisch
> Does anyone have any code that does the javascript "selecting the > rectangle bit" and uploading to the server. I've based my work in this field on some freely available JS, but don't know what it was called. Google is your friend here. > Also incidentally is ftp > or put the recommended way t

Re: Python Substitute for PHP GD, Resizing an image on the client side

2008-08-19 Thread brahmaforces
Hi Everyone, Thanks for your responses. Sorry I should have been clearer in my question. Yes PHP is server side, and it seems that all image processing using GD or ImageMagicks etc happens on the server. Therefore Diez's suggestion of using javascript to select a rectangle on the client side would

Re: Python Substitute for PHP GD, Resizing an image on the client side

2008-08-18 Thread Diez B. Roggisch
brahmaforces schrieb: Hi Folks, I am using cherrypy and python. I am trying to get a user profile image to resize on the client side before uploading to the server. PHP has a gd library that does it it seems. Has anyone done this in a python environment without uploading to the server? Everyth

Re: Python Substitute for PHP GD, Resizing an image on the client side

2008-08-18 Thread Rob Weir
On 19 Aug 2008, [EMAIL PROTECTED] wrote: > Hi Folks, > > I am using cherrypy and python. I am trying to get a user profile > image to resize on the client side before uploading to the server. PHP > has a gd library that does it it seems. PIL? http://www.pythonware.com/products/pil/. -- -rob -

Re: Python Substitute for PHP GD, Resizing an image on the client side

2008-08-18 Thread Uwe Schmitt
On 19 Aug., 08:32, brahmaforces <[EMAIL PROTECTED]> wrote: > Hi Folks, > > I am using cherrypy and python. I am trying to get a user profile > image to resize on the client side before uploading to the server. PHP > has a gd library that does it it seems. php works on the client side ?? are you su

Python Substitute for PHP GD, Resizing an image on the client side

2008-08-18 Thread brahmaforces
Hi Folks, I am using cherrypy and python. I am trying to get a user profile image to resize on the client side before uploading to the server. PHP has a gd library that does it it seems. Has anyone done this in a python environment without uploading to the server? -- http://mail.python.org/mailman