A client of mine in the construction business whose site uses the Sueetie Framework wanted to add a slideshow to each of their featured projects. It wasn’t the first slideshow I added on a client’s site recently and it dawned on me how ubiquitous slideshows and slider plug-ins have become. I also thought how great it would be if there was an ASP.NET Administrative App to manage slideshows and slideshow images, regardless of the plug-in used for the slideshow. So I added it to Sueetie and will make it available in Gummy Bear 1.1.0 when it’s released in a few days.
Below is the Slideshow Administration page where you can create new slideshows, manage the slideshow title and description, and specify the image dimensions for the slideshow.
Below is the page used to manage the slideshow images. You can provide a description for each image as well as designate which image should appear first when the slideshow initially loads. While only one slideshow image is shown in the example, there is no limit to the number of slideshow images per slideshow, and no limit on the number of slideshows you can create.
The Sueetie Slideshow Administration application does everything except generate the final HTML, which is plug-in specific. I’ll show you a working HTML sample in a bit. But first, to support the various ways slideshow plug-ins handle images, we’re uploading three different versions of each image. You can see those here in ##.sm.jpg, ##.md.jpg and ##.lg.jpg.
As I mentioned, the display of the slideshow requires writing a small amount of HTML according to the slideshow plug-in's requirements. Below is an example of generating slideshow HTML using ASP.NET and the supporting Sueetie methods in Sueetie.Core.SueetieSlideshows.
The Sueetie Slideshow Administration feature is an example of how features created for Sueetie sites in the field can be folded back into the base application for everyone to leverage in their own Sueetie Communities.