The uploads seem to be working now, but I still can't figure out how to display them.
I have a line in my controller that gets the images in the database: images = [row.t_Image for row in db().select(db.tutor.ALL)] which I can access in the view with {{=images}} But....how do i get those images to display. I really am having a hard time figuring out how this works... -_- sorry guys 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! > --