- Get Baby Album from one of following:
- Execute Baby Album using following command:
java -jar babyAlbum.jar
You will see the GUI applictaion which was devided into three blocks:
- Setup Basic Information Block:
- Setup Birth Day Block:
Baby Album will compute the baby's age of picturing time,
but you need to tell Baby Album the birth day of your baby first.
- Generate HTML files
Click "generate" button then Baby Album will execute the following steps:
- reset All:
Reset all relatived data.
- check jpg files:
Searching all jpg files under assigned directory
and compare these files with the information of Baby Album's database.
- remove missed files:
If Baby Album find some photo existed before but can not find now.
Baby Album will delete relatived resource associated with the missed jpg file.
- build small jepg:
According to performance issue, Baby Album will generate small jpg file for every photo.
But generating small picture process will take a lot of time.
Baby Album will remember which one had built small picture last time.
If Baby Album find the photo without the small picutre, it will build that at this time.
- build html files
Generating the index HTML files according the above data
- Check Result:
Close Baby Album program
You would find two added directories (smallPictures and html) created under the same directory of pictures directory.
The smallPictures directory is created for small pictures and html directory is created for index HTML files.
Enter html directory and you will find index.html file.
Open index.html using your browser and enjoy your baby's photos.