Image Manager - Create thumbnail

11 posts, 0 answers
  1. kji
    kji avatar
    2 posts
    Member since:
    Nov 2007

    Posted 14 Nov 2007 Link to this post

    Hi,

    I'm looking for a way to create a thumbnail from the new image manager. I was able to do it with the old-non-prometheus version. In this version, i can't see the button anymore...

    Thank you.

    Pierrot
  2. George
    Admin
    George avatar
    859 posts

    Posted 15 Nov 2007 Link to this post

    Hi Kji,

    We regret to inform you that in RadEditor “Prometheus” for ASP.NET Q2 2007 SP2 (Version Number 2007.2.1107) the image manger's create thumbnail ability is not implemented yet.

    However we have implemented a lot of new features and have fixed some problems which can be reviewed in the list bellow:

    What’s New:
    1. TableWizard, Set Image Properties, Image Map, Page Properties dialogs
    2. Toolbar modes – PageTop, ShowOnFocus and Floating
    3. Three new skins: Telerik, Monochrome, Web20
    4. Full localization support
    5. Implemented NodeInspector module (including AlignmentSelector tool)
    6. Paste dialogs in FireFox implemented allowing for format stripping
    7. FormatCodeBlock dialog
    8. Complete AttributeInspector module, with Undo/Redo support
    9. Dialogs’ server-side API is improved and provides the ability to customize appearance, add new controls etc.
    10. Added showExternalDialog() client-side function for providing backwards compatibility with the old showDialog() function

    What’s Fixed:

    1. Fixed editor tooltips not showing in Firefox
    2. AJAX Spellchecking in FireFox now advances automatically to next word
    3. Bug fixes with Filters and Flash files in FireFox and Opera
    4. FireFox - Fixed jumping of page if disabled tool is pressed in design mode
    5. FireFox - localized message when pressing the "Paste" button
    6. Removed table borders when going into Preview mode
    7. RadEditor is now rending its height correctly when loading invisible (e.g. in a tabstrip)
    8. Several fixes to the editor content filters
    9. Create new folder popup in the manager dialogs is fixed
    10. The split buttons and the toolstrips now have tooltips


    Kind regards,
    George
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. UI for ASP.NET Ajax is Ready for VS 2017
  4. kji
    kji avatar
    2 posts
    Member since:
    Nov 2007

    Posted 15 Nov 2007 Link to this post

    Thank you for your answer. Do you have an idea when this is going to be implemented?

    Regards,

    Pierrot
  5. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 15 Nov 2007 Link to this post

    Hi Pierrot,

    Unfortunately at this point we can not give you an exact time frame when this feature will be implemented in the "Prometheus" version of RadEditor because our schedule for the next Q3 release is pretty much set, but you can be sure that this future will be implemented as soon as possible - most probably this will happen in Q1 which will appear next year.

    Best regards,
    Rumen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Darren Stuart
    Darren Stuart avatar
    3 posts
    Member since:
    Jun 2007

    Posted 06 Mar 2008 Link to this post

    any news on getting this? pretty silly to leave this out. I am going to have to recode a load of work because this is not implemented! my own fault for not checking it.


  7. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 06 Mar 2008 Link to this post

    Hi Darren,

    We plan to implement an Image Editor dialog for the official release of RadEditor "Prometheus" Q1 2008, due in April. This dialog will provide the ability to create thumbnails as well.


    Kind regards,
    Rumen
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  8. Darren Stuart
    Darren Stuart avatar
    3 posts
    Member since:
    Jun 2007

    Posted 06 Mar 2008 Link to this post

    Awesome thanks Rumen, I can live with that date for this project.
  9. Darren Stuart
    Darren Stuart avatar
    3 posts
    Member since:
    Jun 2007

    Posted 20 Jul 2008 Link to this post

    quick question do we have this feature back yet as I can't find it?
  10. Shaun Peet
    Shaun Peet avatar
    571 posts
    Member since:
    Aug 2004

    Posted 20 Jul 2008 Link to this post

    Sort of.  There's an ImageEditor tool which allows for far more than just creating a thumbnail:


    http://www.telerik.com/demos/aspnet/prometheus/Editor/Examples/XhtmlValidatorTrackChangesFormatCodeBlockDialogs/DefaultCS.aspx


    Shaun.
  11. Charles
    Charles avatar
    19 posts
    Member since:
    Sep 2008

    Posted 19 Nov 2008 Link to this post

    Is there a way to link the edited thumb image to the full-size image?
  12. Rumen
    Admin
    Rumen avatar
    12851 posts

    Posted 20 Nov 2008 Link to this post

    Hi Charles,

    You can easily implement the thumbnail linking to the original image file functionality using the new OnClientPasteHtml event of RadEditor. Here is an example:

    <script type="text/javascript">
    function OnClientPasteHtml(sender, args)
    {
        var commandName = args.get_commandName();
        var value = args.get_value();

        if (commandName == "ImageManager")
        {
            var div = document.createElement("DIV");

            Telerik.Web.UI.Editor.Utils.setElementInnerHtml(div,value);

            var img = div.firstChild;
            var src = img.src;
            var thumb = src.substring(src.lastIndexOf("_"));
            var imgTag = div.innerHTML;
           
            if (thumb == "_thumb.jpg")
            {
                args.set_value("<a href='" + src.replace(/\_thumb/gi,'') + "'>" + imgTag + "</a>");
            }
            else imgTag;
        }
    }
    </script>
    <telerik:RadEditor runat="server"
        OnClientPasteHtml="OnClientPasteHtml"
        ImageManager-ViewPaths="~/Images" ImageManager-UploadPaths="~/Images"
        ID="RadEditor1">
    </telerik:RadEditor>


    Best regards,
    Rumen
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Back to Top
UI for ASP.NET Ajax is Ready for VS 2017