iSeller Commerce
iSeller POS Retail
iSeller POS F&B
iSeller POS Express
Crosslight
WebUI
ClientUI
What's New
Download Trial
Web Solution
Mobile Solution
Enterprise Solution
Custom Development
Blog
Community
Latest Development Blogs
ForumPostTopic
Browse By Tag
hi,
i am using the webtexteditor to edit some html page. inorder to add new images i am using media gallery to insert image from my computer. But most of the times i am getting the error. Here i am giving the code i especially using for uploading and screen shot of the error message i am getting
protected void Pre_Initialize(object sender, EventArgs e) { WebTextEditor1.FileUploaderSettings.Enabled = true; WebTextEditor1.FileUploaderSettings.DefaultUploadPath = "image-new/"; WebTextEditor1.FileUploaderSettings.DefaultUploadMediaResource = "image-new/"; WebTextEditorMediaResourceGroup wtemrg = new WebTextEditorMediaResourceGroup(); wtemrg.Name = "BImage"; wtemrg.Text = "CImage"; wtemrg.GroupResourceVisible = true; WebTextEditorResource rmg = new WebTextEditorResource(); rmg.Name = "Image"; rmg.AllowUserUpload = true; rmg.SearchInChildFolder = true; rmg.Text = "AImage"; rmg.Url = "image-new/"; wtemrg.Resources.Add(rmg); WebTextEditor1.MediaResources.Add(wtemrg); WebTextEditor1.LoadContentFromFile(Server.MapPath("Template/"+ Session["template"].ToString()), true); }
thanks and regards
ca
Using the images/Products folder and loading the template from the Product Overview.html, both resource is already in WebTextEditor sample, I could not replicate the "Out of Memory Issue" error. Either during the initial page load or when uploading an image file.
Do you mind providing us with steps tp replicate the scenario? How large is the total file size in the folder you are adding as resource? If the issue occurs during upload, how large is the image you are trying to upload?
the example you provided not contain the option to upload image from local computer. I added the extra needed step . Everything working fine. but some times i am getting the same error.
Further testing in our environment does replicate the error under certain condition. These condition are if the image file contains no extension or a non image file is renamed to have an image extension. Under such condition the "Out of Memory" error is replicated.
For these condition, WebTextEditor will be enchanced to provide a better error message.
I could not replicate the issue using valid image file with different filename or different file size.
I could not replicate the issue on my environment using the jpg image file from the windows Sample Pictures folder. Have you tried using the sample pictures provided by the microsoft to replicate the issue? Do you mind sending us the jpg file you are using for your test that could cause the issue? That way our developer could investigate the issue further.
Tried uploading the image in Firefox 3.6.8 and IE 8 ~5 times each, all uploaded successfully without any issue. Which WebTextEditor and WebUI Framework build are you using? Please try to update you build to the latest one if you have not done so.
or
Choose this if you're already a member of Intersoft Community Forum. You can link your OpenID account to your existing Intersoft Social ID.
Choose this if you don't have an Intersoft account yet. Your authenticated OpenID will be automatically linked to your new Intersoft account.
Enter your Wordpress Blogname