1-888-365-2779
+1-888-365-2779
Try Now
More in this section

Forums / Developing with Sitefinity / Thumbnails in 3.2.?!

Thumbnails in 3.2.?!

6 posts, 0 answered
  1. Ejub Kucuk
    Ejub Kucuk avatar
    4 posts
    Registered:
    03 Mar 2008
    12 Mar 2008
    Link to this post
    Hi,

    Maybe stupid question, but i cant find answer anywhere?!
    In previous version in Editor, there was option for creating thumbnails.
    In v3.2 i cant find it?!

    I know that there is Library now, but how do you expect that some journalist/news writer have knowledge of adding thumb in Editor like:
    http://DOMAIN/SomeSIte/Libraries/News/picture.tmb?width=150&height=150&decreaseOnly=true

    Is there any other simple solution of creating & adding thumbs to News?!

    Also... where images are stored?!

    Thanks
  2. Rebecca
    Rebecca avatar
    536 posts
    Registered:
    24 Sep 2012
    12 Mar 2008
    Link to this post
    Hi Ejub Kucuk,

    The option for creating thumbnails (AllowThumbGeneration) has been removed from RadEditor Prometheus' Image Manager tool. Our RadEditor team are planning to provide a new Image Editor dialog, which will offer the thumbnail generation mechanism. This is going to be released in the official build of RadControls in April.

    However, what you now see in Generic Content is not the original RadEditor Image Manager tool, as we have disabled it in Sitefinity and replaced it with our custom Insert an Image (LibraryImageManager) dialog.

    If you like, you can always switch back to the original Image Manager tool through the ~/Sitefinity/Admin/ControlTemplates/EditorToolsFile.xml file, just insert the highlighted line to enable it:

    <!--tool name="LibraryImageManager" text="Insert an image"/-->
    <tool name="ImageManager" shortcut="CTRL+G"/>

    (Note that the icons for the two tools are the same, so it will be difficult for end users to dicsern between the two dialogs if you leave them both enabled in the EditorToolsFile.xml.)

    What you can do about your journalists:) is make them set the width and height for the uploaded images through the Images & Documents module > Edit images screen. To get a clearer idea how the Images & Documents module works, please refer them to the Sitefinity User Manual, too:) 
    Note that the uploaded images are stored in the project database.

    You can also easily extend Sitefinity to achieve the desired behavior and make their lives easier.
    These are the steps you need to follow in order to accomplish this:
    1. Unzip the attached file in your website directory.
    2. Add this line to the <toolboxControls> section of your application web.config:

    <add name="MyGallery" section="Custom Controls" type="MyGallery, App_Code" /> 

    3. Go to edit your page and drag and drop MyGallery control from the toolbox section "Custom Controls".
    4. When you edit it, you will see that you can add Height and Width to your thumbnails.

    Of course, we'll take your remark into consideration and we'll definitely think of some way to provide similar functionality.
    Thanks for your feedback and involvement.

    Greetings,
    Rebecca
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  3. Ejub Kucuk
    Ejub Kucuk avatar
    4 posts
    Registered:
    03 Mar 2008
    13 Mar 2008
    Link to this post
    Thanks for this BIG answer :)
    I know that we didnt make mistake with buying Your portal.

    I think that this mechanism with Library isnt so bad.
    Why?
    Because we can made, virtually infinite, number of thumbs from one pic. But this to be simple, enough will be to have some popup window where journalist can enter desired proportion and Library link will be auto-created, and eventually click on option, like 'Link this to the picture with original/uploaded size'.

    Sorry on my poor english, but i think You will understood me :)
    Thanks
  4. Nikolay
    Nikolay avatar
    21 posts
    Registered:
    24 Feb 2016
    13 Mar 2008
    Link to this post
    Hello Ejub Kucuk,
    Our intention is to give an opportunity to resize images (create thumbnails) directly in the Insert Image dialog that is in the rich text editor.

    Greetings,
    Nikolay
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  5. Alexander Resnik
    Alexander Resnik avatar
    2 posts
    Registered:
    28 Dec 2005
    24 Oct 2008
    Link to this post
    Hello

    I have changed from LibraryImageManager to ImageManager as you offer. But now dialog witdh is not enough to display new manager - size fields, butons at right e.t.c. Please can you tell me how can I increase dialog width? I see now it is 800px? Can I make it more?

    If possible please answer this evening or at least at weekends - we are planning to show demo for client early next week.

    Thanks

    Alex
  6. Pepi
    Pepi avatar
    981 posts
    Registered:
    31 Jan 2017
    28 Oct 2008
    Link to this post
    Hello Alexander Resnik,

    If I understand correctly you are using ImageManager dialog that is shipped with the RadEditor and you want to customize its width. If it is so, then open ~/Sitefinity/Admin/Themes/Default/AjaxControlsSkins/Sitefinity/Window.css file and modify div.radwindow css like this:

    div.radwindow { 
        background-color#C8D2D4
        border1px solid #557076
        width800px !important; 

    Note that the above will change the width of all RadWindows in Sitefinity.

    Do let us know if this helps.

    All the best,
    Pepi
    the Telerik team

    Check out Telerik Trainer, the state of the art learning tool for Telerik products.
Register for webinar
6 posts, 0 answered