Sueetie Slideshow Administration

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.

Image

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.

Image

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.

Image

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.

Image

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.

Article written by

A long time developer, I was an early adopter of Linux in the mid-90's for a few years until I entered corporate environments and worked with Microsoft technologies like ASP, then .NET. In 2008 I released Sueetie, an Online Community Platform built in .NET. In late 2012 I returned to my Linux roots and locked in on Java development. Much of my work is available on GitHub.