Click here to Skip to main content
15,908,768 members
Please Sign up or sign in to vote.
0.00/5 (No votes)
See more:
Hi guys,

All Image Names which are having special characters or space in their Name are not displayed on the server my question is. Is there any way through which we can display those images other than writing code from removing special character from Image Name



Thanks
Posted
Updated 29-Sep-11 23:26pm
v2

No. The problem is that the space ends the src tag of the HTML img command. I would try to remove them when the file is added to the server, rather than when it is retrieved.
 
Share this answer
 
You can only remove the special symbols from the file name when you are trying to upload the file. Use regular expression or JQuery to do the same

refer this thread
http://www.dreamincode.net/forums/topic/51561-help-removing-special-characters-from-uploaded-files/[^]
 
Share this answer
 
Comments
Mahendra.p25 1-Oct-11 6:03am    
i know that (other than writing code from removing special character from Image Name)
what i was asking,is there any way without writing code for it, i mean on server or through encoding.

This content, along with any associated source code and files, is licensed under The Code Project Open License (CPOL)



CodeProject, 20 Bay Street, 11th Floor Toronto, Ontario, Canada M5J 2N8 +1 (416) 849-8900