Welcome Guest, you are in: Namespace

A description of how to view photos and other media content outside of Gallery Server Pro.

Viewing Gallery Server Pro Photos and Media From Anywhere

Gallery Server Pro stores and displays nearly all types of media available today, and with the Sueetie Framework you can display that media from anywhere in your Online Community. Sueetie does that by extending the Gallery Server Pro MediaObject with additional properties to form the SueetieMediaObject.

For our purposes we're going to focus on displaying image content and will discuss other media types elsewhere. Let's go straight to some screenshots which will do a better job of explaining the process of displaying Gallery Server Pro content from anywhere in a Sueetie Community.

Sueetie List View Controls

Sueetie List View Controls have been around for quite some time. This is one example of how Sueetie is able to directly display Gallery Server Pro content. You can see an example on the Sueetie.com homepage and on other Sueetie-based sites, like my personal homepage shown below.

Image

Using Gallery Server Pro's Media Url

When media objects are added to Gallery Server Pro, a SueetieMediaObject is created and added to Sueetie Data Core with a new Sueetie_Content record. Part of the record is the GSP media object direct URL shown below.

Image

Here's a url example:

/media/gs/handler/getmediaobject.ashx?moid=6&dt={0}&g=1

The "moid" indicates the Media Object ID and the "g" lists the gallery type. The url is then used with a string.format() and the SueetieImageDisplayType enumerator.

Image

Sueetie gives you Gallery Server Pro Thumbnail, Optimized, and Original SueetieMediaObject Extensions. To use them with the SueetieMediaObject simply select the appropriate extension.

As in

  • _sueetieMediaObject.MediaThumbnailUrl();
  • _sueetieMediaObject.MediaOptimizedUrl();
  • _sueetieMediaObject.MediaOriginalUrl();

Displaying the Image in Gallery Server Pro

Finally, you may ask how might you display the image inside of Gallery Server Pro? That's easy, too. While the images in the earlier List View Control examples don't happen to be linked directly to the image in GSP, each media object in GSP has it's own unique MOID, or Media Object ID. Pass this to your media gallery's default.aspx using the sample format

http://dbvt.com/photos/default.aspx?moid=2727

Image

to display the image with all of the additional features of Gallery Server Pro.

Top

ScrewTurn Wiki version 3.0.4.560.

Copyright © 2008-2012 Sueetie LLC. All rights reserved.
Sueetie