Go to TogaWare.com Home Page.
GNU/Linux Desktop Survival Guide
by Graham Williams
Google

Photos


The gallery2 package is an excellent choice for making your photos available on the Internet.

To remove the Views: from each photo, edit (as root) the file /usr/share/gallery2/modules/core/templates/blocks/ItemInfo.tpl to change:

  {if !empty($showViewCount) && $item.viewCount > 0}

to

  {if !empty($showViewCount) && $item.viewCount < 0}

Gallery requires quite a bit more php memory than the default 8M. Edit /etc/php4/apache2/php.ini:

memory_limit = 32M

For debugging, visiting http://localhost/gallery/lib/support may be useful.


Copyright © 1995-2008 Togaware Pty Ltd
Support further development through the purchase of the PDF version of the book.
Brought to you by Togaware.