<img src="{{=URL(r=request, c='default', f='img',
args=product.image)}}" ...

should be

<img src="{{=URL(r=request, c='default', f='download',
args=product.image)}}"

On Aug 28, 12:00 am, Jason Brower <[email protected]> wrote:
> I am running 1.66.2 and have this in the view...
> ---
> <img src="{{=URL(r=request, c='default', f='img', args=product.image)}}"
> alt="The image of {{=product.short_name}}" height="50px"/>
> ---
> And this in the controller...
> ---
> def img():
>     response.download(request,db)
> ---
> And I can see it "Trying to load the image 
> here...http://trimaxsafety.com.tw/welcome/default/product_manager
> I have found the images... they are uploading...
> You are free to upload images to test it out.
> Weird that it's not working.  I thought I have done this a thousand
> times with no issues and now look. :/
> Ideas?
> Regards,
> Jason Brower
--~--~---------~--~----~------------~-------~--~----~
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To post to this group, send email to [email protected]
To unsubscribe from this group, send email to 
[email protected]
For more options, visit this group at 
http://groups.google.com/group/web2py?hl=en
-~----------~----~----~----~------~----~------~--~---

Reply via email to