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 web2py@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