[web2py] Python Image resizing... I am soooo close!] SOLVED:]

2010-06-18 Thread Jason Brower
--- Begin Message --- def image(): if len(request.args) == 1: #nothing to change, just give the full image return response.download(request, db) else: import Image import os image_file = request.args[0] image_file = os.path.join(request.folde

[web2py] Python Image resizing... I am soooo close!

2010-06-18 Thread Jason Brower
Right now when I try to use it it tells me a number is required... Huh? And if I statically set w and h it doesn't download the iamges. What am I missing here to make this work? --- def image(): if len(request.args) == 1: #nothing to change, just give the full image return respo