not 100% thread safe but ok in most of the cases.
On Sep 1, 5:57 pm, Jose <jjac...@gmail.com> wrote: > What I did was the following: > 1) upload image > 2) resize the image on the server > > if form.accepts(request.vars, session): > import os > import my_module_resize > > id = form.vars.id > row= mytable[id] > path = os.path.join(os.getcwd(), 'applications', 'myapp', > 'uploads', row.image) > my_module_resize.resize(path) > ... > redirect()