This is a migrated thread and some comments may be shown as answers.

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

9 Answers 211 Views
WebParts for SharePoint
This is a migrated thread and some comments may be shown as answers.
starke
Top achievements
Rank 1
starke asked on 19 Feb 2008, 07:59 AM
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> 

9 Answers, 1 is accepted

Sort by
0
Tervel
Telerik team
answered on 21 Feb 2008, 05:18 PM
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
0
starke
Top achievements
Rank 1
answered on 22 Feb 2008, 05:31 AM
Hi Tervel,

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


Thanks & Regards.
Ji Kai
0
Terry
Top achievements
Rank 1
answered on 06 Mar 2008, 04:12 PM
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
0
Lini
Telerik team
answered on 10 Mar 2008, 12:32 PM
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
0
Terry
Top achievements
Rank 1
answered on 12 Mar 2008, 05:51 PM
"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
0
Terry
Top achievements
Rank 1
answered on 19 Mar 2008, 10:52 AM
Any further information on this?
0
Lini
Telerik team
answered on 26 Mar 2008, 02:57 PM
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
0
Terry
Top achievements
Rank 1
answered on 26 Mar 2008, 04:28 PM
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
0
Lini
Telerik team
answered on 27 Mar 2008, 08:21 AM
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
Tags
WebParts for SharePoint
Asked by
starke
Top achievements
Rank 1
Answers by
Tervel
Telerik team
starke
Top achievements
Rank 1
Terry
Top achievements
Rank 1
Lini
Telerik team
Share this question
or