I did with no success.

meta Method: <cffile action=upload, 
photoname=urlencodedformat(cffile.clientfile), I save this in a sql database, I 
recall it, and displayname=urldecode(photoname). Then I <img src=displayname. 
Any files with spaces will not display on 
the client (Firefox on XP, NT4/6 server). I mouse over the dead pic and the 
proper file name appears (Fun Picture.jpg). 
If I right click Properties, I see the %20 in the result. I checked the sql 
data - it is encoded nicely.

fwiw - if I encode Fun+Pictures.jpg, it decodes as Fun Pictures.jpg.


----- Original Message ----- 
From: "Bruce Sorge" <[EMAIL PROTECTED]>
To: "CF-Talk" <cf-talk@houseoffusion.com>
Sent: Friday, May 26, 2006 8:32 PM
Subject: RE: Spacey <img src - sorta OT


| Have you considered using URLDecode?
|
| -----Original Message-----
| From: Philip K. Dunn [mailto:[EMAIL PROTECTED]
| Sent: Friday, May 26, 2006 7:58 PM
| To: CF-Talk
| Subject: Spacey <img src - sorta OT
|
| I am trying to serve image files with spacey names (Fun Picture.jpg) and
| they do not display with <img src=.  They come
| up with the %20 for the space, and show a clean space in Properties.
|
| Is there not a CF function that deals with this? I seem to have solved this
| before but the old gray cells are letting me
| down. Or is there a better site to glean the answer? - tia
|
|
|
|
|
|
|
| 

~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~|
Message: http://www.houseoffusion.com/lists.cfm/link=i:4:241660
Archives: http://www.houseoffusion.com/cf_lists/threads.cfm/4
Subscription: http://www.houseoffusion.com/lists.cfm/link=s:4
Unsubscribe: 
http://www.houseoffusion.com/cf_lists/unsubscribe.cfm?user=11502.10531.4
Donations & Support: http://www.houseoffusion.com/tiny.cfm/54

Reply via email to