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

Forums / Bugs & Issues / Image properties

Image properties

4 posts, 0 answered
  1. Kronos
    Kronos avatar
    17 posts
    Registered:
    08 Apr 2011
    16 May 2011
    Link to this post

    Hi, 

    I have a few questions:

    1) When in the individual properties section, under details, it says there are 4 options (Author, Description, Resize, Thumbnail). However, when expand that box, only Author and Description are available. Possible make resize and thumbnail available as well?

    http://screencast.com/t/7f4R4WhFKxT7


    2) When select an image to include in any area, can select the album but when mouse over the image, cannot see the title of the image. Possible this be set up so that when mouse over the image, can see it's title?

    http://screencast.com/t/eaNB3SwF

    Thanks in advance
  2. Sonya
    Sonya avatar
    205 posts
    Registered:
    09 Dec 2016
    16 May 2011
    Link to this post
    Hello Kronos,

    1. Currently resize and thumbnail  functionality is not available. The label is wrong and we will fix it.

    2. This is a very nice suggestion, thank you. There is a re-design of the Image Widget coming in the next releases. This task is already logged in our system. You can follow its status or vote in PITS. The ID is 4950


    Best wishes,
    Sonya
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Kronos
    Kronos avatar
    17 posts
    Registered:
    08 Apr 2011
    16 May 2011
    Link to this post

    2. Is it possible to make changes in the script that display this window?

    For example inherit user control from image control. Create a script copy for display this window and make some changes. After that load a script copy in user control instead of the original.

  4. Milena
    Milena avatar
    75 posts
    Registered:
    05 Apr 2017
    19 May 2011
    Link to this post
    Hello Kronos,

    Here you can find nice explanation and sample of the concept of sitefinity widgets(controls) and designers :

    http://www.sitefinity.com/blogs/ivan/posts/11-01-18/implementing_sitefinity_widgets_and_designers_how_to_implement_facebook_like_button.aspx

    You need to do following steps:

    1) inherit ImageControl (just empty class, lets say NewImageControl)  

    2) Inherit ImageSelectorDesignerView (e.g. NewImageSelectorDesignerView) and implement specific logic you need there.

    3) Inherit ImageSettingsDesigner class(e.g.NewImageSettingsDesigner ) and override method AddViews(that will allow to add your customized designer NewImageSelectorDesignerView ) like this:

            protected override void AddViews(Dictionary<string, ControlDesignerView> views)
            {
                var insertImageViewSettings = new UploadImageDesignerView();            
                views.Add(insertImageViewSettings.ViewName, insertImageViewSettings);

                var imageSelector = new NewImageSelectorDesignerView();
                views.Add(imageSelector.ViewName, imageSelector);
            }

    4) On the top of  NewImageControl class place ControlDesigner attribute, providing the type of the designer as an argument, like this: [ControlDesigner(typeof(NewImageSettingsDesigner))]

    5) Replace at configuration standard image control with you customized NewImageControl(see attached screenshot).

    Let us know if you find any issues with configuring your custom designer!

    All the best,
    Milena
    the Telerik team
    Do you want to have your say in the Sitefinity development roadmap? Do you want to know when a feature you requested is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
4 posts, 0 answered