Alan Williamson wrote: > You have a number of things going wrong here. > > The fact you said you said you could browse (using a browser) means that > the file in question does not live in that place on the file system; > I think we're at crossed purposes? Perhaps this will clarify things:
This is the path CFIMAGE is trying to use: /stetsonimages/images/gallery/lg/0612-177/wmsr734_0612-181_28.JPG This displays the image correctly, devoid of any CF code: http://127.0.0.1:3977/stetsonimages/images/gallery/lg/0612-177/wmsr734_0612-181_28.JPG If these paths don't point to the same location, please advise. Fwiw, I tried the long path in the srcfile attribute, without success. This doesn't work, either: <cfimage action="grayscale" destfile="/stetsonimages/images/gallery/work/temp.jpg" srcfile="#ExpandPath("wmsr734_0612-181_28.JPG")#"> Result: Sucess: NO Error: Error loading image. File could not be found, or is an invalid format : /Volumes/Durandal/jetty-openbd_www/webapps/openbd/stetsonimages/wmsr734_0612-181_28.JPG > CFIMAGE needs to know the precise location, so use ExpandPath() to get > the real location. > I did, but the variable in question stores this string: images/gallery/lg/0612-177/wmsr734_0612-181_28.JPG Success, of sorts: I was able to get a YES value from CFIMAGE.success when I did this: <cfimage action="grayscale" destfile="#ExpandPath("temp.jpg")#" srcfile="#ExpandPath("wmsr734_0612-181_28.JPG")#" nameconflict="makeunique"> Downside is the tag looks for the file in the site's root. How do I get it to find the image within its correct subdirectory? Lastly, how do I get CFIMAGE to show the picture in the browser? Instructions on the wiki cause errors. > Secondly, i am fearful this won't work for you anyway, as you said your > ISP has shutdown FILE access; if that is the case, then you may not be > able to write to your file space. Try it though. > Once I get it working here, I'll try it on the production box. > As for FTP -- you can use CFFTP with no problems > Ok ... thanks for the tip. * JB * JB Mentzer > J.B. Mentzer wrote: > >> I'm experimenting with<cfmimage> for the first time on a photogallery >> site that's nearly finished (thanks for the help in the early stages OBD >> list& Matthew!) >> > > > > > > --~--~---------~--~----~------------~-------~--~----~ 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 !! -~----------~----~----~----~------~----~------~--~---
