|
||||||||
PHP Easy Photo Gallery Instructions. |
||||||||
| PHP Easy Photo Gallery is an easy to use, easy to install, easy to modify gallery script using PHP, MySQL, and a little JavaScript. INSTALLATION INSTRUCTIONS: First Basic setup edit the database connections in both of the files in the config folder. Upload this entire package in the root folder of your website. If some of these folder already exist, no problem simply add the files to the existing folders.
Make sure to chmod the folder "gallery" to 0777 Then in your browser, browse to http://www.yourdomain.com/admin/index.php. This will set up the database. If that doesn't work please copy the setup in the SQL file into PHP MyADMIN to manually setup the MSQL database See example.php for a working example. Thats it your event gallery is up and running! When you log into the admin system for the first time visit the configuration link to make sure everything is as it should be. Even if it looks fine hit update. Don't forget to delete the install.php Now as classy as the design of the example is you probably want it to fit in with your website. Below are instructions for customizing your own page.
<?php include ("config/dbconfig.php"); ?>
<?php include("language/english.php"); ?> <?php include ("functions/functions.php"); ?> Place in head
<link href="css/gallerystyle.css" rel="stylesheet" type="text/css" media="all"> <link href="css/lightbox.css" rel="stylesheet" type="text/css" media="all"> <script src="js/prototype.js" type="text/javascript"></script> <script src="js/scriptaculous.js?load=effects" type="text/javascript"></script> <script src="js/lightbox.js" type="text/javascript"></script> <!--[if IE]> <style type="text/css" media="screen"> body { behavior: url(css/csshover.htc); font-size: 100%; } </style> <![endif]--> Place where you want the gallery to display
<?php makeGallery(); ?> To install the optional page preloader
Add to the body tag - onLoad="waitPreloadPage();" example: <body onLoad="waitPreloadPage();"> If you have additional onLoad events just make sure to seperate them with a comma Directly after the <body> tag - <?php echo prePageTop(); ?> Directly before the </body> tag - <?php echo prePageBottom(); ?> DEMO LOCATED HERE: http://www.atwebresults.com/php_easy_photo_gallery/ DEMO ADMIN: http://www.atwebresults.com/php_easy_photo_gallery/admin/
USER: admin
PASS: admin |
||||||||
| Opps! Did I Make A Mistake or Miss Something? Please Let everyone know Here | ||||||||