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()

