Looks like the wiki uses response.download with the default 
attachment=True. Instead of returning auth.wiki() directly, you might try 
calling it and then removing "attachment; " from the beginning of the 
"Content-Disposition" header in response.headers before returning. You can 
also submit an issue on Github about this and refer back to this thread.

Anthony

On Tuesday, May 16, 2017 at 12:44:33 PM UTC-4, Daniel Vogel wrote:
>
> Controller default:
> @auth.requires_login()
> def index():
>     return auth.wiki(force_render=True)
>
> On Monday, May 15, 2017 at 4:27:52 PM UTC+2, Daniel Vogel wrote:
>>
>> Hi
>>
>> I like copy&past from Wiki page (HTML) to LibreOffice Writer.
>> If I copy text, it works. With images in the Markmin syntax, LibreOffice 
>> Writer can't render the image with the given URL.
>> The same test with native (no Wiki page) URL's, for example "
>> http://localhost:8000/abctest/static/_2.14.6/images/background.jpg"; 
>> works. The same, if I load a function in a Wiki page (Upload/Download) it 
>> works.
>> Tried this with Linux LibreOffice and Windows Office 2010, the same.
>>
>> Markmin:
>>
>> ## Test with Image
>> page content
>> @////1/test.png
>>
>> Problem:
>>
>> Not possible to access the URL from LibreOffice Writer.
>>
>> Image URL:
>> http://localhost:8000/abctest/default/index/1/test.png
>>
>> How can I solve the problem?
>>
>> Thanks
>>
>>

-- 
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 web2py+unsubscr...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.

Reply via email to