The Photo Gallery
Plugin Description:
This is a gallery plugin that utilizes the folders within the "Files Management" tab.
Features:
- You upload files via the built in uploader
- i18n compatible (except album titles)
- Show unlimited depth of nested albums/galleries
- Configuration option to set thumbnail size and to either show or hide empty albums
- Uses FancyBox to display image with previous/next
- Auto thumbnail generation
Install Instructions:
Setup Plugin
- Upload all the files within the downloaded zip file to your
/plugins/
folder. - Log in and navigate to Settings -> The Photo Gallery
- Specify a Photo Gallery folder within this plugin's control panel. Be sure that it matches a real folder that is within your
/data/uploads/
folder. These folders can be created within the Files Management screen. - Create new folders within that root folder. These will be your albums. (see Folder Naming Tips below)
- Upload photos to these new albums. The script will read all jpg, jpeg, gif and png formats.
- Make sure you've placed the short-code (see Install Code below) inside a page.
- Go to that page to view your new photo gallery.
Install Code
You can either use a shortcode OR the template tag to display your photo gallery. You do not have to use both.
[SHORTCODE] Add this to the body of the page you want to show the photo gallery on:
(% the_photo_gallery %)
[TEMPLATE TAG] Add this to the theme template file you want to show the photo gallery on:
<?php the_photo_gallery(); ?>
Folder Naming Tips
This plugin reformats the folder name to be the "album" title. '-' are converted to spaces, and '_' are converted to single quotes. For example:
- A folder with the name (slug) of
wedding-engagement-photos
will become Wedding Engagement Photos when displayed within the gallery to the user. - A folder with the name (slug) of
mike_s-photos
will become Mike's Photos when displayed within the gallery to the user
Archived Versions:
These are old versions of this file. Please use with caution as they are probably out of date and no longer supported. ShowHide