Gallery Tutorial
This tutorial shows an example of what can be done with combining the Adroit framework, and Google's Picasa Web Albums.
To view a live example, visit gallery.selfcontained.us.
This gallery project is available for complete download, and can be setup for your own use by following these steps:
- Download the project archive from the following site: http://code.google.com/p/adroit/
-
Extract it and you should have the following directory structure:

- Configure your adroit.conf.php file, webroot/.htaccess, and app/view/template-config.conf files, adjust your webroot if needed, and the "RSC" attribute in the template-config.conf file.
- Set your app/view/compile_dir to be writeable by apache.
- There are a few possible changes you can make to gallery.conf.php
- username can be set to the picasa username for your gallery
- albumsPerPage to configure the # of albums to show per page on the main gallery
- photosPerPage to configure the # of photos to show per album page
- thumbnailSize can be set to 'large', 'medium', or 'small'
- jslib can currently only be set to jquery, but the javascript included is in such a way to allow for additional libraries to be plugged in if needed in the future.
- ajaxNavigation will allow for navigation throughout the gallery without page refreshes
Thats it! With those steps you should be set. The downloadable gallery project has some built in functionality to adjust certain configuration parameters through the UI. These can be safely removed from the project if they are not wanted.


