The first alphanumeric code is part of a UUID, and the second code (after 
the ".") is the original filename encoded -- both of which are fixed when 
the file is saved. If you want to generate an absolute URL, you can use 
URL(..., host=True, scheme=True).

Anthony

On Monday, March 23, 2015 at 10:56:07 AM UTC-4, Gael Princivalle wrote:
>
> >is the image is viewable on browser when you use that link?
> >
> http://server/myapp/admin/download/news.image_file.9b935275a22c6075.68333632362e6a7067.jpg
>  
> <http://www.google.com/url?q=http%3A%2F%2Fserver%2Fmyapp%2Fadmin%2Fdownload%2Fnews.image_file.9b935275a22c6075.68333632362e6a7067.jpg&sa=D&sntz=1&usg=AFQjCNFljdpKecgaRXzFGUI2HbHMTVwdcQ>
> Yes.
> So I just have to use that URL. Perfect, I was thinking that the 
> alphanumeric code was not always the same depending of the session.
>
> Thanks again.
>
>
> Il giorno lunedì 23 marzo 2015 15:44:34 UTC+1, 黄祥 ha scritto:
>>
>> pardon me, carriage return is just an example to show that between the 
>> email client might have their own syntax to show or embed image on it.
>> is the image is viewable on browser when you use that link?
>>
>> http://server/myapp/admin/download/news.image_file.9b935275a22c6075.68333632362e6a7067.jpg
>>
>> best regards,
>> stifan
>>
>

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