Dear Devin,

Devin Bougie wrote:
We are attempting to use Invenio for both public and restricted image
galleries. We would like all images to be initially stored in a restricted collection, and then have an easy way for a "photoadmin"
to make some of them publicly available.

That should be quite easy to do with a submission that changes the
collection field of a record based on the value of a checkbox.
We have such a behavior for some of our photos collections.

For example, CERN's public Photo Gallery (http://multimedia-gallery.web.cern.ch/multimedia%2Dgallery/PhotoGallery_Main.aspx) appears to be derived form the Photos collection in Invenio (http://cdsweb.cern.ch/collection/Photos).

Yes, the CERN public Photo Gallery uses the Invenio search APIs to query
relevant photos. It parses the returned MARCXML to extract the link to
the images.
<http://invenio-demo.cern.ch/help/hacking/search-engine-api>

I can think of a few alternatives that you might want to study:

- Using baskets, you can creates sets of photos that you can make
  accessible via the web, in MARCXML format. Once you make a basket
  public, a subscription URL is displayed on the basket's page.
  Append '&of=xm' to this URL to get an MARCXML export of your basket.

- Using other formats than MARCXML: you might prepare a custom HTML
  output of your photos records that is ready to be displayed on a
  remote server. No need to parse and generate the content from the
  remote server since you use the BibFormat tools to create the output.

- Using other formats than MARCXML #2: if you rely on popular standards
  such as on Media RSS <http://en.wikipedia.org/wiki/Media_RSS>, you do
  not even need to work on the remote "Public Gallery" server: you can
  use already existing software that can build galleries based on the
  RSS feed, such as the cool "wall of images" by Cooliris
  <http://www.cooliris.com/>. We have some work in progress for such an
  output format but we do not feel it is ready for production yet.

Finally you might also want to simply have your public photo gallery as
a collection in your Invenio installation. That would let your users
organize the photos in baskets, search them, comments, etc.

Best regards
--
Jerome Caffaro ** CERN Document Server ** <http://cds.cern.ch/>

Reply via email to