immy79


Hi there,

I've been trying (unsuccessfully) to create some sort of slideshow based on iamges taht are stored in a SharePoint picture library. I'm using WSS 3.0, so I have the integrated RSS feed fo rthe library. And I've turned on the feature to include file enclosures. I jsut can't seem to get it to pull any of the iamges out.

Any ideas

Thanks.

Jimmy Smile





Re: Pulling images from SharePoint Picture Library?

AndyS


Is the Sharepoint server accessible on the public internet or is it an intranet server




Re: Pulling images from SharePoint Picture Library?

immy79

Yea, I think that may be part of the problem. It's an internet site, though you have to authenticate to gain access. Though should it matter if I am embedding the mashup into a Content Editor web part on the SharePoint site






Re: Pulling images from SharePoint Picture Library?

AndyS

How's the site handling authentication basic/digest/windows etc

Also could you share the mashup As it's probably the easiest way to get a better understanding of what's going on, thanks :-)





Re: Pulling images from SharePoint Picture Library?

immy79

I'm not sure about that one. The SharePoint site has it's own people/groups access permissions and there doesn't appear to be an "anonymous user" account to add, at least in the deployment I'm on. (don't have control of that).

I can add a user and assign username/password and give "read" permissions to all SharePoint site content. Is there a block that can pass authentication credentials to the mashup






Re: Pulling images from SharePoint Picture Library?

AndyS

It depends on how the auth is done if it's throught active directory that could be somewhat tricky however if it's through HTTP Basic Auth then it's possible if you edit a block and add a header defined http://www.w3.org/Protocols/HTTP/1.0/draft-ietf-http-spec.html#BasicAA to add a header you would need to:

Code Snippet

var header = [new Header("key", "value")];

environmen.getXML(url, header);

The short answer is that we aren't really setup to do authentication as the mashups run from anonymous context.





Re: Pulling images from SharePoint Picture Library?

kltye

I too am facing a similar problem - I can't seem to pull any pictures out of Sharepoint Picture Libraries via RSS. The site is internet facing with anonymous access enabled. I've tried various portions of the RSS feed to feed directly into the Carousel block, and also tried with the ImageScrapper. I do get the captions of the pictures, but not the actual pictures from the Library.

Let me know if you need more information to help troubleshoot.

Thanks!





Re: Pulling images from SharePoint Picture Library?

AndyS

Could you post the URL of the site and the URL of the RSS feed you want to use




Re: Pulling images from SharePoint Picture Library?

kltye

http://explosivegraffix.com/Graphics%20and%20Designs%20Gallery/Forms/AllItems.aspx

http://explosivegraffix.com/_layouts/listfeed.aspx List=%7B3F109D2C%2D9C92%2D4B4F%2DA6D2%2D335AAA12C859%7D

On an unrelated note, would you happen to know why the RSS feed only displays a subset of all the items in the library Does it have something to do with when the images were posted





Re: Pulling images from SharePoint Picture Library?

immy79

Hey there,

The first thing you'll want to do is embed the item in the RSS feed. You can do this by going to Settings > Picture Library Settings, then go to RSS Feed Settings. You can switch that on in there. When connecting the feed to one of the iamge display block, link it to the "link" field.

AS for not seeing all items, that has to do with the number of days to display items in the RSS feed. That's on the same settings screen as above, down towards the bottom. Just set that to a really high number, like 999.

Hope this helps.

Jimmy Smile





Re: Pulling images from SharePoint Picture Library?

kltye

immy79 wrote:
Hey there,

The first thing you'll want to do is embed the item in the RSS feed. You can do this by going to Settings > Picture Library Settings, then go to RSS Feed Settings. You can switch that on in there. When connecting the feed to one of the iamge display block, link it to the "link" field.

AS for not seeing all items, that has to do with the number of days to display items in the RSS feed. That's on the same settings screen as above, down towards the bottom. Just set that to a really high number, like 999.

Hope this helps.

Jimmy

Oh my gosh, that's it - thank you! Why didn't I think of messing with the RSS settings to begin with I guess that's why I shouldn't be working on this at 2am in the morning... And I call myself a Sharepoint developer too Wink