I have a simple table that holds uploaded images
========================
db.define_table('image',
Field('image', 'upload', notnull=True),
)
========================
I would like to obtain the download url for uploaded images. How can I
obtain that in the action, and then render it in the view using
{{=URL}}?
========================
image_upload_form = crud.create(db.image)
if image_upload_form.accepts(request.vars,session):
response.flash = 'Image uploaded'
elif image_upload_form.errors:
response.flash = 'Image form has errors'
========================