Making Picture Galleries on Linux

If you’ve got a digital camera and you’re using Linux, you’ll eventually want to share your pictures. At least, you’d better - because people who take digital group pictures and don’t share them should be seriously penalized.

To do this you’ll need two things: the knowlege to use your usb camera on Linux and software to share your pictures with others

Using a Digital Camera on Linux:
This is by no means a detailed explanation of how to use a usb drive on Linux (for that check out NOVELL’s Cool Solutions page), but this should work in most cases.
First, plug the device into the computer via a usb cable.
Second, make sure the device is on.
Third, wait about twenty seconds.
If you’re running Gnome, you may see a new icon show up on your desktop at this point. To continue, you only need to open that icon and view/copy your pictures from there.
If you’re running KDE or another window manager or using this from a command prompt, the directions are slightly more difficult. First, check if you have a folder called /media by typing ls / at a command prompt. If you see “/media” as one of the results, you’re in luck. Enter that folder and view each of the devices - inside one of them should be your pictures.
If there’s no “/media” folder, then you’ll need to mount the device automatically. First, make a folder in the /mnt directory by typing (as root) mkdir /mnt/camera. Second, mount the camera by typing mount -t vfat /dev/sda1 /mnt/camera.
Now you should browse to /mnt/camera and see if you can find your pictures.

For an additional guide to mounting a USB drive on Linux, check out dreamincode’s tutorial.

Sharing your digital pictures on Linux:
If you’ve got a website on a PHP/Apache server then I recommend you install CopperMine to take care of your photo sharing needs. However, if you don’t already know how to install CopperMine, then we’ll move on to JAlbum.

JAlbum is a piece of software that works on Windows, OS X, and Linux and is translated in 18 languages. It’s ideal for making a picture gallery in Linux. You can find JAlbum at it’s website. JAlbum will require a working installation of Java VM (also called Java runtime). The latest version of the Java VM.

After you download JAlbum install it by navigating to its folder and type chmod +x JAlbuminstall.bin. Then type ./JAlbuminstall.bin and follow the directions.

Once you install it and run it, you should be able to choose your desired HTML layout and have it automatically create a picture gallery for you.

If anyone uses this procedure please leave feedback so I can add other useful details.

Leave a Reply »»