Hi. I would like to take the Slideshow from the Gallery page and put it in my home page. I tried copying this code from slideshowpro.aspx page and pasting in my home page:
<
...but what I get is just a black box, with no images nor controls. Of course I don´t undersand very well that control, because I don´t know how is it supposed to know which gallery or galleries to show.
Am I doing something wrong?
Thanks,
Julio
The slideshow control only works for a single gallery or a single album -- it cannot, as it is currently implemented, show all posts on the site.
If you'd like to show a specific gallery, I can provide sample code.
Hi Ben,
Thanks for your response. Yes please it will be great if I can at least display photos from one specific gallery in my homepage. Please let me know how can I achieve that.
Here is a thread in the gallery forms on this issue
http://communityserver.org/forums/p/485787/575852.aspx#575852
Basically the slideshow is a flash app, and you pass in an XML feed of the images you want it to show into the "FlashVars"
It looks like this functionality may have changed for CS 2007, but in CS 2.1 you if you called the main SlideshowFeed url SlideShowPictures.ashx at the \Photos level, you would indeed get a feed of all the photos on your site, that feed is "context sensative" so depending on the "path" you use to request the page, it will filter based on the gallery and album.
Dan
I misspoke... the GalleryPostSlideShowPro control *does* support showing posts for all galleries... but to be hosted on the homepage, you'll need to apply a SiteUrls_override.config file (attached).
Deploy the attached SiteUrls_override.config file (unzip the attached file) in your root web folder (where your SiteUrls.config file currently resides) and restart your installation of Community Server 2007.
You can then add the <CSGallery:GalleryPostSlideShowPro runat="server" /> control onto your home page (web/themes/[theme name]/common/home.aspx) and the slideshow will show pictures from *all* of your galleries.
Ben,
This works great - thanks again for the terrific tips!
BTW - how would one find this stuff on his own (i.e., is it documented somewhere?)
Jeff
jdc:BTW - how would one find this stuff on his own (i.e., is it documented somewhere?)
Hosting the Slideshow on the home page isn't technically supported by default (if it were, it would have been as simple as placing the GalleryPostSlideShowPro control on the home page) but, with this tweak, the support was added. This tweak required some talk with the developers, but, in general, controls should work in a standard way.
We're currently populating the docs.communityserver.org site with additional documentation and I should be posting a CHM file (compiled help file) containing documentation for the controls available in CS2007 soon.
Hey Ben, thanks a lot! I would never imagine I could do that. My slideshow looks great on my homepage now!
Julio.
Hello Ben,
How do i display a recent upload photos according to your post? It's work for individual gallery, but for multiple galleries
I have multipled photos category and multiple pictures. Your SiteUrls_override.config only displayed a picture from very beginning. I would love to display a recent photos instead. Have any ideas?
Thanks
I'm having a problem like you. The slideshow only display the very first photo on homepage..for some reason i don't know why...I don't know if we can do specific gallery instead of all categories... Does anyone run into this situation
I followed exactly Ben´s tip, and worked perfect for me. My slideshow in homepage shows all photos from all galleries.
jcasal: I followed exactly Ben´s tip, and worked perfect for me. My slideshow in homepage shows all photos from all galleries. Julio.
Is it showing from recent posts to previous post?
Ben's tip, it's work perfect, but only problem is the slideshow is showing old post first. I have more a thousand pix on many galleries. When i submit new pictures to gallery. I then wait for it loops thru all posts, then to recent posts. I can't get the slideshow display from recent posts first.
You are right dotnetlover. My pictures are also showing old post first. It would be very nice to see last pictures first. I hope someone can help us with this.
Regards,
I could be wrong but it looks like the only things that can be set with the slideshow currently are Height, Width, and CategoryId from what I can see in the SDK (don't have Visual Studio in front of me so I'm using Wordpad to look at the SDK code). It does look like the sort is by LastPost in ascending order not descending with no ability to override.
For a definitive answer though we'll have to wait until Ben can help out. Maybe this could be a feature request to add a QueryString for the sort mechanism.
I would love to display a specific gallery. Does anyone know?
Copyright© 2008 Telligent Systems Inc. All rights reserved CommunityServer.com • Telligent.com