Simple Installation
- Upload index.php and the ubergallery directory to your web server where you would like the gallery to be displayed. (Example: http://www.domain-name.com/photo-gallery/)
- Upload your images to the ubergallery/images/ directory.
- Make the ubergallery/cache/ directory writable by the web
server.
chmod 777 -R /path/to/ubergallery/cache/
- Open your web browser and navigate to the directory where you installed the gallery and the script should generate thumbnails and display your images.
Install to Pre-Existing Web Page
- If you wish to change the name or location of the images folder, thumbnails folder or log file, or you would like to enable pagination, open index.php and edit the variables found at the top.
- Rename index.php to ubergallery.php
- Upload the newly created ubergallery.php and the entire ubergallery/ folder to your web server.
- Insert the following code into the page where you would like
the gallery to be displayed:
<?php include('path/to/script/ubergallery.php'); ?> - Copy the contentst of ubergallery/resources/css/gallery.css into your own style sheet or include it in your page and edit it to your liking.
- Upload your images to the images directory (ubergallery/images/ by default).
- Make the ubergallery/cache/ directory writable by the web server.
chmod 777 -R /path/to/ubergallery/cache/
- Navigate to the page in your browser and the script should generate thumbnails and display your images.
