Sorry about the code. It's pseudo and not syntactically accurate.
Trying to take a shortcut, here.

Thanks for clarifying that uploadfolder only affects form.accepts.
That makes sense, now that you say it.

Here's a clarification:
#view
{{for x in db().select(db.mytable.ALL):}}
  {{=IMG(_src=URL(r=request,c='default',f='download',args=
[x.auth_user,x.myfile]))}}
  {{pass}}

This only shows images for the currently logged in user. I don't
understand why logging in has any impact on this since I'm not using
the currently logged in value, I'm using the id of the user who
uploaded the image to access the appropriate subfolder under uploads.
-- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to web...@googlegroups.com.
To unsubscribe from this group, send email to 
web2py+unsubscr...@googlegroups.com.
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en.


Reply via email to