History of TreasuryPackage

Comparing versions
Version 2Current version
TreasuryPackage allows users to upload files on to the server for others to download.

Basic feature outline

  • Create galleries that can be part of other galleries.
  • Use the liberty structure system to reorganise the hierarchy of the galleries.
  • Galleries can have an image associated with them.
  • Upload any file type and process files according to file type.
  • Pluggable mime type handlers. These can be added to process different file types according to their file type. Such a plugin can is responsible for processing the uploaded file, storing data in the database and can even specify it's own display template making it very powerful. If there is a need, we can add the possibility that plugins can insert their own tables into the database.
  • The default mime handler makes thumbnails available for previewing images, makes any upload available as attachment (i.e.: easy to insert into wiki pages and the like).
  • If you don't like the thumbnail generated automagically, you can upload your own image, which will be scaled automatically.


  • Add services.
  • Some way of restricting access to specific galleries - this might be a good excuse to revive the old object permissions code.
Treasury Package is a file management package that uses galleries to organize files, similar to a photo gallery package, but Treasury works with more than just image files. Treasury can be used to manage audio, video, flash/swf files, excel, word docs, etc.


  • Nested galleries.
    • It is possible to create galleries within galleries making it easy to structurally organise file uploads.
    • Nested galleries use the LibertyStructure system, providing a uniform interface and behaviour.
  • Every gallery can have an image associated with it.
    • Gallery images are independent of gallery content and can therefor be used to illustrate the content of given gallery.
  • Treasury allows the use of bitweaver services. This means you can use packages like Pigeonholes or Tags to categorize galleries and files.
  • It is possible to assign individual permissions to galleries. This makes it possible to create public galleries or restrict galleries from public view.

Customize Treasury for your Content

Treasury includes a shell script that you can use to easily customize the package for particular content types. For example, say you want to manage podcasts and would prefer to have "Galleries" be called "Podcasts" and the individual audio files called "Episodes", instead of Treasury's default name "Items". The shell script lets you easily tweak Treasury for this purpose. For more on how to take advantage of this feature see the PodcastsPackage. This feature will also enable you to create and install multiple instances of Treasury, if you want multiple independent gallery systems for managing different kinds of files.

Legacy Note

If you are looking for the plugin system that used to be in treasury, this has been migrated to LibertyMime
Page History
29 Apr 2009 (14:12 UTC)
update docs to explain customization feature
Current • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
Fábio Rampazzo Mathias201.52.178.714
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source
View • Compare • Difference • Source