Photo Gallery on the DNS-323
Thought of creating an Image Gallery on your DNS-323? Recently came across a Photo Gallery PHP script which allows users to create multiple albums of photos, browse albums in thumbnail mode, etc. Recently, I set up the Photo Gallery on the DNS-323 and realized that image processing is rather slow due to the slow processor on the DNS-323. However, browsing through the processed photos is a breeze!
Great thing is that the Photo Gallery 1 works with lighttpd with ImageMagick! Lets try to set one up on the DNS-323.
The required lighttpd with ImageMagick should have been set up before proceeding to the next section.
Setting up G1 Gallery
Copy the downloaded file (gallery-1.5.7.tar.gz) to Volume_1 of your DNS-323 (/mnt/HD_a2). Telnet into your DNS-323 and follow the following instructions.
/ # cd /mnt/HD_a2/www/pages
/mnt/HD_a2/www/pages # tar xvzf /mnt/HD_a2/gallery-1.5.7.tar.gz
/mnt/HD_a2/www/pages # mkdir albums
/mnt/HD_a2/www/pages # echo “” > ./gallery/.htaccess
/mnt/HD_a2/www/pages # echo “” > ./gallery/config.php
The next stage of gallery set up make use of web browser. Ensure that your lighttpd is started before surfing over to http://<DNS-323’s IP>:8080/gallery/
Setting up Gallery 1 through the web wizard
Click on “Configuration Wizard” and follow through the wizard to set up your Gallery! It is alright to have some warnings, just keep going. The following information is required by the set up
Album directory : /mnt/HD_a2/www/pages/albums
Temporary directory : /tmp
Have fun with your Gallery.