Php Gallery in 15 Minutes
So, you would like to represent your photo gallery, or portfolio, or shopping cart – any kind of images catalogue,
but do not have a time to develop.
With this article I will show you how to save you time.
First, download EncapsGallery – a set of php scripts, that represent a catalogue of your images (items), with an
admin backend to manage your photos, upload, delete, assign to categories.
Next, unzip donloaded archive encapsgallery.zip, and upload files to your web-server (web-server requirements: php, mysql).
Next, change permissions for the directory “rwx_gallery”, and for the file “config.ini.php”
permissions:
“777″ (Unix)
or “rwx rwx rwx” (Windows)
Next, run your web-browser and open “admin/catalog_install.php”, fill in database connection parameters and click “Submit”
- it will install the database tables, if parameters you provided are valid, otherwise you will need to enter valid parameters
again.
Next, after the database tables will be installed, run catalog_config.php and configure your gallery (admin auth parameters,
thumbnails, optional payment gateway integration)
Finaly, you are ready to publish your images. There are two ways to do this:
1) you may upload your images via upload web-form
2) you may upload a bunch of images via ftp into “rwx_gallery” directory, and run “admin/catalog_scan_rwx.php” for assign
new images with gallery categories.
Well, your catalogue is published.