Image Gallery by GEConsult readme.txt

Before deploying for the first time edit distrib-gallery.cfg as required and save as gallery.cfg.

Be sure to supply or confirm database connection parameters.

If your database doesn't already contain the "mypics" table, you can edit and execute the supplied mypics.sql file to create it.  Be sure to replace "mydb" with the name of your database before executing mypics.sql.

By default the $imgPath is "images/" -- a subdirectory of the file location of gallery.php.

If you will be using the photoAdmin component it is strongly recommended that you edit usr_adm records to create your own users or, as a minimum, update existing records with new, strong passwords. You can use our utility at https://www.geconsult.ca/util/password-util.php to generate or test hashed passwords. You will also need tbl_token_auth which is also created by the usr_adm.sql script.  Do not modify tbl_token_auth.

For the photoAdmin component, in addition to your image files, the images subdirectory must also contain uphile.php.

If you're installing an update you should update the version number and the $excludePattern and $includePattern variables in your gallery.cfg file to be consistent with the version shown in the new distrib-gallery.cfg. You may also need to add the chkFyl from the bottom of distrib-gallery.cfg if it's not already in your gallery.cfg.


