ImagesPaths Property: Unable to load current sub site's PublishingImages folder

10 posts, 0 answers
  1. starke
    starke avatar
    10 posts
    Member since:
    May 2007

    Posted 19 Feb 2008 Link to this post

    Hi,

      We have a publishing site using RadEditor as editor field controls. Previously on version 4.3.2, we are able to set the RadEditor's Image Manager to load the current sub site's PublishingImages folder and the root site's SiteCollectionImages folder (at least working for administrator ). After upgrade to the latest version 4.5.0, the Image Manager always load the PublishingImages folder from the root site instead of the current sub site. We've tried to remove the whole ImagesPaths property from the config.xml, but the same result returns. The Image Manager is able to load the correct PublishingImages folder if we state the relative URL to the list in the property, but it's not a feasible solution as our client requires the Images to be store in their own sub sites (about 500 sub sites).

        Any solution / suggestions would be greatly appreciated.


    Thanks & Regards.
    Ji Kai


    <?xml version="1.0" encoding="utf-8" ?> 
    <configuration> 
      <property name="AllowScripts">True</property> 
      <property name="AllowThumbGeneration">True</property> 
      <property name="ConvertToXhtml">True</property> 
      <property name="EnableDocking">False</property> 
      <property name="ShowHtmlMode">True</property> 
      <property name="ShowPreviewMode">False</property> 
      <property name="StripAbsoluteAnchorPaths">False</property> 
      <property name="StripAbsoluteImagesPaths">True</property> 
      <property name="ToolbarMode">ShowOnFocus</property> 
      <property name="ToolsWidth">800px</property> 
      <property name="MaxImageSize">2097152</property> 
      <property name="CssFiles"
        <item>(somelocation)/myDefaultCss.css</item> 
      </property> 
       <property name="Language">en-GB</property> 
      <property name="ImagesPaths"
        <item>SiteCollectionImages</item>    
        <item>PublishingImages</item>  
      </property> 
      <property name="ImagesFilters"
            <item>*.gif</item> 
            <item>*.jpg</item> 
            <item>*.jpeg</item> 
            <item>*.png</item> 
            <item>*.bmp</item> 
      </property> 
    </configuration> 
  2. Tervel
    Admin
    Tervel avatar
    1337 posts

    Posted 21 Feb 2008 Link to this post

    Hello starke,

    The behavior of the FileBrowserContentProvider was changed between v. 4.3.2 and v. 4.5.0 due to a number of requests from customers to change it to the exact same behavior that you find problematic.

    Since it seems now that both scenarios are relevant and need to be supported, in the next update we will make another change to the implementation and provide a way to tune the Image Manager to one or the other scenario.

    The next update is planned for two weeks from now.


    All the best,
    Tervel
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center

  3. starke
    starke avatar
    10 posts
    Member since:
    May 2007

    Posted 21 Feb 2008 Link to this post

    Hi Tervel,

        Thanks for the prompt reply, we'll be looking forward to the next release.


    Thanks & Regards.
    Ji Kai
  4. Terry
    Terry avatar
    6 posts
    Member since:
    Mar 2008

    Posted 06 Mar 2008 Link to this post

    We too are waiting on the next release for this purpose. Is it possible to subscribe to release information?

    Will the new version enable both relative, and root Image Libraries? And will the templates & documents paths also inherit this behavior?

    Regards
    Terry
  5. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 10 Mar 2008 Link to this post

    Hi Terry,

    Updates are usually posted here in the forums or on the blogs page - http://blogs.telerik.com/blogs.aspx.

    The current version of the RadEditor for MOSS uses only absolute paths for finding Sharepoint libraries. All the built-in editor dialogs (image, documents, media, flash, templates) use the same file browser content provider, which means that any changes we list for the image manager also apply to the other managers as well.


    Kind regards,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  6. Terry
    Terry avatar
    6 posts
    Member since:
    Mar 2008

    Posted 12 Mar 2008 Link to this post

    "Since it seems now that both scenarios are relevant and need to be supported, in the next update we will make another change to the implementation and provide a way to tune the Image Manager to one or the other scenario."

    Can you confirm if this has been rectified?

    SharePoints default behaviour for image picker is to show the relative Publishing Images and root Site Collection Images. 4.5.0 did not allow relative document libraries. Ideally replicating SharePoints behaviour is best here?

    Kind Regards
    Terry
  7. Terry
    Terry avatar
    6 posts
    Member since:
    Mar 2008

    Posted 19 Mar 2008 Link to this post

    Any further information on this?
  8. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 26 Mar 2008 Link to this post

    Hi Terry,

    Later today we will release the 4.52 RadEditor for MOSS update. I tested it and it on a local MOSS SP1 server and it covered the scenario you described. Here is what I had in the editor config file:

      <property name="ImagesPaths">
        <item>PublishingImages</item>
        <item>/SiteCollectionImages</item>
      </property>

    Notice that one path starts with a slash (because the Site Collection Images library is in the root site). The other path does not start with a slash, because the PublishingImages library should be loaded from the current site. If there is no PublishingImages in the current site, the image manager will not give you an error - instead you will see an empty folder with the name "not found". The other folders (in this case SiteCollectionImages) will load and work OK.

    All the best,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
  9. Terry
    Terry avatar
    6 posts
    Member since:
    Mar 2008

    Posted 26 Mar 2008 Link to this post

    Great, thanks for the update, I shall try this tomorrow.

    For reference do you publish release information? I've previously asked this before and was informed that notice of releases are published in these forums but where can information be viewed that lists the release information? E.G. Bugs fixed, changes made etc.

    Kind regards
    Terry
  10. Lini
    Admin
    Lini avatar
    2144 posts

    Posted 27 Mar 2008 Link to this post

    Hi Terry,

    The information is usually available in the forums or on the Telerik blogs site. The release history is also available from the following URL - http://www.telerik.com/ReleaseHistory.aspx?Id=543. I took it from the My Licenses> My Purchases > RadEditor for SharePoint Server 2007 Lite Edition page. Note that the release notes for the lite and full featured versions are the same.

    Best wishes,
    Lini
    the Telerik team

    Instantly find answers to your questions at the new Telerik Support Center
Back to Top