Hi Paul,

You can't access the picture directly via a URL, you will have to
access via a CFM with something like:

<cffile action="readbinary" variable="photo" file="/Photos/#URL.ID#">
<cfcontent type="image/jpeg" variable="#photo#" reset="Yes">

Hope this helps.

On Nov 9, 5:02 pm, "Paul Kukiel" <[email protected]> wrote:
> I have OpenBD on GAE.
>
> I used cfhttp to get a file ( picture.png ) I then used cffile to write this
> to the VFS.
>
> cfdirectory lists the file here:
>
> /base/data/home/apps/myapp/1.337642045380650872/gae:/base/data/home/apps/we b
> sheppaul/1.337642045380650872
>
> As z.png
>
> How can I then reference that file so I can then use z.png as an image ie
> <img src="somePath" />
>
> Paul.

--~--~---------~--~----~------------~-------~--~----~
Open BlueDragon Public Mailing List
 http://groups.google.com/group/openbd?hl=en
 official site @ http://www.openbluedragon.org/

!! save a network - trim replies before posting !!
-~----------~----~----~----~------~----~------~--~---

Reply via email to