A safe bet would be rereplace [^a-zA-Z0-9-_] ..:.:.:.:.:.:.:.:.:.:.:.:. Bobby Hartsfield http://acoderslife.com http://cf4em.com
-----Original Message----- From: daniel kessler [mailto:[EMAIL PROTECTED] Sent: Wednesday, May 14, 2008 1:25 PM To: CF-Talk Subject: Re: image size setup Thank you everyone - it's working now. I have a related question, though it's not about referencing. It seems that now that I'm going through java, the images often can't be read because their title contains odd characters - characters that are fine in CF, for example "joe_smiling (small).jpg". In this case the parens mess it up, but I'm not sure what else might. Clearly I should cleanse the image name on the way in. I don't work in java much, so I'm not sure which chars to replace. I have something that cleanses chars but it's not useful for this. I've been googling for illegal path characters but haven't found a list yet. daniel ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~| Adobe® ColdFusion® 8 software 8 is the most important and dramatic release to date Get the Free Trial http://ad.doubleclick.net/clk;192386516;25150098;k Archive: http://www.houseoffusion.com/groups/CF-Talk/message.cfm/messageid:305262 Subscription: http://www.houseoffusion.com/groups/CF-Talk/subscribe.cfm Unsubscribe: http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=89.70.4

