Gallery Photo Project

From wikidb
Jump to: navigation, search

Chosen

I can keep Gallery simple for end-users. Everything is store at home on my server.

References

Gallery

Commercial Solutions

Not chosen. Required more work on the end user and my part to configure.

Install

Download

  • Downloaded Gallery 3.0.9 from here.
  • Copied to web directory
 cd /var/www/html/
 
 sudo cp -r ~/gallery3/ .
 
 mkdir var
 
 sudo chmod 777 var

Enabled short_open_tag

 cd /etc/php5/apache2/
 
 sudo cp php.ini php.ini.org
 
 diff php.ini.org php.ini
   212c212
   < short_open_tag = Off
   ---
   > short_open_tag = On
 
 udo service apache2 restart

Initial Setup

 Browse to this page and follow instructions. (Account and passwd setup is not shown here. They are in the Rainier Composition notebook.)
 http://localhost/gallery3/

Test

 http://localhost/gallery3/

Enable larger image sizes

 cd /etc/php5/apache2/
 
 diff php.ini.org php.ini
   212c212
   < short_open_tag = Off
   ---
   > short_open_tag = On
   673c673
   < post_max_size = 8M
   ---
   > post_max_size = 100M
   805c805
   < upload_max_filesize = 2M
   ---
   > upload_max_filesize = 100M
 
 sudo service apache2 restart

Enable Image Access Permission Settings

Step 1

 sudo a2enmod rewrite

Step 2

 cd /etc/apache2
 
 diff apache2.conf.org apache2.conf
   166c166
   <       AllowOverride None
   ---
   >       AllowOverride All

Step 3

 sudo service apache2 restart

More Images per Row

Item per page

Follow these tabs

  • Admin
    • Appearance
      • Theme Options

Take this action

  • Change "Items per page"
  • save