The PhotoGallery server control helps users and community groups track and manage images. They can organize the images in any number of taxonomy categories. For example, a user might have the following organization.
After you upload an image to the his Photo Gallery, site visitors can navigate through its taxonomy and view the image.
When you associate this control with a community group, you can allow group members to add, remove and control the sharing of folders in a workspace. Because this feature is implemented on a group-by-group basis, it is controlled in the Workarea's Edit Community Group screen. See Also: Allowing Community Group Members to Work with Folders
The following are Ektron-specific server control properties. You can find information about native .NET properties such as font, height, width and border style in Visual Studio® help.
Indicates if you are logged into the CMS Explorer and can use it to browse to content, collections, and so on. See Also: Browsing Your Ektron Site Using CMS Explorer.
The number of seconds that the server control’s data is cached. The default is 0 (zero). For example, if you want to cache the data for 5 minutes, set to 300. See Also: Caching with Server Controls.
The default object ID for this control to use when there is no matching dynamic parameter value passed.
If desired, enter a relative or absolute path to an Xslt that determines the display of the page.
WARNING! If you specify an external file, do not store this file in the Workarea folder. If you store this file in the Workarea folder, the file will be lost when you upgrade.
By default, Fill occurs during the Page_Init event. Set to false if you want to postpone the fill-action until later. In this case, Fill is automatically called during the Page Render event. You might do this if you need to set or change a property on the control in code-behind and have it render with your changes shown.
The height of the dynamic content box in pixels.
The Width of the dynamic content box in pixels.
The template to use when displaying dynamic content. Leave blank to use the dynamic box.
Gets or sets the QueryString parameter to read a object ID dynamically. To use the default object ID, leave blank.
This property, in conjunction with the MaxNumber property, lets site visitors view an unlimited number of items while controlling the amount of screen space. The MaxNumber property limits the number of items displayed. If you set this property to True, and the number of items exceeds MaxNumber, navigation aids appear below the last item, allowing the visitor to go to the next screen.
Hides or displays the output of the control in design time and run time.
Choose whether to display icons next to the navigation list’s links.
Specify the sort order of results. Choices are:
To specify the direction of the items, use the SortDirection
property.
Set a language for viewing content; shows results in design-time (in Visual Studio) and at run-time (in a browser).
Determines the type of window that appears when you click a link in the server control.
Identify the template markup file that controls the display of the server control. For example, mymarkup.ekml
. If the EkML file is located in the same folder as the Web form containing the server control, just enter its name. Otherwise, the path to the file can be relative or absolute. See also: Controlling Output with Ektron Markup LanguageControlling Output with Ektron Markup Language
Enter the maximum number of items to appear in the initial display of this server control. To set no maximum, enter zero (0). To let site visitors view more than the maximum but limit the amount of space, enter the maximum number of results per page here. Then, set the EnablePaging property to True. If you do and more than the number of MaxResults are available, navigation aids help the site visitor view additional items.
The type of object to which this control is assigned. Choices are:
Indicates if an integer representing the number of taxonomy items in the category appears next to each category when displayed on the Web site. The default is False.
Select the direction of the itemSortOrder
property. Choose Ascending or Descending.
Specify the path to a style sheet for use with this server control. The location can be relative or absolute. Leave blank to use the default style sheet.
WARNING! If you enter a valid EkML file at the MarkupLanguage
property, the Stylesheet
property is ignored.
Enter the number of columns in which this taxonomy/category appear on the page.
Enter the number of columns in which the taxonomy item appear on the page.
Lets a developer specify a server control’s tag.
You can add categories to your photo gallery to sort your photos. You also can use categories to identify the types of users who can view the photos. For example, one category of photos may be private, while another may be shared with all of your colleagues.
WARNING! Deleting a category permanently deletes all photos, as well as its subcategories.
NOTE: You can not delete the top-level folder, Albums.
The Photo Gallery lets you share photos with your colleagues. You can share photos with the Public, Colleagues, Selected Colleagues, or keep them private. You apply sharing options to categories, not individual photos. See Also: Public—Anyone who can access your profile