Ahhh thank you so much. That solves a major headache for me.

On Jun 7, 12:29 pm, mdipierro <mdipie...@cs.depaul.edu> wrote:
> this is a no-no. If you see a .. in a path, something is wrong. This
> is how you do it
>
> <img width="100px"
> src="{{=URL(request.application,'default','download',args=row.file)}}" /
>
>
>
> you must have the 'download' action in default.py
>
> On Jun 7, 11:26 am, Aaron Crowe <aaron.h.cr...@gmail.com> wrote:
>
> > I have an image stored in the database as db.comment.file and I'm
> > trying to view it by using its location in application/My_App_Name/
> > uploads using
>
> > <img width="100px" src="../../uploads/{{=row.file}}" />
>
> > When looking at the page source the filename is correct but the image
> > doesn't render. Is my path wrong for a view in My_App_Name/views/
> > default or am I just missing some basic problem?

Reply via email to