gallery2

galleryadd.pl NG

Perl script that recursively adds directories or images to a Gallery installation. Its features include a listing of the albums available in a Gallery, the creation of top-level albums with titles and descriptions, and support for the addition of images and directories to an existing album.

Installation
If you haven't already, the CPAN shell will require configuring when you enter it:

perl -MCPAN -e shell

Install the required CPAN modules:

install Bundle::LWP
install URI
install LWP::UserAgent
install HTTP::Request::Common
install HTTP::Response
install Data::Dumper
install Time::HiRes

Exit the shell:

Technology:

ExifTool

ExifTool is a platform-independent Perl library plus a command-line application for reading, writing and editing meta information in image, audio and video files.

Linux Installation
Download the latest version from the ExifTool homepage:

cd /extra/src
wget http://owl.phy.queensu.ca/~phil/exiftool/Image-ExifTool-7.52.tar.gz
tar zxvf Image-ExifTool-7.52.tar.gz
cd Image-ExifTool-7.52

Install the Image::ExifTool package to make it available for use by other Perl scripts:

perl Makefile.PL
make
make test
make install

Copy the ExifToolb binary to /usr/local/bin:

cp exiftool /usr/local/bin/

Technology:

Gallery

This module embeds <A HREF="http://gallery.menalto.com" TARGET="_blank">Gallery2</A> inside your Drupal installation to support photos, videos and other content.

Tips
Install Gallery2 into a separate directory from your Drupal install or rename it something other than "gallery" so it doesn't conflict with the gallery.module. If you install it outside of your Drupal site folder, symbolic link it into there:

cd /var/websites/projectname/htdocs/current
ln -s ../gallery gallery2

Upgrading

How to upgrade to a new version of Gallery2.

Backup your Gallery2 database before you upgrade!! If you have a busy photo site, you might want to put it into offline mode before upgrading.

Download a tarball of the latest version of Gallery2:

cd /var/websites/photos
wget http://voxel.dl.sourceforge.net/sourceforge/gallery/gallery-2.3-full.tar.gz

Then untar it over top of your old gallery2 folder:

Technology:

Drupal Integration

Integrate your albums into a Drupal website.

  1. Download the latest version of the Gallery2 module, from the module's project page on Drupal.org, into your website's sites/all/modules folder.

  2. Unstuff the module tarball:
    tar zxvf gallery-5.x-2.x-dev.tar.gz
  3. Navigate to /admin/build/modules with your web browser and enable the Gallery2 modules. For basic gallery integration, you just need the Gallery and Gallery Menu components.

Technology:

Installation

cd /var/websites
mkdir photos
cd photos
mkdir logs

Download the latest version of Gallery2 (2.3.1 at time of writing):

wget http://superb-sea2.dl.sourceforge.net/project/gallery/gallery2/2.3.1/gallery-2.3.1-full.tar.gz
tar zxvf gallery-2.3.1-full-en.tar.gz

Webserver Configuration

  • Lighttpd
    If you are using Lighttpd as your webserver, edit lighttpd.conf and add:

Technology:

Gallery2

Gallery is a web based software product that lets you manage your photos on your own website. With Gallery you can easily create and maintain albums of photos via an intuitive interface. Photo management includes automatic thumbnail creation, image resizing, rotation, ordering, captioning, searching and more. Albums and photos can have view, edit, delete and other permissions per individual authenticated user for an additional level of privacy.

Technology:

Subscribe to RSS - gallery2

Recent Updates

  • 1 year 12 months ago
  • 1 year 12 months ago
  • 1 year 12 months ago
    php 8.x
  • 1 year 12 months ago
    10.6.7
  • 2 years 13 hours ago
    Drop Centos 5/6 stuff