With the upgrade of DBVT.COM from v3.0 to v3.2 I’m able have some new feature fun. One of the first things I wanted to do was revamp the Sueetie Photo List View Control to support the cool client-side functionality of Media Sets.
Here’s what we’re talkin bout. The thumbnails on the screenshot at right are generated by the Photo List View Control which in the past when clicked would take you to the image in Gallery Server Pro.
With the new SueetieMediaObject properties we can do anything we like with the photos, like fire up the lightbox you see in action on the DBVT.COM Home Page.
You may be thinking, “BFD. I’ve seen lightboxes before.” That’s true, but what’s cool about the enhanced Photo List View Control is that we’re using Gallery Server Pro and its rich set of features to manage our media—auto-extraction of zip content, file synchronization, granular permissions, all that good stuff. We’re also viewing GSP outside of the application, which is not new, but with the new SueetieMediaObject properties we can now access media by its file path rather than with an .ASHX Handler. That’s what makes it possible to apply jQuery plugins like the CeeBox Lightbox I’m using at DBVT.COM.
What’s also cool is that using the control is as easy as dropping it onto a page like any other UserControl.
<ul class="ceebox images">
<uc:RecentPhotoList ID="RecentPhotoList1" runat="server" NumRecords="21" />
The control’s .ASCX View file handles the layout with properties and extensions of the SueetieMediaObject (RecentPhoto) object.
<li id="ViewItem" class="RecentThumbnail">
<a href='<%= RecentPhoto.MediaOptimizedUrl() %>’>
<img src='<%= RecentPhoto.MediaThumbNailUrl() %>’ alt=""
Yes, I do like using the latest version of Sueetie. More to come.