Image "thumb" is created, but no changes are reflected

4 posts, 0 answers
  1. Kevin F
    Kevin F avatar
    46 posts
    Member since:
    Sep 2009

    Posted 27 Nov 2012 Link to this post

    I am having a problem with the Image Editor. When we resize and/or crop an image it is not reflected in the saved image. Basically, a copy of the image is created, but none of the changes are there. I am using Firefox 16.0.2 and we are using:

    Telerk.Web.UI_2012_3_1113_Dev_hotfix

    Any help would be greatly appreciated!
  2. Vessy
    Admin
    Vessy avatar
    1389 posts

    Posted 30 Nov 2012 Link to this post

    Hi Jason,

    I assume that you are saving the image through the RadImageEditor1.SaveEditableImage() Server-side method. If this is the case, you will need to disable the CanvasMode of the ImageEditor in order to have this method functioning correctly:
    <telerik:RadImageEditor ID="RadImageEditor1" CanvasMode="No" runat="server" ImageUrl="~/Images/flowers_1000.jpg">
    </telerik:RadImageEditor>

    If that does not help in solving the case, could you explain in more details what exactly do you want to achieve?

    All the best,
    Vesi
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. Kevin F
    Kevin F avatar
    46 posts
    Member since:
    Sep 2009

    Posted 02 Jan 2013 Link to this post

    We are using this to embed the editor:
    <telerik:RadEditor ID="txtContent" runat="server"></telerik:RadEditor>

    We are navigating to the image editor through the RadEditor, we are not using the RadImageEditor tag.

    Thoughts?
  5. Vessy
    Admin
    Vessy avatar
    1389 posts

    Posted 03 Jan 2013 Link to this post

    Hi Jason,

    In order to set the above mentioned property to the the Editor's Image Manager, you need to register the Editor's external dialogs, by setting their path to the ExternalDialogsPath property. After that you will be able to modify the ImageEditor.ascx dialog and disable the paging of the files:
    <telerik:RadImageEditor ID="RadImageEditor1" runat="server" Height="450" Width="816" EnableResize="false" OnClientLoad="OnClientLoad" CanvasMode="No">
    ...
    </telerik:RadImageEditor>

    Note, that When you are using external dialogs in an Editor, it is highly recommended to verify that you use the EditorDialogs folder from the same installation and after that to customize the new dialogs files from scratch.

    The external dialogs could be found in the installation folder of the RadContrlols e.g. C:\Program Files (x86)\Telerik\RadControls for ASP.NET AJAX Q3 2012\EditorDialogs as well as in the RadControls ZIP package.

    All the best,
    Vesi
    the Telerik team
    If you want to get updates on new releases, tips and tricks and sneak peeks at our product labs directly from the developers working on the RadControls for ASP.NET AJAX, subscribe to their blog feed now.
Back to Top