The error says "image" does not have an attribute "file":
image = db.item.image.store(request.vars.image.file, request.vars.image.filename) AttributeError: 'str' object has no attribute 'file' Am I doing it right? Do I need to use FORM() or SQLFORM.factory()?