On Monday, December 5, 2016 at 8:06:58 PM UTC-8, Áureo Dias Neto wrote:
>
> No, the function show pdf's online, but images, insiste to download it, i 
> want to show it online
>
>

Take a look at the book example (has controller and view).  Link is in the 
edited version of the message you replied to.
(Not sure why the unedited version was still around 2 hours later)

/dps
 

> 2016-12-06 0:19 GMT-02:00 Dave S <[email protected] <javascript:>>:
>
>> On Monday, December 5, 2016 at 3:56:39 PM UTC-8, Áureo Dias Neto wrote:
>>>
>>> It's still downloading files...
>>>
>>>
>> Are you saying that a download request never terminates?   Can you use 
>> your browser's developer tools to see what's happening in terms of 
>> requests-responses (as shown on the network tab)?
>>
>> You might also recognize Antonio's response in the example from Chapter 3 
>> of the web2py book (in image blog):
>> <URL:http://web2py.com/books/default/chapter/29/03/overview#An-image-blog
>> >
>>
>> Good luck!
>>
>> /dps
>>
>>  
>>
>>> 2016-12-05 10:38 GMT-02:00 António Ramos <[email protected]>:
>>>
>>>> i think this helps
>>>>
>>>> def download():
>>>>     return response.download(request,* db,attachment=False*)
>>>>
>>>> 2016-12-05 12:11 GMT+00:00 Áureo Dias Neto <[email protected]>:
>>>>
>>>>> Hello guy's, 
>>>>>
>>>>> I want to show uploaded photos and pdf's documments, to users, online
>>>>>
>>>>> Example, a page show thumbnails of photos uploaded, and when user 
>>>>> click on thumbnail, it open a full photo or pdf online
>>>>>
>>>>> -- 
>>>>> Resources:
>>>>> - http://web2py.com
>>>>> - http://web2py.com/book (Documentation)
>>>>> - http://github.com/web2py/web2py (Source code)
>>>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>>>> --- 
>>>>> You received this message because you are subscribed to the Google 
>>>>> Groups "web2py-users" group.
>>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>>> an email to [email protected].
>>>>> For more options, visit https://groups.google.com/d/optout.
>>>>>
>>>>
>>>> -- 
>>>> Resources:
>>>> - http://web2py.com
>>>> - http://web2py.com/book (Documentation)
>>>> - http://github.com/web2py/web2py (Source code)
>>>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>>>> --- 
>>>> You received this message because you are subscribed to the Google 
>>>> Groups "web2py-users" group.
>>>> To unsubscribe from this group and stop receiving emails from it, send 
>>>> an email to [email protected].
>>>> For more options, visit https://groups.google.com/d/optout.
>>>>
>>>
>>> -- 
>> Resources:
>> - http://web2py.com
>> - http://web2py.com/book (Documentation)
>> - http://github.com/web2py/web2py (Source code)
>> - https://code.google.com/p/web2py/issues/list (Report Issues)
>> --- 
>> You received this message because you are subscribed to the Google Groups 
>> "web2py-users" group.
>> To unsubscribe from this group and stop receiving emails from it, send an 
>> email to [email protected] <javascript:>.
>> For more options, visit https://groups.google.com/d/optout.
>>
>
>

-- 
Resources:
- http://web2py.com
- http://web2py.com/book (Documentation)
- http://github.com/web2py/web2py (Source code)
- https://code.google.com/p/web2py/issues/list (Report Issues)
--- 
You received this message because you are subscribed to the Google Groups 
"web2py-users" group.
To unsubscribe from this group and stop receiving emails from it, send an email 
to [email protected].
For more options, visit https://groups.google.com/d/optout.

Reply via email to