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

Forums / Bugs & Issues / Image Selector from file system

Image Selector from file system

7 posts, 0 answered
  1. Kieran
    Kieran avatar
    56 posts
    Registered:
    14 Aug 2008
    26 Nov 2010
    Link to this post
    Hi,

    I am using SF 3.7. when I try adding an image in a generic content control I am forced to choose from the file system instead of the libraries. 

    Is there a setting that I may have changed to cause this to happen. 

    Thanks
    Kieran
  2. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    26 Nov 2010
    Link to this post
    Hello Kieran,

    1. By default there is a <tool name="LibraryImageManager" /> defined in Sitefinity\Admin\ControlTemplates\EditorToolsFile.xml

    2. This manager is used by Generic Content control. If you have mapped the external template - GenericContentDesigner.ascx make sure that LibraryImageManager exist as a Telerik.Web.UI.Editor.CommandList

    Kind regards,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  3. Kieran
    Kieran avatar
    56 posts
    Registered:
    14 Aug 2008
    26 Nov 2010
    Link to this post
    Hey Ivan

    I have not mapped to any external templates.


    Kieran
  4. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    26 Nov 2010
    Link to this post
    Hi Kieran,

    Then there is no reason for the behavior you are describing. The template is mapped and changed or your have changed EditorToolsFile.xml

    Greetings,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  5. Kieran
    Kieran avatar
    56 posts
    Registered:
    14 Aug 2008
    26 Nov 2010
    Link to this post
    Sorry Ivan

    I'm using 3.6.

    This my Telerik.Sitefinity.Configuration.ControlsConfig.xml

    <?xml version="1.0" encoding="utf-8"?>
    <controlsConfig>
      <viewMap>
        <!--Inserts an event item-->
        <viewSettings hostType="Telerik.Events.WebControls.Admin.EventsItemNew" layoutTemplatePath="~/Sitefinity/Admin/ControlTemplates/Events/EventsItemNew.ascx" />
        <!--Edits an event item-->
        <viewSettings hostType="Telerik.Events.WebControls.Admin.EventsItemEdit" layoutTemplatePath="~/Sitefinity/Admin/ControlTemplates/Events/EventsItemEdit.ascx" />
      </viewMap>
    </controlsConfig>

    And this is the link  in the EditorToolsFile.xml

    <tool name="ImageManager" shortcut="CTRL+G"/>


    Thanks
    Kieran
  6. Ivan Dimitrov
    Ivan Dimitrov avatar
    16072 posts
    Registered:
    09 Dec 2016
    26 Nov 2010
    Link to this post
    Hi Kieran,

    Use LibraryImageManager as suggested. As you can see you have changed this value.

    Best wishes,
    Ivan Dimitrov
    the Telerik team
    Do you want to have your say when we set our development plans? Do you want to know when a feature you care about is added or when a bug fixed? Explore the Telerik Public Issue Tracking system and vote to affect the priority of the items
  7. Kieran
    Kieran avatar
    56 posts
    Registered:
    14 Aug 2008
    26 Nov 2010
    Link to this post
    Sorry,

    Silly me :-)


    Cheers for the help.
    Kieran
Register for webinar
7 posts, 0 answered