Web Album (Java 1.1)

by Mohan Embar

Overview

Web Album provides a convenient means of browsing pictures and other resources you store online. You can browse by year and month as well as do simple searches on picture names. And you can incorporate it into your website for free!

Click on one of the topics below to obtain further help.

I am browsing a website which uses this interface. How do I use it?

I am interested in using the Web Album interface for my website. How do I do this?

I haven't seen Web Album yet. Show me a demo!

Using Web Album

The web album interface has three listboxes: one for the year, one for the month and one for the pictures. Initially all pictures are displayed in the bottom listbox.

You can browse the pictures like this:

Important: you need a JDK 1.1-compliant browser to use Web Album. If you don't have such a browser, you can get one; either:

Incorporating Web Album Into Your Website

Subject to the usage terms and conditions below, you may incorporate the Web Album Java applet into your website.

Web Album FIles

First, some theory. Web Album lets you display a number of resources (pictures, audio files). You name these files according to a certain convention. The end user can choose from all files or else narrow down the file list by year, month and keyword.

Web Album assumes that most of your files will have the same extension. For example, let's assume you have mostly picture files (.jpg) with a handful of audio files (.wav). In the Web Album list, the .jpg files will have the extensions omitted whereas the .wav files will not.

The File List Text File

Web Album uses a text file (say resources.txt) in which you list all of the filenames in your album. As mentioned before, these filenames should be named according to this convention:

YYYYMMDD_MixedCaseDescription.ext

Some examples:

20010722_MohanWalksOutside.jpg
20010723_MohanTalksOutside.wav

In the Web Album list, the above two files would be displayed as:

2001 Jul 22: Mohan Walks Outside
2001 Jul 23: Mohan Talks Outside [wav]

(assuming that .jpg is the default extension).

Files To Deploy

You deploy the following files in the same directory:

The HTML file is the entry point into your album.

Step-by-step instructions

First, download the development kit and play around with the sample:

Now incorporate Web Album into your website:

Windows

dir /b *.jpg >resources.txt
dir /b *.wav >>resources.txt

Linux / UNIX

ls *.jpg >resources.txt
ls *.wav >>resources.txt

Usage Terms and Conditions

Web Album Copyright © 2001 by Mohan Embar. All Rights Reserved.

Incorporating the Web Album applet into your website indicates your acceptance of the following license conditions. If you do not agree with these terms, you may not incorporate web album into your website.

This program comes with no warranties, either express or implied. In no event will the copyright holder be liable from any damages resulting from the use of this software.

This program is PropagandaWare. If you continue using this program seven days after the first use, you agree to visit the following websites:

You are exempt from this agreement if you do not have Internet access. Note that users who visit your website are not required to visit these websites. 

Permission is granted to any individual or institution to copy or redistribute this software provided that:

Developed in Java using the Borland® JBuilder® Foundation 4.0.

Copyright © 1999-2001 by Mohan Embar, Inc. All Rights Reserved.