ImageManager "Could not get SPFolder"

2 posts, 0 answers
  1. Michael
    Michael avatar
    5 posts
    Member since:
    Oct 2007

    Posted 24 Oct 2007 Link to this post

    Hi,

    I know this is probably a really simple question but I couldn't find anything about configuring the ImageManager in the documentation.  I've got the following config in my ListConfigFile.xml

      <property name="ImagesPaths"> 
        <item>~/ImageLibrary</item>
      </property>
      <property name="UploadImagesPaths">
        <item>~/ImageLibrary</item>
      </property>
      <property name="ImagesFilters">
       <item>*.gif</item>
       <item>*.jpg</item>
       <item>*.jpeg</item>
       <item>*.png</item>
       <item>*.bmp</item>
      </property>

    I've tried creating new document libraries and altering the links etc - presently i have the wiki that i'm trying to insert a picture at: http://testing/sites/central/TestWiki and the picture library at: http://testing/sites/central/ImageLibrary/.  When clicking on the image manager i get the error "Could not get SPFolder".  Any ideas what i'm doing wrong?

    Thanks

    Michael
  2. Rumen
    Admin
    Rumen avatar
    12846 posts

    Posted 25 Oct 2007 Link to this post

    Hi Michael,

    You should only set the library name without any paths and special symbols before it. In addition you should remove the UploadImagePaths tags - they are not needed. Here is how you should set the ImagesPaths property in the ListConfigFile:

     <property name="ImagesPaths"> 
        <item>ImageLibrary</item>
      </property>
      <property name="ImagesFilters">
       <item>*.gif</item>
       <item>*.jpg</item>
       <item>*.jpeg</item>
       <item>*.png</item>
       <item>*.bmp</item>
      </property>

    Best regards,
    Rumen
    the Telerik team

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

Back to Top