Welcome Guest, you are in: Namespace

How to create Media Galleries in Gallery Server Pro and using Sueetie Administration to integrate their content into the community and add custom Sueetie features.

Process Overview

Multiple Galleries were made possible with the release of Gallery Server Pro v2.4.4 and its inclusion in Sueetie v2.2. Galleries are first created in Gallery Server Pro, then given properties in Sueetie Administration so that Sueetie can use the gallery-specific information to properly record and display the gallery outside of the Gallery Server Pro application.

The process includes 1) Creating the Gallery in Gallery Server Pro, 2) Adding Sueetie properties to the gallery in Sueetie Administration, and 3) using gallery-specific urls to access the library.

Create the Gallery in Gallery Server Pro

The Gallery Server Pro Gallery Manager lists the Sueetie.com galleries on the initial release of Sueetie v2.2. The two galleries are "Sueetie Screenshots" and "Document Library." Each gallery has a unique ID (in blue.) It's important to use this ID in the gallery's media storage location as you can see at right in orange. /media/gs/mediaobjects/[GalleryID/

Image

The Gallery's Media Storage location is set on the gallery's Media Objects - General panel.

Image

Add Sueetie Properties to the Gallery in Sueetie Administration

To integrate the gallery into the Sueetie framework for activity reporting and other custom features, we need to assign Sueetie-specific properties to the gallery. Below is the Sueetie Gallery Administration page, added in Sueetie v2.2.

Image

Each gallery has a unique Sueetie Gallery Key. The gallery key is also the name of the .ASPX page used to display that particular gallery in Gallery Server Pro. For instance, the gallery key for the Document Library is "library," so the page used to access the Document Library is /media/library.aspx. This url is used so that Sueetie knows which library it is displaying for adding custom features like Sueetie Document View.

Gallery-specific Urls

As we mentioned earlier, each gallery's unique gallery key identifies its working url. For instance, the "library" gallery key uses a working url of /media/library.aspx. This serves several purposes, one of which is so that Sueetie knows which gallery is being displayed for adding Sueetie enhancements. It also tells Gallery Server Pro which gallery to retrieve (when no "aid" query string is present, but that's a technical side point.)

In other words, whenever you create a new media gallery you will create a new .ASPX file (copy /media/default.aspx and change the GalleryId property.) Here is the library.aspx file for the Document Library gallery using the library's GalleryID of "5."


<asp:Content ID="Content1" ContentPlaceHolderID="cphBody" runat="Server">
		<asp:ScriptManager ID="sm" runat="server" EnableScriptGlobalization="true" />
		<gsp:Gallery ID="g" runat="server" GalleryId="5"  />
</asp:Content>


About The Sueetie Wiki

All Sueetie Wiki Pages are written and managed by the Sueetie Document and Content Development Team. Wiki Pages are published under the account "Doc Pop" which is a shared account used by our team. Because we're a bunch of lollipops here at Sueetie HQ, Doc Pop stands for Documentation Lollipop.

Member Reviews

No reviews for this wiki page. Be the first the create a review!
Login or join to add a review
Follow Sueetie on Twitter
Copyright © 2008-2012 Sueetie LLC. All rights reserved.