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 <[email protected]> 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