Dart Home | PowerWEB Zoom for ASP.NET | Custom Development | Reply | PowerWEB Zoom for ASP.NET Topics | Forums |
Author | Forum: PowerWEB Zoom for ASP.NET Topic: Image Name with "." Dot |
surender From: XX, IA India Posts: 2 Member Since: 10/16/06 |
posted October 17, 2006 9:09 AM My File name E.g : EX_12.12.345.EF.Jpg If the Image file names are similar to above then Zoom for Asp.net Tool is not able to Open the Image,Let me know if I can open an image with multiple dots in the filename. Regards, Surender rao k |
Jeff Cranford![]() From: Rome, NY USA Posts: 586 Member Since: 05/30/01 |
posted October 17, 2006 3:40 PM I have verified this as a bug and added it to our database to be addressed in a future release (#4137). In the meantime, you can work around this issue by loading the image as a stream and "cleaning" the filename, as the following code demonstrates. string filename = "C:\\temp\\000.00.05.jpg"; string cleanname = new FileInfo(filename).Name; cleanname = cleanname.Replace(".", "_"); cleanname = cleanname.Replace("_jpg", ".jpg"); FileStream f = new FileStream(filename, FileMode.Open, FileAccess.Read); Zoom1.LoadImage(f, cleanname); Zoom1.SourceImage = cleanname; |
Reply | PowerWEB Zoom for ASP.NET Topics | Forums |
This site is powered by
![]() |