GuidesTech

Creating your own Image Gallery on DNS-323

DNS323_gallery_01small.jpg
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.

Required

  1. G1 Gallery (e.g. Gallery 1.5.7)
  2. lighttpd with ImageMagick

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
gallery/
gallery/add_comment.php
gallery/add_photos.php

/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/

DNS323_gallery_02small.jpg
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.

 

Treat shadowandy!

If these step-by-step guides have been very helpful to you and saved you a lot of time, please consider treating shadowandy to a cup of Starbucks.  

This site contains links to Amazon. These links will take you to some of the products mentioned in today’s article. As an Amazon Associate, I earn from qualifying purchases.
17 Comments
Oldest
Newest Most Voted
Inline Feedbacks
View all comments