OakGallery

Forum-integrated php gallery for your site!
 
NEW: Now with libgd support!

DOWNLOAD

Release Version
[ 2004-12-24 ] OakGallery 2.04 Released [ Download ] Fixes all(?) referer-related cheat/destroy-possibilities
[ 2004-07-23 ] OakGallery Patch Released [ Download ] Fixes voting problem
[ 2003-10-30 ] OakGallery 2.03 Released [ Download ] ChangeLog
[ 2003-09-06 ] OakGallery 2.02 Released [ Download ] ChangeLog
[ 2003-04-19 ] OakGallery 2.01 Released [ Download ]
[ 2003-04-05 ] OakGallery 2.00 Released [ Download ]

Development Version
This is the very latest development version. If you have difficulties with the newest release version, maybe you can try this version. The development version may not work at all, and include features which have not been tested, so it is not recommended for production sites.
[ Download ] (not yet available)

FEATURES
  • Integrated with your existing forum software
  • Easy to integrate with other methods of user authentication
  • IP-based authentication included for users without forum software
  • Does not need 'register_globals' to be switched on
  • It's FREE of charge ;-)
     
  • Organize images into categories and subcategories
  • Lets users rate and comment on the images
  • Sort the images by date, rating, views, etc.
  • Languages available: English and Swedish. Easy to translate to your own language!
  • Most features are configurable in some way
  • The design is very configurable
  • Define your own data fields
  • Built with speed and security in mind
  • Automatic generation of thumbnails and display images
  • Can add your logo to uploaded images automatically
  • Uses ImageMagick for high quality thumbnail resizing
  • Ban IP's from commenting
  • Show random images from the gallery on any page on your site!
    (This is done simply by including random.php in your own PHP page)
     
  • ...and more!
SCREENSHOTS

The welcome screen

The category view shows the images of a category. Selecting a sub category in the combo-box is also possible.

The image screen shows the image and the comments made on the image. IP-numbers are only shown to admins.

Uploading pictures is as simple as this!

Creating categories is done from this admin view.

A user can see comments on his images.
REQUIREMENTS
Image Library
  • ImageMagick binaries, libGD, or libGD2.0
Database Server
  • MySQL or MS SQL Server (experimental support for ODBC)
  • Administration tool for the database server (e.g. phpMyAdmin)
  • Support for MySQL has been tested thouroughly.
  • Support for MS SQL has been tested and seems to work fine.
  • Support for ODBC is currently untested.
PHP
  • PHP 4 (PHP 3 untested, but should work)
  • Tested with PHP 4.2.2
  • Short-tags must be enabled in php.ini!
Forum Software
  • Tested with phpBB 2.0.4
  • Tested with vBulletin 2.2.x
  • With vBulletin 2.3.x, and error message is produced by vBulletin, but still works.
  • Forum software is not really needed (but highly recommended), you can use ip-based authentication too.
Web Server
  • OakGallery currently requires a web server that allows you to run shell commands from php-scripts (for ImageMagick).
  • ImageMagick must be installed on the server. Download it here.
    (Only the commands 'convert' and 'composite' is needed)
INSTALLATION
  1. Create a database for the gallery (using e.g. phpMyAdmin)
    (You can use the same database for OakGallery as for other things, as long as the table names don't collide)
  2. Execute the complete database script found in InstallDB/<server-type>-OakGallery.sql
     
  3. UnZip the gallery to a local folder
  4. Edit the Upload/config/galleryconfig.php to suit your needs.
    The configuration options should be self-explanatory.

    To find where ImageMagick's convert and composite are located. Try running this from your shell (unix):

    which convert or
    whereis convert
  5. Upload all files in the 'Upload' subdirectory to your webserver.
     
  6. Make the directories 'thumbnails' and 'images' writeable by the webserver.

    E.g:
    chown nobody thumbnails
    chmod 770 thumbnails
    (In this example, the webserver is run as user nobody.)
  7. Also, you need to make the PHP temporary upload directory writable by the webserver.

    (Contact your system administrator if you need help with step 6-7)

Now, try loading the gallery page in your webbrowser and start creating categories for your pictures!

FAQ

Q: I get 'Error moving file' when trying to upload a picture!
A: Make sure you've set write permission on both the images-directory and the webservers temporary upload directory!

Q: I get an error like: "Failed opening 'sql-mysql.php' for inclusion (include_path='')"
A:
This should be fixed in 2.01 - please upgrade!
A: You need to set the include_path variable in php.ini. On a new line in php.ini, type:
   include_path = "."

MODIFICATIONS

If you want to modify OakGallery to better suit your needs, the following rules must be obeyed:

  • The 'PayPal-donate' link and text must be CLEARLY visible. Preferrably near the top of the page.
  • The original copyright message must be CLEARLY visible near the top of ALL pages.
  • Add a message saying 'Modified by xxxx' or similar near the copyright message.
  • Have fun! (and yes, that is a rule!)

 

DONATE
OakGallery is available FREE of charge, but donations are always welcome.
Please click on the button below to support further OakGallery development.

Please donate!
USERS OF OAKGALLERY

FiskeSnack.Com using vBulletin integration (Click on 'Bilder' in the top menu)
PotatoesMC.Com using vBulletin integration (an old version of OakGallery)
DungeonKeepersDomain.com


Contact me at software@ake.nu