Rs-Gallery

From ResourceSpace Documentation Wiki

Revision as of 15:18, 27 July 2009 by Kellermg (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search

Contents

Overview

RS-Gallery is a public-access gallery for ResourceSpace. It is designed for use in environments that want to publish some/all of their collections for public, unauthenticated consumption. RS-Gallery will only access collections that have been set to public. By default, RS-Gallery will only access collections that have external sharing keys generated, however that behaviour may be modified as described in the Configuration section below.

RS-Gallery should be considered under the same license as ResourceSpace itself.

A live development-demo may be viewed here

You can download RS-Gallery here

Installation

Unzip into the base ResourceSpace install. By default, URL will be http://yourserver/resourcespacePath/gallery/

Configuration

RS-Gallery will run out-of-the-box. The following is a list of recommendations and options that may be used if desired. These changes should be made to include/config.php.

Recommended Changes

Rename the RS application, to change the HTML header "title"

$applicationname = "Your Photo Gallery";

Remove the bottom frame from resource and collection pages.

$frameless_collections=true;

Options

Version >= 0.2. If set, will generate external sharing keys for public collections that don't have them. If not set, public collections will not be displayed until the owner manually creates an external sharing key for the collection.

$autogenerate_keys_for_public_collections = 1;

Version >=0.4. If set, the collection pages will be generated by RS-Gallery, and not just handed over to ResourceSpace. External sharing keys are STILL required for collection display.

$generate_collection_pages = 1;

Local Config Variables

The number of columns of pics displayed in the gallery

$gallery_table_column_max=3;

The number of columns of pics displayed in the collection (if $generate_collection_pages is set)

$collection_table_column_max=6;

If $generate_collection_pages is set, this array is the ordered list of fields about a resource to display on the collection/resource page. Format is: fieldname => "Display Name"

$display_fields = array("title" => "Title", "creation_date" => "Date", "file_extension" => "Type");

Contact

Email works best. I'm open to feature requests and informative bug reports.