This works, thank you Massimo
El viernes, 26 de abril de 2013, 18:07:06 (UTC+2), Massimo Di Pierro
escribió:
>
> Please open a ticket about this. The problem is that the roles of
> downloading is delegated to the field which stores the upload name. In this
> case it was uploaded using a SQLFORM
Hello Anthony,
It's not my problem actually after more investigation and reading this
thread twice... My case is pretty weird or there is something I don't
understand... But I fall on 404, but files are there correctly named with
the proper read/write permissions... The only thing I made special i
The problem is that the Field object or db adapter contains information
about where the file was uploaded (and whether uploadseparate is True).
However, when using SQLFORM.factory to upload, there is no persistent Field
object or db adapter that can be referenced by response.download, so it has
I think I just fall on this one...
Is this issue fixed, because no ticket seems to have been open??
Thanks
Richard
On Mon, Apr 29, 2013 at 5:39 AM, Domagoj Kovač wrote:
> Thanks!
>
> --
>
> ---
> You received this message because you are subscribed to the Google Groups
> "web2py-users" group.
Thanks!
--
---
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/groups/opt_o
On Mon, Apr 29, 2013 at 9:54 AM, Domagoj Kovač wrote:
> Where can i open a ticket about this?
>
> I am not sure now. I have an image, lets say logo. I want to display this
> image via:
> {{=IMG(_src=URL("default", "download", args="logo.png"), _width="170px")}}
>
> I thought if i move my image to
Where can i open a ticket about this?
I am not sure now. I have an image, lets say logo. I want to display this
image via:
{{=IMG(_src=URL("default", "download", args="logo.png"), _width="170px")}}
I thought if i move my image to static/images folder then this would work.
{{=IMG(_src="/static/
Please open a ticket about this. The problem is that the roles of
downloading is delegated to the field which stores the upload name. In this
case it was uploaded using a SQLFORM.factory ("no_table") and this is a
problem. web2py does not know how to check if the user is allowed to
download
Yes, all of the model files are run on every request, and when you download
an image via the download function, that will generate another request. If
you don't need to apply access controls to the image downloads, you can
upload them into the 'static' folder instead of the 'uploads' folder and
9 matches
Mail list logo