Recent Changes - Search:

Cookbook

PmWiki

pmwiki.org

PhpQuickGallery

Summary: Integrate PHPQuickGallery
Version:
Prerequisites: Requires at least PmWiki version: 2.0.beta43; last tested on PmWiki version: 2.0.beta43; requires IncludeSite
Status:
Maintainer: Kursad
Categories: Images

Question

How can I implement a very simple gallery in my PmWiki site?

Answer

I found this simple php gallery script.

http://www.icefox.net/programs/?program=PHPQuickGallery

This is a very simple and efficent gallery script that will show any image within defined folder or subfolders, it is very easy to install. (No database required).

sorry this link didn't work... go to root dir and dl the newest tar.bz2 file Download the script, upload to your web site http://www.icefox.net/programs/PHPQuickGallery/phpquickgallery_1.7.tar.bz2 is now http://www.icefox.net/programs/PHPQuickGallery/

After finishing uploading, type url of your gallery and start using this simple gallery script.And do not forget to upload some of your pictures to pictures folder in script`s folder.

To implement in your site, use IncludeSite addon.

ex: (:includeSite http://www.xxxxxxx.com/yourgallery:(approve links))

You need to upload the IncludeSite script and change your pmwiki config as other addons.

I also installed this simple ftp script on my web site

http://www.net2ftp.com/

So that you can upload pictures to your pmwiki gallery anywhere in the world. Again you can implement this ftp script with includeSite tag

Notes and Comments

This simple implementation will not give pmwiki to access gallery directly, but it is rather a simple solution to complicated galleries without hassle.

See Also

As an another idea (if you want to push little further) , if you install gallery script into your pwiki upload folder, in theory this script should be able to pick up all the images uploaded to pmwiki upload gallery. After you have copied script, its files and folders to your pmwiki upload folder, you need to change some settings in script`s config.

name of the file : gallery_settings.inc.php and change these settings to below ones, (if you copied script and its folders in the root of your pmwiki upload folder (this is the one listed in your pmwiki config.php)

$homeDir = getcwd()."/../";

$cacheDir = getcwd()."/../cache/";

$webHomeDir = "../";

$webCacheDir = "../cache/";

  • Please make sure that your folder and file settings are set properly, so gallery script can create cache and thumbnails*
  • I would not trust the security of this script, if you need a secure gallery you may want to look for other sophisticated ones.

List of easy php gallery scripts

EasyPhpAlbum http://sourceforge.net/projects/easyphpalbum

Contributors

Kursad

Edit - History - Print - Recent Changes - Search
Page last modified on March 21, 2007, at 09:47 AM