WOHO!!! I GOT IT!!!!!!!!!!!
I needed to put URL('download', args=images[0])
I was spending time trying to figure out what the heck that
request.args[-1]thing was. Is that even necessary?
On Wednesday, December 5, 2012 2:06:57 PM UTC, Daniele wrote:
>
> Guys I know this sounds simple but I'm having a hard time displaying
> uploaded images. I have an upload field in my model where logged in users
> can upload an image. But in my views when I try to do
> {{=IMG(_src=URL('uploads/', row.image))}} where row is a variable that
> refers to db(db.auth_user.id > 0).select() nothing is being returned.
> However, row.image returns a string which is the name of the file.
> How can I display the image correctly?
>
> Thanks!
>
--