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?

Everything PHP is server-side. And displaying images is *always* done through uploading and then displaying it.

The resizing is done using JavaScript, and then communicating back the selected rectangle to the server - *then* GD or whatnot (PIL, ImageMagick) are used to resize the image.

Diez
--
http://mail.python.org/mailman/listinfo/python-list

Reply via email to