[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[Phpgroupware-users] Re: Some questions...
From: |
totschnig . michael |
Subject: |
[Phpgroupware-users] Re: Some questions... |
Date: |
Fri, 16 May 2003 23:46:23 -0400 |
User-agent: |
Gnus/5.090008 (Oort Gnus v0.08) XEmacs/21.4 (Common Lisp, i386-redhat-linux) |
"Chris Weiss" <address@hidden> a écrit:
> right click the file in phpWH and copy the url, paste that in for the src.
> BTW, I do
> plan on making a simple phpwhimage.php file sometime that you just give the
> phpgw
> path and file name and it'll translate it without having to grant access to
> the anon
> user. (yes I do realize the security risks here and I think they are
> minimal, it's
> not like ppl can browse the files, they'd have to know the path and name
> beforehand.)
FYI: in 0.9.16 there is a "download" module that constructs URLS from
paths to files in the VFS. Until now it always constructed HTML A
elements, but I just adapted it, so that it can also be used to get a
raw URL. Thus it can be used to embed images from the VFS either in
templates or in page content like this:
Look at my picture:
<img src={download?path=/home/michael&file=me.gif}>
Michael