More in this section

Forums / Bugs & Issues / Image Library Provider Problems

Image Library Provider Problems

2 posts, 1 answered
  1. Ryan
    Ryan avatar
    9 posts
    08 Oct 2007
    21 Apr 2011
    Link to this post
    I am looking at sharing news, events, libraries, taxonomy, lists and content blocks from one main Sitefinity 4.1 instance to other instances of Sitefinity (sub sites).  I am doing this by adding providers in all the sub sites pointing back to the main Sitefinity instance.  I have followed this forum post for guidance:  The problem I am having is that even though the image library provider is working the images themselves are not showing up, all the information about the images and albums is shown but the image's url is incorrect.  I have attached a screenshot.  This also causes a problem in anything shared that uses an image from the main image library, such as news items and shared content blocks.  Is there a way to change how the image url is stored or rendered in the main site's image library?  The only work around I have found is to use the embed version of the image which contains the full url of the main Sitefinity site and paste that image tag in the news item etc.  This is far from an ideal situation.  Any help on how to fix this problem would be greatly appreciated.
  2. Ivan Pelovski
    Ivan Pelovski avatar
    43 posts
    24 Sep 2012
    27 Apr 2011
    Link to this post
    Hi Ryan,

    In order to solve your problem you could set the default provider for Libraries of the sub site to the provider that uses the database of the main site. To do that go to Administration -> Settings -> Advanced and select the Libraries node from the tree in the left. In the text field for DefaultProvider type the name of the new provider and click "Save changes". In this way when an image is requested then the new provider will be used to resolve the image url.

    All the best,
    Ivan Pelovski
    the Telerik team

2 posts, 1 answered