Nathan Mische wrote:
        <cfif len(stObj.Photo)>
                <cftry>
                        <cffile action="delete" file="#stObj.Photo#">
                        <cfcatch type="any"></cfcatch>
                </cftry>
        </cfif>

Nathan,

Nice! Worked beautiful. You might want to change the file location from file="#stObj.Photo#" to file="#application.defaultImagePath#/#stObj.Photo#"
(in my case it was a custom subfolder file="#application.defaultImagePath#/photos/#stObj.Photo#", plus I had another file for the homepage version).


Thanks Nathan.  Now I owe you two beers! :)

-Jeff C.

P.S. Perhaps Brendan might want to add that code to the bsPhoto.cfc in the tutorials. It works perfect (except make sure to make that one change I mentioned).

---
You are currently subscribed to farcry-dev as: [EMAIL PROTECTED]
To unsubscribe send a blank email to [EMAIL PROTECTED]
Aussie Macromedia Developers: http://lists.daemon.com.au/

Reply via email to