Questions about Images and Editor

Last post 06-27-2006, 4:41 PM by Skatematic. 3 replies.
Sort Posts: Previous Next
  •  06-26-2006, 7:03 PM 20495

    Questions about Images and Editor

    On our website, we allow users to upload files and then post them in blogs. Your product seems to work great for this. I would liek to know if it is possible to get the image to be referenced from a file server when it is added into the blog entry rather than referenced directly from the site. For performance reasons we have had to separate media requests from the same server that is running the application. So for example, i would liek to pass in a virtual path, that uses a virtual directory for the file upload, but when the file is being displayed, we would like it to reference the image from another we server? Does this make sense?
     
    Also, i want to know if it is possible to turn off all image manipulation except the select by browsing option. I have removed the "Insert Image" button, but if a user right clicks on the image, they can get back into this gui.
  •  06-26-2006, 8:20 PM 20496 in reply to 20495

    Re: Questions about Images and Editor

    Skatematic,
     
    I suggest you use the following solution.
     
    1. Use absolute paths with the domain name, set Editor.RemoveServerNamesFromUrl property to false and Editor.UseRelativeLinks property to false .

    Example:

    <CE:Editor id="Editor1" RemoveServerNamesFromUrl="false" UseRelativeLinks="false" runat="server"></CE:Editor>
     
    With the above setting, all images will be similar to the following format:
     
    <img height=100 src="http://abc.com/uploads/sample.gif" width=124 border=0>
     
    When extracting data from the editor, use Regular Expression to replace the domain name of the image URLs.
     
    >>Also, i want to know if it is possible to turn off all image manipulation except the select by browsing option. I have removed the "Insert Image" button, but if a user right clicks on the image, they can get back into this gui.
     
    It's possible. Please check the thread below:
     
     
     
     
     

    asp.net Chat http://cutesoft.net/ASP.NET+Chat/default.aspx
    Web Messenger: http://cutesoft.net/Web-Messenger/default.aspx
    asp.net wysiwyg editor: http://cutesoft.net/ASP.NET+WYSIWYG+Editor/default.aspx
    asp wysiwyg html editor: http://cutesoft.net/ASP
    asp.net Image Gallery: http://cutesoft.net/ASP.NET+Image+Gallery/default.aspx
    Live Support: http://cutesoft.net/live-support/default.aspx

  •  06-27-2006, 3:38 PM 20535 in reply to 20496

    Re: Questions about Images and Editor

    Is there any way to do this by modifying code so that the image that gets inserted into the editor has the correct url? we cannot server images properly through our web application. We need to server them througha file server.
  •  06-27-2006, 4:41 PM 20537 in reply to 20496

    Re: Questions about Images and Editor

    I figured out the problem as to why the image was not displaying, so your solution should work now.
     
    I will have a look into the secon problem i was having now and let you know what happens.
     
    Thanks
View as RSS news feed in XML