by Mohan Embar
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!
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:
Subject to the usage terms and conditions below, you may incorporate the Web Album Java applet into your website.
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.
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).
You deploy the following files in the same directory:
WebAlbum.htm) which loads the Web Album
applet and presumably contains introductory text for the albumWebAlbum.jar file which contains the Web Album appletresources.txt file described above
(this can be named anything you want)resources.txtThe HTML file is the entry point into your album.
First, download the development kit and play around with the sample:
WebAlbum.htm in the SampleWebAlbum
directory. Play around with the interface and examine the files in the SampleWebAlbum
directory. Do searches on things like C|D, D, Bigger,
etc.Now incorporate Web Album into your website:
resources.txt which contains all files
in the album. These do not have to be in sorted order. How you do
this depends on the operating system you're using. Here are some examples:Windows
dir /b *.jpg >resources.txt
dir /b *.wav >>resources.txtLinux / UNIX
ls *.jpg >resources.txt
ls *.wav >>resources.txt
WebAlbum.jar in this directory.WebAlbum.htm for your website, or else
create an HTML file which has an APPLET tag similar to the one
in WebAlbum.htm. The two applet parameters, ResourceFile
and DefaultExtension indicate the name of the file
list text file and the default extension, respectively. Note: in SampleWebAlbum,
I used resources_<DATE>.txt instead of resources.txt
because the Java Runtime seemed to be retrieving out-of-date, cached copies
of resources.txt. Choosing a new filename every time you update
your album should avoid this problem if you experience it.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.