Matthew Woodward wrote:
> J.B. Mentzer wrote:
>> This is the path CFIMAGE is trying to use:
>> /stetsonimages/images/gallery/lg/0612-177/wmsr734_0612-181_28.JPG
>
> But what's the FULL path to the image? What OS are you on?
>
>> This doesn't work, either:
>> <cfimage action="grayscale"
>> destfile="/stetsonimages/images/gallery/work/temp.jpg"
>> srcfile="#ExpandPath("wmsr734_0612-181_28.JPG")#">
>
> Is the CFML file the cfimage tag is in located in the *same* directory
> as the image?
No. The index.cfm page includes a template in /wwwroot/dsp/. The
pictures are in /wwwroot/images/[sm] or
[lg]/[event_directory]/[filename].jpg
This is successful, where path_offset = "../" :
<cfset full_path = #path_offset#&"/stetsonimages/"&#img_lg#>
<cfimage action="grayscale"
destfile="#ExpandPath("temp.jpg")#" srcfile="#ExpandPath(full_path)#"
type="jpeg" nameconflict="makeunique">
But it still doesn't show a picture. How do I get it to do that?
Thanks,
* JB *
--~--~---------~--~----~------------~-------~--~----~
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 !!
-~----------~----~----~----~------~----~------~--~---