Media Gallery User’s Guide

v1.5

http://www.gllabs.org

 For the latest documentation, please see the

Media Gallery Wiki

 

Table of Contents

Overview

Media Gallery is a native Geeklog plugin that lets you manage your photos and other media (video / audio) on a Geeklog powered website. With Media Gallery it is easy to maintain albums of photos, video and music via an easy to use web interface. Media Gallery takes advantage of the many features of a Geeklog powered website, including integrated searching, featured albums, random image block and full support for the Geeklog security model. Media Gallery has evolved over the years to become a full featured media management system for your Geeklog powered website.

Overall, Media Gallery offers a nice blend of ease of use with many advanced features to give you a robust multimedia gallery for your Geeklog CMS site. I hope you enjoy using Media Gallery and I always welcome your feedback and suggestions.

License

Media Gallery is Copyright 2004-2007 © Mark R. Evans mark [at] gllabs [dot] org.

The Media Gallery Plugin is licensed under GNU General Public License Version 2.

If you make enhancements or modifications to Media Gallery, I would appreciate it if you would share your changes with the Media Gallery community.

Credits

Media Gallery was inspired by the excellent Gallery Project. Gallery is probably the best open source photo / media management systems available today. Gallery has been integrated with many other open source packages, but it never provided the type of integration I desired. I wanted something a little less featured, easy for Grandparents to use, but yet with enough features to make it easy to manage. Media Gallery is the result of this desire.

To achieve the desired results, I had the opportunity to see how others solved similar problems. Many design features, and in some cases code were borrowed from the Gallery project. Also, the Coppermine Gallery provided ideas and how-to's on accomplishing some features. I looked at several Geeklog plugins to see how they accomplished integration and because of the hard work of others, my job was much easier. Many thanks to those that have allowed me to see their work and in many cases borrow from it!

Media Gallery uses several Open Source Packages, including:

Requirements

Media Gallery does have several dependencies on Geeklog and the hosting environment. The following requirements must be met to ensure Media Gallery will function properly.

Geeklog Version

Media Gallery requires that you have the latest release of Geeklog installed and working, the latest production release at this time is Geeklog v1.4.1. Media Gallery will work with Geeklog v1.3.10 or later, but it is always recommended that you run the latest release.

PHP Version / Configuration

Media Gallery requires that you have PHP v4.3.0 or later.

Media Gallery requires a reasonable amount of memory to run, calling the external graphics packages to work with large image files takes a lot of memory. You should configure PHP to allow for at least 32 M of memory per process. Check your memory_limit variable in php.ini and ensure it is set to at least 32M.

Media Gallery will work fine with register_globals=off

Media Gallery can work with safe_mode=on but it is not supported. I know of only 1 user who has successfully run Media Gallery with safe mode enabled.

Graphics Package

Media Gallery requires that you have one of the following graphics packages installed on your server.

Database

Media Gallery has the same requirements for databases as Geeklog. Currently, Media Gallery support MySQL v3.23 and above, including the latest v5.1 beta releases.

Media Gallery also fully supports Microsoft’s SQL Server 2000 and SQL Server 2005. SQL Server support is a new feature in Geeklog v1.4.1.

What’s New in v1.5.0

Media Gallery has added several new key features in v1.5, below is a quick list of new or enhanced features in this release:

Improved Slide Show Features

Media Gallery now supports three types of slideshows.  The original JavaScript slideshow, a cool looking Litebox slideshow and finally an experimental Flash based slideshow with full screen capabilities.   There is a small drawback with the Litebox slideshow, the user must manually click to move from one image to the next.

Flash Mini-Slideshow

Media Gallery now includes a neat Flash based mini-slideshow applet that can be embedded in your Geeklog content via an auto tag.  Actually the mini-slideshow is very powerful and can be used for all sorts of things.

Embedded Video Support

This allows you to now include video content from sites such as YouTube or Google video in your Media Gallery items.  The content is still hosted and streamed from the originating site, but the videos will appear to be fully integrated in your album.  You can also use the video auto tag to embed these remote videos into your Geeklog content.

Streaming FLV Support

If you have a streaming Flash Video Server at your disposal, you can now include these streamed FLV files in Media Gallery.

Media Gallery Template / Style Overhaul

There has been a significant amount of effort placed into cleaning up the templates used by Media Gallery.  Now, all colors and fonts are controlled via the mediagallery.css style sheet.  This should make it much easier to integrate Media Gallery into sites that do not use the Geeklog standard professional template.

Enhanced MP3 Processing

Media Gallery can now automatically extract any embedded thumbnails from MP3 files and use them as the media item thumbnail.  Media Gallery also attempts to extract the MP3 title, artist and genre and places these items into the media caption / description fields.

New JUPLOAD Applet

The old JUPLOAD Java upload applet has been replaced by a new, open source, solution that solves all issues working with FireFox 2.0.

Speed / Memory Optimizations

A full code review was performed and several tweaks were made that reduce the overall memory requirements of Media Gallery and have also produced improved performance.

And a whole lot more….

These are just the major feature improvements, there have been several other minor enhancements and additions as well.  See the full ChangeLog file in the distribution for more details.

Installation

Media Gallery follows the standard Geeklog plugin installation procedure. Below we will document two methods to install the Media Gallery files, via FTP and via standard shell access to the server.

FTP Installation

If you do not have shell access to your server and can only use an FTP client to access your server, follow these instructions.

To install Media Gallery, or any Geeklog plugin, you will need to un-archive the plugin on your local computer. The Media Gallery distribution will automatically create all the proper directories when it is un-archived.

To un-archive a .gz file, you can use later copies of WinZIP or WinRAR.   If you are running Mac OSX, please ensure you have the latest version of StuffIt installed.

  1. Create a temporary directory on your local hard drive to hold the Media Gallery files (let's use C:\tmp for our example).
  2. Open the mediagallery-1.5.0-1.3.11.tar.gz file with WinRAR.
  3. Select Extract All Files and point to the C:\tmp directory as the destination.

Now we should have a local copy of the Media Gallery Plugin in C:\tmp

Now that you have a copy on your local hard drive, it is time to FTP upto your server.

Start your FTP program, I recommend FileZilla if you do not have a program you use already. FileZilla is free and supports many different operating systems (Windows, Linux, etc.).

Connect to your web server with your FTP program.

Our first FTP will be the entire Media Gallery distribution to your server. You will want to use the diagrams below to find the proper directory on your server and move the entire c:\tmp\mediagallery\ directory to the path-to-geeklog/plugins/ directory.

To find the path-to-geeklog you can look in your Geeklog config.php file and see what directory is defined in the $_CONF[‘path’] line.

SPECIAL NOTE: For the initial FTP of the Media Gallery distribution, you will want to actually drag the mediagallery folder from your local computer to the plugins directory on your server. The remaining FTP’s below you will actually drag the files, not the parent directory.

	tmp\                path-to-geeklog/
| |
+ mediagallery\--+ + backups/
| + data/
| + include/
| + language/
| + logs/
| + pdfs/
+------------->+ plugins/
+ public_html/
+ sql/
+ system/
+ config.php

Next, you will need to make a sub-directory under the public_html directory on your server called mediagallery. For most FTP programs you can create directories by highlighting the parent directory, public_html in this case, then right click the mouse, select New Folder and name it mediagallery. This procedure may be a little different depending on which FTP program you are using, check their documentation.

  path-to-geeklog/
|
+ backups/
+ data/
+ include/
+ language/
+ logs/
+ pdfs/
+ plugins/
+ public_html/
|
+ mediagallery <--- Make this subdir
+ sql/
+ system/
+ config.php

Next you will need to FTP all the files from the c:\tmp\mediagallery\public_html\* directory to your server. Here you will want to select all the files and sub-directories in the public_html\ directory, not just the public_html\ folder. Follow the diagram below:

	tmp\                 path-to-geeklog/
| |
+ mediagallery\ + backups/
| + data/
+ public_html/*-+ + include/
| + language/
| + logs/
| + pdfs/
| + plugins/
| + public_html/
| |
+-------------->+ mediagallery/
+ sql/
+ system/
+ config.php

Next, you will need to make a sub-directory under the admin/plugins/ directory on your server called mediagallery.

	path-to-geeklog/
|
+ backups/
+ data/
+ include/
+ language/
+ logs/
+ pdfs/
+ plugins/
+ public_html/
| |
| + admin\
| |
| + plugins\
| + mediagallery <--- Make this subdir
+ sql/
+ system/
+ config.php

Next you will need to FTP all the files from the c:\tmp\mediagallery\admin\* directory to your server. Here you will want to select all the files and sub-directories in the admin\ directory, not just the public_html\ folder. Follow the diagram below:

	tmp\            path-to-geeklog/
| |
+ mediagallery\ + backups/
| + data/
+ admin/---+ + include/
| + language/
| + logs/
| + pdfs/
| + plugins/
| + public_html/
| + admin/
| + plugins/
+-----------------------> + mediagallery/
+ sql/
+ system/
+ config.php

Congratulations! You should now have all the files uploaded to your server and you are ready to skin to the Online Installation step below.

Standard Shell Access Installation

  1. Backup your Geeklog database because the Media Gallery plugin adds tables. You can do this with the built in database backup facility in the Admin menu.
  2. Uncompress the Media Gallery plugin archive while in the path-to-geeklog/plugins directory. The archive will create a directory called mediagallery.
  3. Under your <public_html> directory, create a directory called mediagallery.
  4. Under <public_html>/admin/plugins/ directory, create a directory called mediagallery.
  5. Change to your path-to-geeklog/plugins/mediagallery directory.
  6. Copy the files in the admin directory to the admin/plugins/mediagallery directory you created in step 4.
  7. Copy the files in the public_html directory to the public_html/mediagallery directory you created in step 3.

Online Installation

Now that you have the files loaded on your server, it is time to actually perform the Media Gallery installation into Geeklog.

  1. Go to the plugin administration page. The Media Gallery plugin should show up with a link to install it. Click this link. The install page will tell you if it was successful or not. If not, examine the Geeklog error.log in path-to-geeklog/logs/ to see what the problem was. Fix the problem and re-install.
  2. The install page will offer you a link to the configuration page of Media Gallery. You should select this link and make the necessary changes to Media Gallery configuration to suit your environment.

Upgrading

Standard Upgrade Process

Upgrading Media Gallery is a very simple process.  You simply need to move the new Media Gallery files to your web server, just like an normal installation.  Instead of running the installation program, you will execute the Geeklog Plugin Update.

Since it is possible that there may be database structure changes during the upgrade process, Media Gallery will temporarily disable the Random Image Block, What’s New List and all auto tags until the Geeklog Plugin Upgrade has been performed.  This limits the risk of your site visitors seeing an SQL error or other error during the time the new Media Gallery source files are uploaded and the Geeklog Plugin upgrade has run.

To perform an upgrade, follow these steps:

If all goes well, the upgrade should be complete. If there were errors, please review your logs/error.log and correct any issues and try the UPDATE again.

Post Upgrade Checks

Directory Permissions

It is very important that Media Gallery be able to write to certain directories.  Generally the web server is executing the Media Gallery programs, so the web server must be able to write to the following directories:

public_html/mediagallery/mediaobjects/*

ALL DIRECTORIES UNDER THIS ONE

public_html/mediagallery/rss

This is where the RSS feeds are kept

plugins/mediagallery/tmp

Media Gallery’s temporary work area

How To Set Permissions

Setting the permissions will vary from server to server and depend on how you access your server. If you have shell access, changing permissions is as simple as running the following command from the mediagallery/mediaobjects/ directory:

         chmod -R 777 *

If you use FTP to upload files to your server, you can use your FTP program to change the permissions. Below is an example of using FileZilla as the FTP program to set permissions:

You will need to repeat these steps for all the directories listed above.

Assistance

If you need assistance getting the permission settings correct, check with your hosting provider’s technical support or post a support message at the gl Labs website.

Getting Started – The Quick Start Guide

Most Media Gallery functions needed on a daily basis are available from the drop down menus located in the Media Gallery main view and the album view. For normal users, the drop down menus will only contain functions such as Search, but for Media Gallery Administrators and album owners, these menus will contain all the necessary functions to:

Other, more advanced administrative functions are located in the Media Gallery Administration Screen. There you can setup the global Media Gallery configuration options, defaults to use when creating albums and other administrative functions.

Media Gallery Configuration

The very first action you should perform after installation is to configure the global options for Media Gallery. Specifically, you need to make sure you have selected the graphics package and its location. The other options will be detailed later in the document and generally the default settings are adequate to get started. Navigate to the Media Gallery Administration Screen by selecting the Media Gallery link under the Admins Only menu.

From the Media Gallery Administration Screen, select the System Options link under the Configuration heading.

Scroll to the bottom of the screen and make sure you select the proper graphics package for your environment and if necessary (ImageMagick and NetPBM) provide the location where the executable programs are stored. You may need to check with your hosting provider to get this information. Save the configuration and Media Gallery will perform a self-check to ensure it can find the graphics package and that all directory permissions are properly set. If any errors are reported, please fix them before proceeding.

Creating Your First Album

From the Gallery Main View, select Create Album from the Options drop down menu. Give your new album a name and description, check the default setting to ensure they are to your liking and save. You now have your first album.

Adding Media to Your New Album

Now that you have a new album, let’s put some media items into it. Click on the thumbnail from the Gallery Main View and that will navigate you to the new album. Now select Add Media from the Options drop down menu. This will give you the web based upload form. Use the Browse button to locate a media item on your local computer to upload and enter a title and description. Hit the save button and your media item will be uploaded. Once Media Gallery has processed the upload, you should see a confirmation message that the file was successfully processed. If you receive an error message, double check your configuration.

This concludes the Quick Start. Media Gallery has a lot of other features and methods for uploading media, please read the remainder of the documentation to gain a better understanding of all the functions and features Media Gallery has to offer.

Configuration

Media Gallery has many options to control the behavior, look and feel and integration with Geeklog.  Most configuration options are available directly through the Media Gallery administration screens.  There are a few options that are only available through Media Gallery’s config.php configuration file.

This section will cover the required settings, all other configuration options will be addressed within their individual sections.

Media Gallery Environment

Media Gallery must be told which graphics package to use and where the executable files are stored. Also, Media Gallery needs to know where it can create temporary files that are used during image upload and other image manipulation processes.

Graphics Package

Media Gallery supports three different graphics packages:

How you determine which package to use depends on your hosting environment and what type of media you plan to use in Media Gallery.  Most hosting providers will have at least one of the supported packages installed.  You may need to check with your provider’s technical support to find which packages they support.

GD Libraries

GD Libraries are compiled into PHP and do not require any additional path configuration.  GD Libraries offer good performance and good graphic quality.  This library supports a wide range of image types and is a good overall choice if available.

ImageMagick

ImageMagick is an external set of programs.  To use ImageMagick, you must know the directory where the executable programs are stored.  Generally on a Unix/Linux based host, they are either in /usr/bin or /usr/local/bin.  Contact your host’s technical support if you cannot locate the package in the standard location.

ImageMagick offers good performance and a wide range of image types.  If you plan on support PSD (PhotoShop) files, or TGA (Targa) files, ImageMagick will be required for these media types.

NetPBM

NetPBM is another external set of programs.  You must know the directory where the executable programs are stored to use NetPBM.  NetPBM offers very good image quality, but it is generally much more memory intensive and slow to process. 

Paths

Media Gallery needs to know where certain things are stored or where it can create temporary files.  The most important paths are the Graphics Package Path and the Path to temporary directory.

Graphics Package path is required if you are using ImageMagick or NetPBM as your graphics package.  If you are unsure of where these programs are stored, contact your host’s technical support. 

Path to Temporary Directory is where Media Gallery will create temporary files when processing uploads and performing other maintenance operations.  This directory must exist and must be writable by the web server.  By default, Media Gallery will try to use a temporary directory that was created when you installed Media Gallery.  There should be no need to change this value.

Albums

Albums are the containers in Media Gallery that hold your media items.  Albums can also hold other albums, called sub-albums. Each album has a unique set of properties that control how it looks and also how it will handle various media objects. 

The album configuration will control many aspects of how Media Gallery will work.  The album configuration will control who can view the album, what type of media it can hold, who can upload to it, how the media will be presented and what features and functions will be available.  Understanding all the different configuration options is very important since they play a very important role in the overall media presentation.

Album Configuration Options

Album Attributes

Album attribute configuration options control which features are available in this album and also how the album will be displayed.

Allow Comments

If this is enabled, users will be able to post comments on the media items contained in this album.

Enable EXIF

If this is enabled, users will be able to view the embedded EXIF/IPTC data of the JPG images.  You can disable EXIF processing, or you can have it display below the media item or in a pop-up window.  Also, you can control what EXIF/IPTC meta data is displayed by configuring the EXIF options located in the Media Gallery Administration screen.

Enable Rating

If this is enabled, users will be able to rate your media items.  Once a user has rated an item, a cookie is set on their workstation and is checked each time they try to rate an item.  Users will only be allowed to rate an item once.

Enable Album RSS Feed

If this is enabled, a RSS feed for this album will be created / updated each time you add or remove media to this album.  The RSS icon will appear to the right of the album name.  This allows your site users to subscribe to the RSS feed and keep up with any changes to the album.

NOTE:  Permissions are not checked when a user views the RSS feed.  If you have a protected album and enable the RSS feed, anyone who knows the feed name can view the feed.

Podcast Album

If you have enabled the RSS feed for an album, you can also enable the Podcast option.  If this is enabled, the RSS feed will be created with all the required enclosures to create a Podcast feed.  This can be used by tools such as iTunes to view, listen or watch the media items in this album.  For a more detailed description of the Podcast feature, see the Special Album Types – Podcast Albums section.

Enable Client Side Sorting

If this is enabled, a sort drop down menu will appear in the lower right hand corner.  This will allow your site users to sort the media items to meet their preferences.  Note, this only sorts the display of thumbnails for the user, it does not alter the sort options you specified in the album configuration.

Default Album Sort on Upload

By default, all media items in an album are sorted by upload time, with the newest always displaying first.  By selecting a new sort order, each time a media item is uploaded, the contents of the album will be resorted using the order you specify here.  This will become the default sort order that the album will use.

Enable Postcards

Postcards allow your site users to send a media item to family or friends with a short note.  This can be a great tool to help your users advertise your site.   Postcards can be completely disabled, enabled only for logged-in users or enabled for all users.

Please use caution when you make your choice, postcards could also be abused and used for spamming if you allow anyone to send them.  As a protection against misuse, Media Gallery does support enabled a CAPTCHA string on postcard creation if the CAPTCHA v3 or above plugin is installed. 

See the section on Postcards for more details on this feature.

Display Album Description

If this option is enabled, the album description will display just above the first line of thumbnails. 

Display Album Views Counter

If this option is enabled, the number of times an album has been viewed or entered will be displayed on the main Media Gallery index page and for any sub-albums in this album. 

Note: If you are the owner of the album or have the mediagallery.admin attribute, your browsing will not increment this counter.

Display Media Views Counter

If this option is enabled, each thumbnail will show the number of times the item has been viewed. 

Note: If you are the owner of the media item or have the mediagallery.admin attribute, your browsing will not increment this counter.

Enable Keywords

Each media item can have a set of keywords associated with it.  These are primarily used to improve searching.  If this option is enabled, the keywords will be displayed below the thumbnail image.

Image / Display / Album Skin

The frame around each image / thumbnail is the album is specified here.  Media Gallery supports several different frames.

List sub-albums before images

This specifies if any sub-albums should be listed before the media items or after.  If enabled, all sub-albums will be displayed before the media items are displayed.  If disabled, the sub-albums will be listed after all the media items.

Thumbnail Size

Determines the size of the thumbnails for the album.  There are three choices:

Audio / Video Playback Options

When a user selects to view or listen to an audio / video file, you as the system administrator have a few options on how you will play this file.

Enable Slideshow

For media items in the album, Media Gallery can display them as a slideshow.  There are three types of slideshows in Media Gallery:

 If you do not want to have a slideshow feature for the album, choose Disabled.

Display Rows / Columns

This determines the number of rows / columns of thumbnails per page.

Album Cover

By default, Media Gallery will use the most recent thumbnail as the album cover.

You also have the option of uploading an image to be used as the album cover.  By selecting the Attached Thumbnail checkbox and specifying the image to upload in the Thumbnail input, you can add the album cover.  When you attach a thumbnail to the album, that image will always be used as the album cover.

Media Gallery also allows you to specify one of the images in the album to be the album cover as well, instead of using the most recently added item.  This is configured in the Manage Media screen.

Featured Album

Albums can also be featured and configured to show on the front page, specific topic or all pages. To feature an album, simply check the Set as Featured box and select where it should be displayed. Media Gallery will not show a featured album to a user who does not have the privileges to see that album.

You can have more than one featured album. For example, you could have a different featured album for each Topic on your Geeklog system.

Media Handling Options

Each album can have specific options for displaying or handling any media within the album.

Use Filename as Caption

If this is enabled, each time a media item is uploaded, if no caption has been entered, the media items filename will be used in the caption field.

Enable Online Printing Link

Media Gallery supports an integration with DigiBug, an online photo printing service.  By enabling this option, a new link/icon will appear in the lower right hand corner of the media view.  This link will add the photo to the DigiBug shopping cart. 

For full details on the Online Printing feature, see the Online Printing Section.

Allow Media Download

Enabling this option will add a Download link to the media item view screen.  This will allow your site users to easily download the media item to their local system.

Display Full (original) Image

You can restrict or disable the ability for your users to view the originally uploaded image.  The options are:

Include in Random Image Block

This option specifies whether the image media from this album should be included in the site’s Random Image Block. 

NOTE: Only users with the mediagallery.admin attribute may change this setting.

Maximum Image Width / Height

You can control the maximum resolution of images placed into the album.  If you specify values for both width and height, any image media which is of higher resolution will automatically be resized to these limits.

If you do not wish to limit the resolution, place a zero (0) in both fields.

Maximum Allowed File Size

You can also restrict the maximum file size allowed in this album.  By specifying the maximum size in kilobytes (Kb) you will limit the ability to upload any media larger than this size.  Any item which exceeds this size will be discarded and an error message stating the file is too big will be displayed after the upload.

If you do not wish to restrict the file size, place a zero (0) in this field.

Display Image Size

You must specify the size of the Display Image (the image that is shown when viewing the media item).  Media Gallery has several pre-defined sizes and also the ability for you to add a custom size (see Media Gallery Administration). 

When the image media is uploaded, Media Gallery will create the display image using the size specified here.

NOTE: If you change the Display Image Size after you have already added images to this album, those existing image items will not automatically be resized.  This setting will only affect any new image items uploaded.  To resize the existing items, see the Media Gallery Administration section.

Watermarking Options

Each album can enable or disable watermarking.  Also, each album can have a unique watermark image and location.  To enable watermarking, select the checkbox for Automatically Watermark on Upload.

Watermark Opacity

This specifies the transparency used by the watermark image.  The lower the number, the lighter the watermark image will be on the original image.  The higher the number, the darker the watermark will appear.

Watermark Location

This specifies where on the image media the watermark should be placed.

Watermark Image

You must select an existing watermark image to apply to newly uploaded image files.

NOTE: Changing these values do not affect media items already uploaded to the album, these settings only apply to newly uploaded image media.

For full details on Media Gallery’s Watermarking features, see the Watermarking Section.

Allowed Media Types

Each album can be configured to only accept a certain type of media.  For example, if you create an album that should only contain music (i.e.; MP3 files), you can make MP3s the only allowed media type.  Any other type of media that is uploaded to this album will result in an error to the user informing them that the media type is not allowed.

The list of allowed media types is:
 

Image

Audio/ Video

Other

JPEG

MP3

ZIP

PNG

OGG

Any Other Type

TIF

WMV

GIF

SWF

BMP

MOV

TGA

MP4

PSD

MPEG

FLV

Remove FLV

Embedded Video

For more information on the different media types, see the Support Media Types section.

User Uploads

By default, only the album owner or a user with write permissions can upload media items.  User uploads allows you to open the album for contributions from regular site users.

Allow Registered Users to Upload Media to this Album

If this feature is enabled, any logged-in users to the site will have the ability to upload media items to this album.  If this is not checked (disabled), only users with write permissions to the album will be able to upload new items.

Turn on moderation for this album

Moderation allows you to store any new uploads by logged-in users into a temporary holding space where they can be reviewed and either approved for inclusion in the album or rejected and deleted.  Moderation is a great tool to ensure only appropriate media items are added to your album by your user community.

By enabling this option you will force all new media items uploaded by logged-in users to be redirected to the moderation queue.

This option is only valid if you have Allow Registered Users to Upload Media to this Album enabled.

Moderator Group

If you have enabled moderation for this album, select the group of users who will be responsible for reviewing and approving media submissions.

Email moderators on submission

If this option is enabled, all members of the moderator group will be notified via email when new media items have been uploaded.  Media Gallery tries to keep from flooding the inbox of the moderators, so if a user uploads 10 media items in a very short period of time, only one moderator email will be sent.

For more details on Media Gallery’s moderation capabilities, see the Moderation Section.

Permissions

Media Gallery supports the Geeklog security model, using Owner, Group, Logged-In and Anonymous permissions for each album. Media Gallery does not support permissions to the media item level, but instead the album level.

Media Gallery supports a single global permission, whether or not to allow non-logged-in users access to your albums. If you set the Configuration Option, Login Required to Yes, then only registered site users can view your albums, regardless of the album’s individual permissions.

Each album has a set of permissions associated with it, these permissions determine who can view, edit or add media to the album. The permissions are:

User

Read Permission

Edit Permission

Owner

Read

Edit

Group

Read

Edit

Logged-In User

Read

Edit

Anonymous

Read

 

Definitions are as follows:

Attribute

Description / Definition

Owner

Each album has an owner; it is the user who created the album.   Owners will always have READ / WRITE permissions.

Group

Each album has a group owner, this it the Geeklog group that has ownership of the album.  Group Owner can have either READ permission or READ/Write permission.

Logged-In User  (Members)

This is any user who has a login account on your site and is logged-in.  Logged-in users can only have READ permission or no permission to view the album.

Anonymous User

This is any user who has not logged into your site.  Anonymous users can only have READ permission or no permission to view the album.

Read Permission

Allows the user to view the contents of the album.

Write Permission

Allows the user to edit the album attributes (name, description, security permissions, etc.) and upload media to the album.

Hidden Album

Hidden albums have a special purpose; They are normally hidden from all lists presented to the standard user, but can be used for auto tags. For example, if you have an album that only contains images you wish to use in articles, but don’t want people to browse the album directory, you can mark it as hidden. All auto tags to this hidden album will only provide the image, without a hyper link to the album.

User’s who have WRITE access to a hidden album will see them as normal albums during browsing.

Force Child Update

If you change the permissions of an album and it contains sub-albums, you can force Media Gallery to set the exact same permissions on all sub-albums by selecting this option.

Creating an Album

To create an album in Media Gallery, select the Create Album option from the Options drop down menu. Each album has a set of configuration attributes that control how the album will be displayed, options for media presentation and access rights.

Editing an Album

In the album view screen (you must be viewing the album you wish to edit), there is also an Administration Drop down menu, this is where you select to Edit an existing album. The edit screen is identical to the create screen and allows you to modify the settings of an album and also change the parent album (effectively moving the album to another parent).

If the album you are editing contains sub-albums, you have the option of forcing all children albums to have the exact same permissions as the parent. If you choose to do this, check the check box labeled: Force Child Update.

Deleting Albums

An album can be deleted by selecting the Delete button in the album edit screen. If you select to delete an album, you will be given the option to move all sub-albums and media to another album or delete them. If you choose to have all the contents deleted, it is permanent, there is no undo function and all the media and sub-albums will be removed.

There is a Batch Delete Albums function available in the Media Gallery Administration screen. This will present a list of all albums and allow you to select which ones to delete. There is no option to move the contents of the albums when using the Batch Delete Albums function, all media items and sub-albums will be permanently deleted. Please use this feature with caution.

Sorting Albums

From the Gallery View Screen, there is an option to sort your albums. This will control the presentation of your albums to your site users. Albums are sorted in descending order, meaning the album with the highest order value is listed first.

Select Sort Albums from the Options drop down menu and you will be presented with a list of all your albums. To sort the sub-albums of a parent album, select the Parent Album’s link and that will give you a list of all sub-albums for that parent.

Global Album Attribute Editor

You can globally change an attribute for all of your albums using the Global Album Attribute Editor. This screen gives you a list of all available album attributes; you will need to check the Update check box for the attributes you wish to change. On submit all albums will be updated with the new attributes.

You can also select a Starting Album, which will allow you to only apply the settings to that album and all sub-albums under it. If you choose ----- as the starting album, the changes will be applied to all albums on your site.


An example is if you decided to enable comments for all your albums, you would check the box for Allow Comments, then check the check box to the right under the Update column so this setting will be applied. Submit and only the Enable Comment attribute will be updated for every album on your site.

Global Album Permission Editor

You can also globally change the permissions for all of your albums using the Global Album Permission Editor. This screen gives you a list of all available permissions; you will need to check the check box for the permissions you wish to change. On submit all albums will be updated with the new permissions.

An example is if you decide to change the group ownership for all of your albums, you would select the Group from the drop down list and then check the check box to the right under the Update column. Submit and only the Group owner will be updated for every album on your site.

Setting Album Create Defaults

When you create your albums, the initial settings are determined by the default settings that are setup in the Media Gallery Administration Section.

Special Types of Albums

By selecting a specific set of configuration options, you can create special albums that can be used to serve a specific purpose.

Member Albums

Member Albums are a special feature of Media Gallery v1.4+ that allows the site administrator to give their site users their own album or albums to upload media into.  Member Albums are special in that there are some protected options the member cannot configure, such as setting the album as a featured album or turning on/off moderation.  As the site administrator you can specify certain restrictions such as maximum allowed file size, maximum resolution of images or overall disk usage quotas for your members.

Media Gallery allows the site administrator to specify where Member Albums can be created.  For example, you could create a special album titled Member Gallery's and have all Member Albums placed under this album.  Or, you could specify that Member Albums can be created anywhere that the user has permissions to create.  For example, by specifying the root album as the Member Album Root, site users could create albums directly off the root album.  But, they could not create new sub-albums under another user’s album, permissions would not allow this. 

Media Gallery also provides the ability to automatically create Member Albums when the user registers with your site.  The drawback to this method is that not all users will utilize their Member Album and you may have several empty albums lying around your site.  To address this issue, Media Gallery provides a featured called Self Enrollment where the user can select to have their Member Album created and after they agree to your Terms and Conditions the album will automatically be created.  This extra step will help reduce the number of unused Member Albums. 

To enable Self Enrollment there are a few options:

To help manage those Member Albums that are created and never used, there is an administrative function, Purge Member Albums that will list all the empty Member Albums on your site and also show the last login date for the user.  This batch house-keeping function will make it very simply for you to remove those unused albums.

Just as Member Albums can be automatically created when a user registers with your site, they can also automatically be purged or archived when the user is removed from your site.  Media Gallery allows you to choose whether to delete the album and all of its contents automatically or move it to an archive area.

Member Albums provides a flexible and safe method to allow your site users to share their media items on your website.

For specifics on configuring and administering Member Albums, see the Media Gallery Administration Section.

Podcast Albums

There is a new album attribute called Podcast Album, if this option is checked for the album, the RSS file will included the required enclosure tags needed for podcast clients. The RSS files will also use the album’s cover image as the RSS feed image.

Media Gallery can also display a podcast album differently, using a single column layout similar to the Geeklog story layout. To enable the podcast layout, select the following album attributes:

If the media file is MP3, Media Gallery will display a small player below the thumbnail to allow your site users to easily listen to the podcast online.

Hidden Albums

Hidden albums have a special purpose; They are normally hidden from all lists presented to the standard user, but can be used for auto tags. For example, if you have an album that only contains images you wish to use in articles, but don’t want people to browse the album directory, you can mark it as hidden. All auto tags to this hidden album will only provide the image, without a hyper link to the album.


User’s who have WRITE access to a hidden album will see them as normal albums during browsing.  This includes any user with the mediagallery.admin attribute.

Media Items

The heart of Media Gallery is the actual media you upload into your albums.  Media Gallery supports a wide range of media types.  Media Gallery has some unique methods to handle your uploaded media, below is an overview of how Media Gallery processes the media items.

How Media Gallery Stores your Media

Media Gallery does not store your images and other media items outside of the web root. This means, it is possible that a user could view your media items directly, bypassing the Geeklog security model. Don’t panic, there are controls in place to minimize this, but it is possible. You will need to decide if the controls Media Gallery has in place will meet your needs and requirements.

Unlike many gallery solutions, Media Gallery does not store your media items in subdirectories that are named after the album they reside.  Instead, there is no relationship to the album and the physical directory where the media items are stored.   Media Gallery has 16 directories, named 0-f, where it will store your media items. 

Also, Media Gallery will use a unique hash algorithm to create the actual filename used to store your media.  An example is 09b1867c5238c1c9035bc73f76b29bf4.jpg. 

These two features add to the overall security of your media items since it would be almost impossible for someone to actually guess both the directory name and the unique hash filename.  But, this also makes it very difficult to export your media items or physically manage your files locally.

There is an option to disable the unique hash naming feature, instead Media Gallery will simply use the original filename of the media item instead.  This makes downloading the item a little less confusing.

Media Gallery never displays the item filename in a URL. The filenames are disclosed in the rendered HTML page, in the image tags. My thought here is that if you give a user access to the album through Media Gallery and they use the View Source option of their browser to see the actual filenames, they already have access to the media item anyway.

I believe the media items have an appropriate level of protection that will prevent a non-site user the ability to view your media items directly.

A concern that I have heard voiced is the ability for other sites to hot link to your media items. Basically, making them available to their site, but using your bandwidth. There are several options available outside of Geeklog and Media Gallery to prevent this from happening. Most hosting services offer a method to prevent hot linking. If you are running the Apache web server, there are many solutions to prevent hot linking. If you are running Microsoft's IIS server, there are ISAPI filters available to prevent this as well. Do a Google search on "hot link protection" and you will be presented with several options.

One note of caution, if you choose to use a hot link protection method and also give your site users the ability to print images using the integrated on line printing feature of Media Gallery, you will need to allow the domain digibug.com to pull images directly from your site. Be sure and include digibug.com in the allowed exception list.

A quick note on why Media Gallery was designed this way. Originally, when I first wrote the initial version of Media Gallery, I did store all the items outside of the web root, only allowing access through the program. I found several problems and issues with this approach over time. Browsers did not cache the content, since it was dynamically sent each time. Some privacy tools and ad blockers would block the content. I decided on a compromise, let the images be directly accessible, with a naming and storage convention that would make it very difficult to guess. So far, this solution has proven to be successful one. I understand there may be some users who feel they need a 100% guarantee that no one outside of their logged-in website users can access their media items. Unfortunately, in this case, Media Gallery is probably not the best solution. I would recommend looking at the Gallery2 Bridge that supports embedding Gallery v2.1 into Geeklog, Gallery v2 does support storing the images outside of the web root.

Supported Media Types

Media Gallery supports a wide range of media.  Including image, video, audio and any other type of item you wish to add.  You can control what types of media are allowed on a per album basis.  Also, depending on the Graphics Package you are using, some media types may or may not be supported.

Image Media

Media Gallery will automatically convert all uploaded image media to JPG format.  There is an option you can specify during the upload (Browser based upload only) to disable the conversion.

Format

Description

JPEG

JPG is a commonly used compression / storage format for image media.

PNG

PNG is a bitmap image format that employs lossless data compression.

TIF

Tagged Image File Format is mainly used for storing image media. TIF format is only supported by the ImageMagick graphics package.

GIF

Graphics Interchange Format an 8-bit-per-pixel bitmap image format that was introduced by CompuServe in 1987 and has since come into widespread usage on the World Wide Web due to its wide support and portability.

BMP

BMP is a bitmapped graphics format used internally by the Microsoft Windows and OS/2 graphics subsystem (GDI), and used commonly as a simple graphics file format on those platforms.

TGA

TGA File Format, often referred to as TARGA File Format, is a raster graphics file format.

PSD

The .PSD (Photoshop Document) format stores an image with support for most imaging options available in Photoshop. These include layers with masks, color spaces, ICC profiles, transparency, text, alpha channels & spot colors, Clipping paths, and duotone settings. PSD format is only supported by the ImageMagick graphics package.

Audio / Video Media

MP3

MP3, is a popular audio encoding format. It uses a lossy compression algorithm that is designed to greatly reduce the amount of data required to represent the audio recording, yet still sound like a faithful reproduction of the original uncompressed audio to most listeners.

OGG

Ogg is an open standard for a free container format for digital multimedia, unrestricted by software patents and designed for efficient streaming and manipulation.

WMV

WMV (*.wmv) files use Microsoft's ASF container format. These files can be played by Windows Media Player and other players such as MPlayer, VLC media player or Media Player Classic.

SWF

SWF is a proprietary vector graphics file format produced by the Flash software from Adobe (formerly Macromedia). Intended to be small enough for publication on the web, SWF files can contain animations or applets of varying degrees of interactivity and function.

MOV

The QuickTime (.mov) file format functions as a multimedia container file that contains one or more tracks, each of which stores a particular type of data: audio, video, effects, or text (for subtitles, for example).

MP4 / MPEG

MP4 is a multimedia container format standard specified as a part of MPEG-4. It is most commonly used to store digital audio and digital video streams, especially those defined by MPEG, but can also be used to store other data such as subtitles and still images.

FLV

Flash Video (FLV) is a proprietary file format used to deliver video over the Internet using Adobe Flash Player (formerly known as Macromedia Flash Player) version 6, 7, 8, or 9.

Streaming FLV

Same as above, but referencing a streaming flash video server.   To use streaming FLV files, you must have a streaming Flash video server.

Embedded Video

Any embedded video from sites such as YouTube or Google Video.

Media Gallery will now determine if there is an embedded thumbnail image in an uploaded MP3 file. If there is, Media Gallery will extract it and automatically use it as the attached thumbnail for the audio file.

Media Gallery will also pull the title,artist, and genre for the embedded tags and use these to auto fill the media title, description and keywords.

Other Media Types

ZIP

If configured, Media Gallery can extract a ZIP file and process the contents inside.

Other

Allows any other type of media not defined above to be placed in the album.

Media Handling Overview

Media Gallery will create a thumbnail and display image for all uploaded image media.  This means that Media Gallery will maintain three different copies of an image.  The decision to create static thumbnails and display images was based on performance.  An image is uploaded once, but viewed many times.  It make sense to create the thumbnail/display  image one time and display it many times instead of dynamically creating the thumbnail/display image each time it is displayed.  There is a huge performance gain and this gives Media Gallery the ability to scale to higher number of concurrent users.  The downside is there is a large disk space requirement since these images are statically stored on the server.

When new media is uploaded to Media Gallery, there are several actions performed.  Many of the actions are controlled via the album configuration.

When a new image is uploaded, Media Gallery will do the following:

When new video media is uploaded, Media Gallery will do the following:

When new audio media is uploaded, Media Gallery will do the following:

As you can see, how Media Gallery deals with new media is very dependent upon how the album is configured.

Uploading Media

Media Gallery supports several methods to add media to your albums; Direct Browser Uploads, Import via FTP, Upload via JUPLOAD Java Applet and the Windows Web Publishing Wizard.

Before we get into the details about how to add media to your albums, there needs to be a little discussion on outside factors that affect uploading to your albums. Server configuration and PHP’s configuration play a major role in how uploads work and what can be uploaded. For example, PHP’s configuration file (php.ini) controls the maximum file size that can be uploaded. It also controls the maximum size of a page that can be submitted. See this online FAQ for more information.

Let’s discuss the options for adding media to your albums:

Direct Browser Uploads

This option allows you to upload media to an album. You must specify a caption for each uploaded file; the description field and keyword fields are optional. You may also upload a thumbnail with each item you upload for the album.

Browser uploading is very convenient, but it does limit the size and how many items you can upload at one time. For example, if your PHP configuration only allows 2 megabytes file uploads, you cannot upload anything larger through the browser upload screen. If you have 20 or 30 items to upload, you can only upload a maximum of 4 items at a time with the browser upload.

FTP Import

Import via FTP offers a much more flexible method to add items to your albums. There are no real limits on how many items you can add at a time or file size limitations like those of the Direct Browser Upload.

To use Import via FTP, you must first transfer your media items to your server and store them in a temporary directory. Usually this is done using an FTP program (I prefer FileZilla, a flexible and free FTP utility for several platforms). Once you have uploaded your media items with your FTP client, you use the FTP Import option to move them into your albums.

You must upload your media to the directory specified in the System Configuration FTP Path.

Adding media items via FTP import also offers a few other advantages, Media Gallery can automatically create albums based on sub-directory names making it very easy and convenient to add a large number of items to your Media Gallery.

For example, if your FTP directory contains:

	+- vacation pictures
+- school pictures
+- outdoor pictures

Media Gallery will automatically create the albums called: vacation pictures, school pictures and outdoor pictures. Media Gallery will use the album defaults when creating the albums.

If you Import via FTP your MP3 or OGG files, during the import, Media Gallery will pull the title and artist information (if available) and place it in the title field automatically.

Gallery Remote Applet

Gallery Remote is a JAVA applet developed by the Gallery Project. They are gracious enough to publish their API and specifications so it can be integrated into other projects.

With Media Gallery v1.4.4 and above, there is full support for using Gallery Remote as an upload tool.

To use Gallery Remote, it is as simple as downloading the applet and installing it on your computer. Once you have it installed, setup a connection for your Media Gallery site by choosing Add Gallery URL, the url would be http://www.yoursitehere.com/mediagallery.

JUPLOAD Java Applet

JUPLOAD is a JAVA upload applet.

To use JUPLOAD, you must have the Java Runtime Environment installed on your local computer. Once the applet is started, you can select the destination album for your uploads via the Album Select drop down menu, then using the JUPLOAD applet, select which files you wish to upload and submit.

Windows Web Publishing Wizard

Media Gallery supports uploading directly from Microsoft Windows XP, using the Web Publishing Wizard. This is a very easy and convenient method to place media items into your albums.

Microsoft officially removed the “Web Publishing Wizard” from Windows Vista. 

Before you can use the Web Publishing Wizard, you must first tell Windows about your site, this is done by installing a small registry file that will give Windows the details about your site.

To get this registry file, go into the Media Gallery Upload Screen and select the Windows Publishing tab.  Select the correct registry file for your operating system.  Install this registry file in Windows by either double clicking on the saved file, or by choosing ’Run’ from the download dialog box.

You are now ready to publish to your Media Gallery installation directly from Windows XP.

Open up a folder with images or other media items you wish to publish, look in the left menu under File and Folder Tasks and you should see Publish this folder to the Web. If you had selected only a couple of items to publish by first highlighting them in Windows Explorer, it would read Publish the selected items to the Web.

Follow the Windows prompts until you get to the ’Select Provider’ screen, here you should see your website. If not, you need to install the registry entries by following the procedure above.

You will need to sign on (the wizard will prompt you for your Geeklog username and password).

You should see a list of your albums now, select the one you want and select Next. Or, you can create an album at this point, simply choose ’Create Album’ button and follow the prompts.

You will be asked if you want to resize the files before uploading. This is up to you, if you choose to resize your files, it will generally decrease the time necessary to upload the items, but Windows XP can alter or destroy some of the embedded EXIF information during the resize. Also, if you choose to allow your users to utilize the On line Printing Feature, the smaller you make the original image, the fewer options your users will have when printing the images. For example, they will not be able to print a 16x20 inch photograph if the original size is changed to 1024x768 pixels. Decide if you want your images resized and then select Next.

Your files should now start uploading.

The Windows Web Publishing Wizard is not very good about reporting errors, you will want to check your Geeklog error.log if there were any problems uploading your files.

Keep in mind that the Windows Web Publishing Wizard is under the same size restrictions are uploading via the browser. So if your PHP installation has a maximum file size of 2 megabytes; that would be the largest file you can upload through the publishing wizard as well.

Once the wizard has completed the upload, it will log you out of the website.

NOTE: In order to force the logout at the end of the uploads, Media Gallery tricks the XP Publishing Wizard by placing a dummy upload record at the end of the XML manifest. This causes the XP Publishing Wizard to report and extra file on the upload. So, if you are uploading 10 images, the XP Publishing Wizard will actually report x of 11 images uploaded. Don’t be alarmed that the image count is incorrect, it does not affect the items you upload and it is purely cosmetic.

Uploading ZIP Files

If you have enabled ZIP file support in the System Options, you can upload a ZIP file containing images. Media Gallery will unzip the file, including any embedded sub-directories, and then import each of the files. Just like in the FTP Import, Media Gallery will automatically create albums for each sub-directory found in the ZIP archive.

Uploading Streaming FLV or Embedded Media

To add streaming / remote media items to your Media Gallery albums, when you select Add Media there is a new tab called Remote Media. Select this tab and a new upload form will display.

 

Upload Fields:

 

Post Upload Processing

FFmpeg Video Thumbnail Support

FFmpeg is a complete solution to record, convert and stream audio and video. It includes libavcodec, the leading audio/video codec library. FFmpeg is developed under Linux, but it can compiled under most operating systems, including Windows.

Media Gallery uses FFmpeg to automatically create thumbnails for uploaded videos. In order to use FFmpeg, it must be available on your web server. I have found that many hosting providers do not like to install FFmpeg because it can take a significant amount of resources, so you may have to either compile and install it yourself, or locate a precompiled version to install. I recommend that you use Google’s search to find a precompiled version for you environment if necessary.

Configuring Media Gallery for FFmpeg

I have also found that there seems to be many different versions of FFmpeg out there, each with a slightly different set of support and command line options. To make Media Gallery as flexible as possible, you can customize exactly how FFmpeg is called.

In Media Gallery’s config.php file you will see the following entry:

$_MG_CONF['ffmpeg_command_args'] = ' -i %s -f mjpeg -t 0.01 -y %s';

This controls how FFmpeg is called. In this example, the full command for FFmpeg would be:

ffmpeg -i INPUTFILE -f mjpeg -t 0.01 -y OUTPUTFILE

You will see that there are several example command lines in the config.php file, you may need to experiment with each one to find the one that works best in your environment.

No FFmpeg Support?

If you do not have FFmpeg available on your web server, you can still use it locally on your workstation to create thumbnails from video files and simply attach them to the video through Media Gallery’s upload interface.

There are several versions of FFmpeg out there for most operating systems.  Try searching Google of none of the solutions below meet your needs.

Windows XP / Vista

For Windows users, there is a freely available version of FFmpeg available from Riva. This utility will create thumbnails and also convert various video formats to Flash Video.

If you wish to use it directly and/or without installing anything, ffmpeg.exe is directly shipped inside the freeware FLV Converter (site is currently down - download from this mirror instead). FLV Converter is just ffmpeg.exe alongside a simple FLV front-end, that is meant to help you easily use ffmpeg to convert FLV files to AVI/MPG/MP2 formats (by creating a batch file that uses ffmpeg.exe with all of the right parameters). Of course, you don’t have to use the FLV only front-end, especially since its AVI output setting is not configured correctly anyway (it can be easily fixed though by replacing the word “copy” with “mp3” in the created batch file - does anyone feel like creating a new front-end?).

Other Operating Systems

For those using other operating systems, there are many precompiled version of FFmpeg available, a little web searching and I’m sure you will find one for your environment.

I Can't Get it To Work!

When you are first setting up FFmpeg on your web server, I recommend that you turn on Verbose Logging in Media Gallery’s System Options screen. This will give you much more information in your Geeklog error.log file to help determine which set of command line options work best in your environment. What I have found through testing is that many times if FFmpeg does not support the input or output formats, it will simply crash and not give any return code. A little patience and diligence may be required to get it working properly.

Watermarking Image Media

If you choose, Media Gallery can automatically apply a watermark image to each image uploaded to your galleries. Media Gallery includes a Watermark Management system that allows you or your users (if they have ownership permissions on an album) to upload, delete and edit watermark images. To enter the Watermark Management, select Watermarks from the main Admin dropdown menu in the Album View.

When uploading watermarks, mediagallery.admin have the option to specify if a watermark image should be public or private. If marked as public, any user who has ownership permissions on an album can use this image as a watermark. Private images can only be used by the user who uploaded them.

Albums can be configured to automatically watermark images when they are uploaded, or you can manually watermark images at anytime. To automatically have them watermarked, enable Auto Watermarking in the Album Edit screen.

To manually or selectively watermark imgaes, this is done in the Media Management screen. Select the images to watermark and choose Watermarking from the batch dropdown.

Once an image has been watermarked it cannot be watermarked again.

Image Resizing / Limits

Depending on the album configuration, Media Gallery may need to resize the uploaded image.  If the image is larger than the resolution specified in the album configuration, Media Gallery will automatically resize the image to be at or below the size specified.

MP3 / OGG Processing

Media Gallery will apply some additional processing to MP3 and OGG audio files.

Manage Media Items

This option allows you to perform batch moves or deletes on media in an album. It also allows you to manually resort the media in the album and add a caption to each item in the album. You can also select which image will be used as the ’album cover’ for the album. This is the image that shows in the album list.

You can also edit the attributes and perform basic image edits by clicking on the image from the Media Management screen. This allows you to change the capture time, rotate the image, and modify the title, description, category or keywords.

You can also zoom in on any media item by selecting its icon; a full view will be opened in a pop up for viewing.

The following functions can be performed in the Manage Media Screen:

Batch Rotate Images

Select the images you wish to rotate by checking the Select Box to the left of the thumbnail. Select the direction to rotate the images from the batch drop down menu and then click the batch button.

Move media to new album

Select the media items you wish to move by checking the Select Box to the left of the thumbnail. Choose the destination album from the album drop down list and click the move button.

Delete Media Items

Select the media items you wish to delete and then click the delete button. WARNING: Deletes are permanent, there is not method to recover the items.

Watermark Images

If you have enabled watermarking in the album attributes (you have defined a watermark image to use), select the images you wish to have watermarked. Select Watermark from the batch drop down menu (Watermark will not appear if no watermark image has been defined for the album), and click the batch button.

Set Album Cover

By default, Media Gallery will use the newest image in the album as the album cover, but you can specify a specific image to use instead. Select the image you wish to use as the album cover by clicking the radio button to the right of the thumbnail (Cover Column). Be sure to press the save button to save your selection.

Reset Album Cover

If you had previously selected a specific image for the album cover but now want to return to using the Media Gallery default of showing the newest image, select the radio button labeled Reset Album Cover. Be sure to click the save button at the bottom to save your selection.

Sort Media Items

You can manually sort the order of the media items in your album. To the right of the thumbnail is a small entry box with a number in it. These numbers control the order the images are presented in the album. Larger numbers show first. You can change the sort order by changing the numbers in this box. Be sure to click the save button at the bottom to save your changes.

Include in slideshow auto tag

Media Gallery’s slideshow auto tag is a very powerful feature, but it does have some limitations. If you mix portrait and landscape images in the slideshow auto tag, it does not look as nice as having images of all the same size and orientation. You can select which images to include in the slideshow auto tag by selecting the check box under the Include in SS column.

NOTE: This does not affect the album Slide Show.

Edit media items title, description, keywords and category

You can edit the title, description, add keywords and modify the category for each of the items in the album. Note: The category drop down will not appear if there are no categories defined.

You can also edit all the attributes of a media item by selecting the [Edit] link below each thumbnail.

Media Edit

You can edit the specific attributes of a media item by selecting the media’s thumbnail from the Manage Media Item screen or from viewing the media item in Media Gallery.

This screen allows you modify the general attributes of the items, such as orientation, title, description, etc. You can also attach a thumbnail to the media item. If a thumbnail is attached, that thumbnail image will be displayed when viewing the album thumbnails.

Reset Views

This will reset the views counter to 0.

Reset Rating

This will erase all existing rating data for this media item.

Original Filename

This is the original filename as it was uploaded to Media Gallery. This is only an informational field that can be used if you need to export your media items.

Attached Thumbnail

This option allows you to attach a thumbnail to the media item. The attached thumbnail will be displayed in the album index view. If you want to remove an existing attached thumbnail, simply uncheck the attached thumbnail checkbox.

You can replace an existing attach thumbnail by selecting the browse button and choosing a new image to upload.

Replace File

If you want to re-upload the file or upload a new file to take the place of an existing media item, select the Replace File checkbox and specify the new file in the entry field.

Alternate URL / Remote URL

The Alternate URL is used by auto tags to provide a link to an alternative location instead of the media item view. Current the fslideshow: auto tag will use this field.

The Remote URL is used by either the Streaming FLV media type or an embedded video.

Title

The media items title.

Description

The media items description

Keywords

Keywords for this media item to enhance the searching feature.

Category

The category this media item should belong to.

Capture Time

This allows you to change the capture time stored in the database.

Don’t forget to hit Save to store your modifications in the database or to upload the new thumbnail or replacement file.

Batch Caption Editor

If you use the Import via FTP or XP Publishing Wizard to upload items to your albums, you did not have an opportunity to enter a title or description for the items. The Batch Caption Editor is a streamlined interface designed to quickly and easily let you add/edit the title and descriptions for your media items.

Sort Media Items

This option allows you to quickly sort all the media in an album based on Upload time or Capture Time (it will use the EXIF data if available in your media). Select which options you desire and submit, all the media items for that album will be resorted.

Media Gallery General Items

RSS Feeds

Media Gallery supports a full RSS feed which will include all albums and also a per-album RSS feed which can be turned on / off in the Album Attribute Editor.   There are two types of RSS feeds, an overall feed which shows all the albums on your site and then album specific RSS feeds.

Electronic PostCard

Media Gallery supports sending Electronic PostCards for any of the images in your albums. This feature can be turned on / off in the Album Attribute Editor. You can also specify if this feature should be available to all users (even those not logged-in) or only logged-in users.

If you have the CAPTCHA v3 plugin installed, you can also enable a CAPTCHA entry field when sending electronic postcards.  This is just another security feature to ensure that the electronic postcard feature is not abused by spammers.

Moderation

Media Gallery supports a moderation feature which allows users to upload media items to albums with member upload permissions. The media items are placed in a moderation queue until a moderator approves or deletes them.

Moderation is configured on an album by album basis. Each album can have a different set of moderators if you choose. Moderators are determined by Geeklog groups.

For example, you could create a Geeklog group called “Youth Album Moderators”. For a set of albums, you could turn on moderation and select the “Youth Album Moderators” as the moderator group. When a user uploads a media item to any of these albums, all the members of the “Youth Album Moderators” group will receive an email notification that a new media items is awaiting moderation (if configured, email notification can be turned off in the Album Attributes). Only the members of the “Youth Album Moderators” group can approve the media items. The exception is that the Mediagallery Admin group can also approve them as well.

When a moderator logs into the system, for the albums they moderate, there will be an option on the Administration Drop down menu called Media Queue, showing the number of items in the queue. The moderator will enter the Media Queue and either approve or delete the media items.

On line Printing

Media Gallery supports the ability for your users to print the images in your albums directly through an online service at DigiBug.com. Integrated online printing can be turned off or on per album. Digibug.com has an affiliate program, which Media Gallery is a participant, where the online printing service is offered through Media Gallery, and I, the author of Media Gallery, will receive a dividend for each image printed through the service. I have no plans to be able to retire on these dividends; they run a few pennies per image, so I do not expect to get rich quick. But, it is a quality service and I welcome the opportunity to offer it through Media Gallery. I hope you will allow your users to use the feature and all dividends will help fund the future development of Media Gallery.

Media Gallery is fully integrated with the services offered through Digibug.com and it all appears very seamless to your web site users. If they wish to print an image, they will simply click on the DigiBug icon on the lower right corner of the image display. This will take them to the Digibug.com web site with the image pre-loaded in their cart. They can choose from a whole list of image sizes and other items such as coffee mugs, t-shirts, etc. that the image can be printed on to. They also have the ability to ’Continue Browsing’ which will take them right back to Media Gallery where they left off.

Digibug supports many locations around the globe. Below is a list of countries they will ship the printed images to:

Batch Processing System

One of Media Gallery's goals is to be a very resource friendly application, specifically designed to run in a shared hosting environment. To accomplish this goal, many batch processes such as FTP Imports, Watermarking or resizing images is done using the Batch Processing System. The Batch Processing System takes large batch operations and instead of performing them in one large run, breaks them up into several smaller runs called cycles. For example, if you are going to watermark 100 images, Media Gallery will create a batch session and watermark the images in several cycles. This approach solves several problems when running in a shared hosting environment. First, most hosting providers have a maximum amount of time a script can run, if you exceed that time, the script simply stops. By processing large operations in smaller chunks, the server will never timeout. Second, processing image files is a very resource intensive process, generally taking a large amount of the CPU processor. Again, in a shared hosting environment, many hosting providers have limits on how much CPU a script can use in a specific timeframe. To keep you out of trouble with your hosting provider, Media Gallery's batch processing system will esure that it does not take too many CPU resources.

User Preferences

Media Gallery allows your site users to specify some preferences in their viewing habits.  Media Gallery will place a menu option under User Functions labeled MG User Options.  Registered site users will have the ability to configure the following items:

Site Administrators can disable this ability or can turn off the ability to configure any of the above items.  In the Media Gallery Administration Screen, select System Options and configure which items a user can configure in the User Preference Overrides section.

Watermarking

If you choose, Media Gallery can automatically apply a watermark image to each image uploaded to your galleries. Media Gallery includes a Watermark Management system that allows you or your users (if they have ownership permissions on an album) to upload, delete and edit watermark images. To enter the Watermark Management, select Watermarks from the main Admin dropdown menu in the Album View.

When uploading watermarks, mediagallery.admins have the option to specify if a watermark image should be public or private. If marked as public, any user who has ownership permissions on an album can use this image as a watermark. Private images can only be used by the user who uploaded them.

Albums can be configured to automatically watermark images when they are uploaded, or you can manually watermark images at anytime. To automatically have them watermarked, enable Auto Watermarking in the Album Edit screen.

To manually or selectively watermark imgaes, this is done in the Media Management screen. Select the images to watermark and choose Watermarking from the batch dropdown.

Once an image has been watermarked it cannot be watermarked again.

Geeklog Integration

Geeklog provides a very rich set of integration API’s (application programming interface) that Media Gallery takes advantage of to create a truly integrated system which offers a tremendous flexibility for the web site administrator. The Geeklog Development team did an excellent job of building a foundation that plugin authors can use to both simplify the coding process and provide a tightly integrated solution. The following section will detail some of these integrations in more detail.

Comments

Media Gallery takes full advantage of the Geeklog comment engine, allowing your site users to leave comments on your media items (if you have enabled comments in the album attributes). Since Media Gallery uses the Geeklog comment engine, all the protections provided by the Spam-X plugin to prevent comment spam are also enforced in Media Gallery. Also, the speed limit restriction (only allowing comments to be posted every XX seconds) is used in Media Gallery.

Auto Tags

Media Gallery fully supports Geeklog’s auto tag feature. These are tags that are embedded in an article / story that are processed when the article / story is displayed.   Auto tags are one of the most talked about features of Geeklog / Media Gallery.  They can be used to give simple integration of audio and visual components to your Geeklog stories, static pages, forum posts, etc.

All auto tags are immediately followed by either a media ID or an album ID.  Many auto tags support additional parameters to help you control the look and feel of the resulting integration. 

Auto tags also honor album permission settings.  If a user does not have the permission to view an album, any auto tags referencing that album or its contents will not be displayed to that user.  The only exception to this rule is the global Login Required setting. If you have enabled the Login Required setting, all auto tags will display even though an anonymous user cannot view the album.

Media Gallery also supports a couple of special features when it comes to auto tags. By default, Media Gallery will alternate the alignment of the thumbnails from left to right throughout your articles. If you prefer to specify a right, left or no alignment, you can use the align: parameter to force the alignment to your preference.

album:

The album auto tag will create a thumbnail image using the album cover.  This auto tag can only use the thumbnail image.

Parameter

Description

width:##

sets the width of the thumbnail image to ## px wide

height:##

sets the height of the thumbnail image to ## px high

align:left, right, auto or none

Determines the alignment for the auto tag, valid options are left to align left, right to align right, auto to have Media Gallery alternate alignment right/left and none for no align.

linkid:##

If linkid: is specified, the album auto tag will link to the media item specified with the linkid: parameter. Omit the linkid: parameter to have the album auto tag link to the album view.

border:0/1

1 places a border (frame) around the thumbnail
0 will disable the border

link:0/1

1 enables the thumbnail having a link to the album.
0 disables the hot-link, instead the album cover thumbnail will be displayed with no link.

caption

any text before the closing ] will be used as the caption for the image

Example:

            [album:1 width:200 height:200 align:auto border:1 link:1 A sample album auto tag]

This example will place the album cover thumbnail in the story using a height/width of approximately 200x200 pixels.  Media Gallery will preserve the aspect ratio of the image, so the size may not be exactly 200x200 but it will not be any larger than 200x200.  The alignment of the thumbnail will be automatically alternated between right and left depending on the other auto tags in the story, it will have a small border around it and will be hotlinked to the album view.  The caption will display below the thumbnail.

media:

The media auto tag is the general purpose auto tag, it will work with each any of media.  For audio and video media, it will display the attached thumbnail or the generic media thumbnail if there is no attached thumbnail.  For image media, it will display the media items thumbnail.

Parameters

Description

width:##

sets the width of the thumbnail image to ## px wide

height:##

sets the height of the thumbnail image to ## px high

border:0/1

1 places a border (frame) around the thumbnail
0 will disable the border

align:left, right, auto or none

Sets the alignment for the auto tag, valid options are left to align left, right to align right, auto to have Media Gallery alternate alignment right/left and none for no align.

src:orig, disp or tn

Specifies which image to use as the source, the original image (full size), the display image or the thumbnail. If no src option is given, the thumbnail image is used by default.

alt:0/1

1 will use the alternate URL of the media item for the href link
0 will link directly to the media item

caption

any text before the closing ] will be used as the caption for the image

For example [media:200706012342 What a pretty flower] will become

img:

Creates a raw <img> tag of the media item with an optional link to that media item.  The img: auto tag does not support any formatting beyond the thumbnail size and alignment.  The purpose of this auto tag is to give you the ability to place a raw HTML <img> tag in your story. Also, the img: auto tag does not provide a link to the original image.

Parameters

Description

width:##

sets the width of the thumbnail image to ## px wide

height:##

sets the height of the thumbnail image to ## px high

align:left, right, auto or none

Sets the alignment for the auto tag, valid options are left to align left, right to align right, auto to have Media Gallery alternate alignment right/left and none for no align.

src:orig, disp or tn

Specifies which image to use as the source, the original image (full size), the display image or the thumbnail. If no src option is given, the thumbnail image is used by default.


slideshow:

The slideshow auto tag will embed a JavaScript based slide show in your story. 

There are a few restrictions with the JavaScript slideshow; images are not centered, so if you have both landscape and portrait images to display, the portrait images will align to the left.   To assist you in having full control over this auto tag, in the Manage Media screen for each album, you have the option to select which image items will be included in the slideshow.  This gives you the ability to select images with similar size and orientation, which makes for a much prettier slideshow.

Parameter

Description

width:##

sets the width of the thumbnail image to ## px wide

height:##

sets the height of the thumbnail image to ## px wide

border:0/1

1 places a border (frame) around the thumbnail
0 will disable the border

align:left, right, auto or none

Sets the alignment for the auto tag, valid options are left to align left, right to align right, auto to have Media Gallery alternate alignment right/left and none for no align.

delay:##

The number of seconds to display an image before moving to the next one.

caption

any text before the closing ] will be used as the caption for the image

fslideshow:

Places a Flash based mini-slideshow on your page. As the images scroll, there will be a link to each individual image. The caption, if specified, will display below the slideshow.

NOTE: The mini-slideshow will not have a border around it.

The Flash mini slideshow will also use the alternate URL field if specified for the media item. This allows you to have the image link to another article, site, etc. instead of the Media Gallery media view.

If the user does not have Flash support installed, or is has an older version, a message informing them of this will be displayed instead of the actual slideshow.

Parameter

Description

width:##

Sets the width of the slideshow to ## pixels wide

height:##

Sets the height of the thumbnail image to ## px wide

align:left, right, auto or none

Sets the alignment for the auto tag, valid options are left to align left, right to align right, auto to have Media Gallery alternate alignment right/left and none for no align.

src:tn/disp/orig

Specifies which image to use as the source:

  • tn – thumbnail image
  • disp – display image
  • orig – original image

link:0/1

0 = no links to the media
1 = provide links to the media items

delay:#

Specifies the number of seconds to display each image before moving on to the next image.

title:top/bottom

top=places a title banner at the top of the slideshow, bottom=places a title banner at the bottom of the slide show.

caption

any text before the closing ] will be used as the caption for the image

video:

Places a small (200x200) video player in the article/story for media_id= and auto starts the video playing.  The video auto tag can be used to embed any video item from Media Gallery into a story.  This includes remote video such as YouTube videos.

Parameter

Description

width:##

Sets the width of the video to ## pixels wide

height:##

Sets the height of the video to ## pixels wide

align:auto, none, right, left

Sets the alignment for the auto tag, valid options are left to align left, right to align right, auto to have Media Gallery alternate alignment right/left and none for no align.

autoplay:0/1

If set to 1 the video will automatically begin playing, if set to 0, the user will need to press the play button to begin playing.

NOTE:You cannot change the width / height of embedded remote video files, the size is controlled by the embed string you specified when the video was added to Media Gallery.  In this case, the width / height parameters are ignored.

audio:

Places a small (15x200 no thumbnail or 200x200 with thumbnail) audio player in your story.  If there is an attached thumbnail to the audio item, it will be displayed above the player controls.

Parameter

Description

align:auto, none, right, left

Sets the alignment for the auto tag, valid options are left to align left, right to align right, auto to have Media Gallery alternate alignment right/left and none for no align.

autoplay:0/1

If set to 1 the video will automatically begin playing, if set to 0, the user will need to press the play button to begin playing.

download:

Allows for media items or any item stored in an album to be downloaded by the user.

Parameter

Description

caption

any text before the closing ] will be used as the caption for the image

mlink:

Places a text link to a media item - No thumbnail is used.

Parameter

Description

alt:0/1

1 will use the alternate URL of the media item for the href link
0 will link directly to the media item

href text

any text before the closing ] will be used as the href text

image:

Places a thumbnail image of the specified media item (using media id ). This does not put a link, only the image. The caption, if specified, will display below the image.

The use of the image: auto tag is depreciated, please use the media: auto tag instead.

Parameter

Description

width:##

sets the width of the thumbnail image to ## px wide

border:0/1

1 places a border (frame) around the thumbnail
0 will disable the border

align:left, right, auto or none

Sets the alignment for the auto tag, valid options are left to align left, right to align right, auto to have Media Gallery alternate alignment right/left and none for no align.

src:orig, disp or tn

Specifies which image to use as the source, the original image (full size), the display image or the thumbnail. If no src option is given, the thumbnail image is used by default.

link:0/1

1 places a link to the display image, 0 will disable linking to the original image.

caption

any text before the closing ] will be used as the caption for the image

oimage:

Creates an ’original’ image, this will use the originally uploaded image so the size can be much larger than the standard thumbnail.

The use of the oimage: auto tag is depreciated, please use the media: auto tag.

Parameter

Description

width:##

sets the width of the thumbnail image to ## px wide

border:0/1

1 places a border (frame) around the thumbnail
0 will disable the border

align:left, right, auto or none

Sets the alignment for the auto tag, valid options are left to align left, right to align right, auto to have Media Gallery alternate alignment right/left and none for no align.

caption

any text before the closing ] will be used as the caption for the image

Where do you get the Album ID and the Media ID?

The Album ID is displayed (only for Administrators only unless you enable Enable Media ID Display) on the Album View page in the lower left hand corner. The Album ID is also displayed in the URL, it is the aid parameter passed in the URL when you are viewing an album. Look in your browsers address bar to see it or look at your browsers status bar when you mouse over an album from the main album page.

The Media ID is displayed (only for Administrators only unless you enable Enable Media ID Display) on the Image Detail page in the left footer.

How do I change the look of the embedded image?

If you do not like the box drawn around the images, or what to tweak the look and feel to better fit your site, you can edit the autotag.thtml template file in the plugins/mediagallery/templates/ directory. This controls how the embedded image will look.

Auto Links

Media Gallery v1.5 fully supports Geeklog’s auto link features. This allows you to embed auto tags from other plugins into the title and descriptions of any album or media item. Auto link support is automatic and there are no configuration options necessary.

Site Statistics

Media Gallery is fully integrated with Geeklog’s statistics engine. There is nothing special you need to do to take advantage of this feature. When a user displays the Site Statistics in Geeklog, Media Gallery will report the total number of images in the system , the Top Viewed images and the Top Ranked (if ranking is enabled) images.

Searching

Media Gallery is fully integrated with Geeklog’s search engine. There is nothing special you need to do to take advantage of this feature. You should note, that is a media item does not have a caption; Media Gallery will use the Album Title when displaying the search results.

Media Gallery also has its own search system, which adds additional features over the standard Geeklog search. Media Gallery’s search allows you to specify a specific category and also search keywords.

What’s New Listing

Media Gallery is fully integrated with Geeklog’s What’s New block. This feature can be disabled in the Media Gallery Systems Option screen.

If comments are enabled for Media Gallery, any new comments to media will also be included in the What’s New listing.

Special Consideration for What's New Listing

If you enable the What's New listing, Media Gallery will attempt to pull all the new comments for your media to list in the What's New listing. This can be a very resource intensive operation. Basically, what goes on behind the scenes on your server is that the database engine will actually create a temporary copy of the comments database table and scan each individual record in that file. This can be a large load on your server if you have hundreds and hundreds of comments. It has also caused disk space issues on some hosting companies because they do not allocate much space for the temporary tables that are created.

Because this feature can be very resource intensive, there is a method to disable pulling the new comments, but leaving the new media items listing intact. To disable Media Gallery from trying to retrieve the new comments, check the check box for Disable What's New Comments in the System Options configuration screen.

Featured Albums

Just like Geeklog’s Featured Article, you can also feature an album. If an album is featured, it will display on the homepage (or whatever topic page you specify) either before or after the stories for that page. Media Gallery offers additional functionality over how Geeklog’s featured stories by allowing you to specify a different featured album for each Geeklog topic.

To make an album featured turn on the Featured Album attribute in the Album Edit screen and select the topic and location for the album to display.

Random Image Block

When Media Gallery is installed, it automatically creates a Random Image block in the Geeklog blocks system. This block is disabled by default and can be enabled by turning it on through Geeklog’s Blocks Administration.

The Random Image Block will show a random image from your albums, changing each time the page reloads and providing a direct link that the album where the image resides.

User Profile

Media Gallery also integrates with Geeklog's User Profile system, displaying the last 5 media items uploaded by that user and any albums that the user owns. If a user has not uploaded any media and does not own any albums, nothing will be displayed on the user profile page.

This feature can be turned on / off by setting the User Profile Integration option in Media Gallery's System Options configuration screen.

Media Gallery Look and Feel

Media Gallery’s look is controlled via template files and all fonts and colors are controlled via the mediagallery style sheet.

There are two special alignment classes in the style sheet:

These two styles control the alignment of all of the admin screens. If you are using a Right to Left (RTL) language and the alignment does not look good, all you need to do is modify these two styles to meet your needs.

The MGpluginMI styles should not be altered, these remove all padding and margins from the Media Gallery images to allow the frames to properly display.

To easily change the color scheme or font in Media Gallery, you will want to edit the CSS for the mgPlugin styles.

Media Gallery Administration

Media Gallery offers several advanced administration features in the Media Gallery Administration Section. All functions in this area are only available to site administrators and those with the mediagallery.admin feature assigned (Media Gallery Admin group). To enter the Media Gallery Administration screen, there should be a menu link under Admins Only labeled Media Gallery. Below is a detailed description of each feature and function available in the Media Gallery Administration section.

Configuration

The Configuration section allows you to change the behavior of Media Gallery by setting the various configuration options.

System Options

Login Required

If this is set to Yes, only logged-in members will be allowed to view the Media Gallery albums. If set to No, anyone can view the Media Gallery Albums. Keep in mind that each Album has its own set of security features and you can custom configure each album. This setting is global for all Media Gallery features.

Allow HTML in album/media titles

If this is set to Yes, HTML will be allowed in Album and Media titles and descriptions. Media Gallery will enforce the same limits that Geeklog uses for HTML as setup in the Geeklog config.php configuration. If set to No, HTML will not be allowed in Album/Media titles and descriptions and will be stripped before saving.

Usage Tracking

Media Gallery has a built in usage tracking system that will log all visits and media views into the Media Gallery database. Turning this on will increase the size of your database, but you will be able to see who is visiting your gallery.

Enable What's New Listing

If you want your updated albums and any comments entered into your gallery listed in the What's New block of Geeklog, enable this setting.

What's New Title Length

Media Gallery defaults to 28 characters as the length of the album titles shown in the What's New listing. If your Geeklog theme or template supports smaller or larger widths, you can adjust how the number of characters shown in the What's New listing.

What's New Time

The number of days to use for the What's New listing. All newly uploaded media items and comments within this time frame will be displayed in the Geeklog What's New listing.

Preserve Original Filename

Normal operation for Media Gallery is to rename all uploaded items to a very cryptic hash name. This is done in part for security reasons as it makes it very difficult for someone to guess the filenames. But, this can cause some issues if you want your users to be able to download items and have a more descriptive name.

By enabling this option, Media Gallery will preserve the original filename, at least most of it. Media Gallery will still make a small modification to the name, it will preface the filename with a #_ (where # is 0-f). This is done because Media Gallery will use the first character of the filename to disburse the files across multiple directories. This helps Media Gallery scale to thousands of images. It also helps when you attempt to upload items with the same name. Media Gallery will also convert all spaces in the name to underscores.

Discard Original Images

The default configuration for Media Gallery is to create (keep) three separate copies of each image that is uploaded; The original uploaded image, a display image and a thumbnail image. By enabling this option, Media Gallery will not keep the originally upload file, instead it will create the display and thumbnail images and then delete the uploaded original.


This option is available to those who have no need for the original image and do not wish to keep it. By setting this value to On, it will automatically disable the full view mode in Media Gallery.

This option is new to v1.4 of Media Gallery and to assist in the removal of the original images (if you so choose), a new Maintenance Option has been added to the Media Gallery Administrative menu to remove original images.

A great reason to keep original images is; if you wish to take advantage of the integrated On line Photo printing, having the original image in full resolution available will allow you or your users the ability to print larger pictures.

NOTE: This option only affects image files, it has no affect on QuickTime, Windows Media Player, MP3, MP4 or any other non-image media. All non-image original files are retained as they are needed by Media Gallery.

Verbose (debug logging)

If you are trying to diagnose an issue with uploading media, enabling verbose logging will turn on much more detailed logging of the upload process. These diagnostic messages will be logged to Geeklog's error.log file.

Disable What's New Comments

Determining if there are new comments in your albums is a very resource intensive operation. Since this usually shows on the main page of your site, you can disable pulling new comments to lessen the load on your server and increase you site's response.

Display MG Info in User Profile

If this option is checked, Media Gallery will display the last 5 media items uploaded by the user and the first 20 albums that they own in the user profile display.

If the user has not uploaded any media and does not own any albums, Media Gallery will not add anything to the user profile display.

Days to retain sent PostCards

If you enable the PostCard feature in Media Gallery, all sent postcards are saved in the database to allow the recipient the ability to retrieve them at a later date. They will be retained for the number of days you specify here.

Date Format

You can specify a different date format for Media Gallery. Many times the default date format on Geeklog is a bit too long and does not look very good in Media Gallery listings.

Display Geeklog Blocks

Geeklog basically has three blocks of information, the left block, center block and right block. Media Gallery always displays in the center block. You can configure which of the left / right blocks will be displayed when Media Gallery is being viewed. Left Blocks Only will display the left block, but not the right block.

Album Display Rows

This option sets how many rows will be displayed when viewing the Album Index.  The index will display page navigation if necessary.

Album Display Columns

This option sets how many columns will be displayed when viewing the Album Index.

Show Sub-Albums in Select Box

If this option is enabled, all sub-albums will display in a drop down select box.  If this option is disabled, the sub-albums will be listed as a bulleted list.

Index Album Skin

Selects which frame to use for the thumbnail images in the Album Index.

Original JPG Quality

The quality setting to be used when resizing the originally uploaded image.

Display JPG Quality

The quality setting to be used when creating the display images.

Thumbnail JPG Quality

The quality setting to be used when create the thumbnail images.

Gallery View Thumbnail Size

This setting determines the thumbnail size used in the Gallery View screen.

Enable Media ID display

Media Gallery requires that you use the media id for several of the auto tags that it supports. By default, the Media ID is only displayed for administrative users, not normal logged-in users. By enabling this option, all users will be able to see the Media ID in the media view screen.

Full Image Display in Popup

If you enable this option, if Full Image Display is enabled, all full (original) images will be displayed in a popup window. If this option is not enabled, full images will display inline.

Display Full Comment Bar

If you have comments enabled for an album, if no comments exist for a media item, Media Gallery will display Post a Comment at the bottom of the page. If you would prefer the standard Geeklog comment bar be displayed enable this option.

Birdseed Separator

This will be the separator used between sections in Media Gallery’s birdseed.

Default MP3 Player

The default MP3 player to use for audio playback, options include Microsoft Windows Media Player, QuickTime, Flash MP3 player or direct download.

Custom Image Height / Custom Image Width

Media Gallery provides several preset display image sizes, but if you need a specific image size that Media Gallery does not offer by default, you can specify that size here. For each album you have the option to specify the display image size and your custom height / width will presented in the options.

Play audio / video media directly from album view

Normally, the sequence of showing a media item are:

  1. Display the album index with thumbnails
  2. Select the thumbnail to view the display sized media item

But, for audio and video media, this sequence does not flow very well. For example, if you have an audio file in your album, the user will see the thumbnail for the audio in the album index view, then have to select that to simply see the thumbnail image again in the media item view.

If you set this option to enabled, clicking the thumbnail from the album index will immediately launch the audio / video file to the player, removing one step from the normal viewing process.

Use media / album title as caption for autotags

If no caption is specified on an auto tag, use the items title instead.

Random Image Block Width

How many pixels wide should the Random Image block be?

Truncate Breadcrumbs

Specify the number of characters each album title should be truncated when displaying in the bread crumb navigation.  A value of 0 disables this feature.

Batch Options

Refresh Rate

This option specifies how long Media Gallery should pause between batch cycles.

Maximum items per cycle

This option specifies the maximum number of items to be processed per cycle. Generally the batch processing system will run until it hits the maximum allowed execution time. But, if the maximum execution time is too large, using the entire time may put too large a load on your server, especially in a shared hosting environment. This option will allow you to only process a certain number of items per cycle.

Maximum execution time allowed

The maximum amount of time the batch processing system can execute per cycle. If this number is larger than the maximum time allowed by the site configuration, Media Gallery will use the lower of the two.

User Preference Overrides

Media Gallery allows your registered site users to override certain default settings. If you do no wish to have an album setting overridden you can disable the ability for the registered users to specify them.

Enable User to set Display Rows

If checked, registered users will be able to specify the number of rows to show in the album display.

Enable User to set Display Columns

If checked, registered users will be able to specify the number of columns to show in the album display.

Enable User to set MP3 Player

If checked, registered users will be able to choose a default MP3 player.

Enable User to set AV Playback Options

If checked, registered users will be able to override the album setting for how audio / video files are presented.

Enable User to set Thumbnail Size

If checked, registered users will be able to override the album setting for thumbnail size.

Graphics Package

Media Gallery must use an external graphics package to create thumbnails and perform other manipulations on your uploaded media. Currently, Media Gallery supports ImageMagick, NetPBM and GD Libraries. Select the one that matches your hosting environment.

Graphics Package Path

This option specifies where the binary programs for ImageMagick or NetPBM are installed.

Enable JHEAD Support

JHEAD is a command line utility that will save the EXIF/IPTC data in your images. By enabling JHEAD support, Media Gallery will be able to save all the EXIF/IPTC data even if it has to resize the original image, or remove the original image (EXIF/IPTC data will be saved in the display image).

Path to jhead binary

This is the absolute path on your server where the jhead binary on your server. Media Gallery will actually look in some of the default locations (/usr/bin, /usr/local/bin, /usr/X11R6/bin) and if it finds it there will pre-populate this field with the directory. If you are on a Windows system or have jhead stored in a different location, enter it here.

Enable JPEGTRAN Support

JPEGTRANS is a lossless tool for manipulating JPG images. It will allow for images to be rotated on line without loosing any quality.

Path to jpegtran binary

This is the absolute path on your server where the jpegtrans binary on your server. Media Gallery will actually look in some of the default locations (/usr/bin, /usr/local/bin, /usr/X11R6/bin) and if it finds it there will pre-populate this field with the directory. If you are on a Windows system or have jpegtrans stored in a different location, enter it here.

Enable ZIP Uploads

If enabled, you will be able to upload .zip files that contain media items. Media Gallery will automatically unzip the archive and process all the files included in the archive.

Path to unzip program

This is the absolute path on your server where the unzip program is stored. Media Gallery will actually look in some of the default location (/usr/bin, /usr/local/bin, /usrX11R6/bin) and if it finds it there will pre-populate this field with the proper directory. If you are on a Windows system, or have unzip stored in a different location, enter it here.

Path to temporary directory

Media Gallery requires that a temporary directory exist where it can read/write temporary files as it processes media items and zip files. Enter the absolute path on your server for this directory. Media Gallery will default to $_CONF[’path’] /plugins/mediagallery/tmp.

FTP Path Directory

Media Gallery requires that the FTP directory be specified in the on line configuration. This is a safety feature to keep the FTP import from looking in directories where it shouldn’t. Enter the absolute path on your server for this directory. Media Gallery will default to $_CONF[’path’] /plugins/mediagallery/uploads/.

EXIF/IPTC Administration

Media Gallery has the ability to display the embedded EXIF/IPTC data that is stored in your images by your digital camera. If you wish to use this feature, you will need to tell Media Gallery which EXIF/IPTC data elements you want displayed. Please note, not all data elements are actually stored in your image, this depends on the digital camera or scanning process. By default, there are a few key items already enabled.

To select which EXIF/IPTC data elements are available for display, enter the Media Gallery Configuration Screen and select EXIF/IPTC Administration. This will present you with a list of all the EXIF/IPTC elements that Media Gallery recognizes. You should check the checkbox to the right of the elements you want to be displayed with your images.

Keep in mind, you can enable / disable EXIF/IPTC support for each of your albums in the album configuration screen. You can also choose how the EXIF/IPTC data elements are displayed, below the media item, in a popup window or both.

Category Maintenance

Media Gallery allows you to create categories to help organize your media items. Categories are only used in the Media Gallery search function. You can limit your search to a specific category, or search for all items in a specific category.

Using this option, you can add, edit and delete your categories.

Reset System Options

This function will reset all configuration options in Media Gallery back to the installation defaults. Generally this is only used when testing new releases, but can be a quick method to return to the installation defaults if you have the need.

Media Gallery Configuration File Directives

All but a few of Media Gallery’s configuration options are available in the On line interface documented above. But there are a couple of specific items that can be changed in the config.php file located in the plugins/mediagallery/ directory:

Media Gallery Path’s / Location (config.php)

By default, Media Gallery is designed to be run from the public_html/mediagallery/ directory. You may change this location by changing the following config.php variables:

$_MG_CONF[’path_mg’]

This specifies which directory under public_html/ where the Media Gallery files are located.

$_MG_CONF[’path_html’]

This value should not be modified.

$_MG_CONF[’site_url’]

This value should not be modified.

$_MG_CONF[’admin_url’]

This is the full URL for the Media Gallery administration directory.

Global Options

The following settings will change some of the default behavior of Media Gallery.

$_MG_CONF[’disable_version_check’]

If this is set to 1, it will disable the automatic version check that Media Gallery performs when entering the Administration Screen.  If 1, Media Gallery will not try to contact www.gllabs.org to determine if you have the latest version installed.

$_MG_CONF[’mediamanage_items’]

The Media Manage screen can be very resource intensive when you have several hundred items in an album.  If you run into issues using this screen, decrease the number of items shown by lowering this number.

$_MG_CONF[’do_not_convert_original’]

By default, Media Gallery will convert all uploaded images to JPG format.  If you do not want Media Gallery to perform this conversion, set this to 1.

System Defaults Editor

Media Gallery has several configuration options for how albums will act and how your multi-media files will be presented. Setting up your defaults to your personal taste will make album creation easier and faster.

Album Defaults

This function allows you to configure the default values for each attribute of an album. These will become the default values used when creating an album. For details on each item and their options, please refer to Creating An Album.

Audio / Video Defaults

This function allows you to configure the default values for each feature of the audio / video playback for MP3’s, QuickTime Player and Windows Media Player. For specific details on each item and their options, please refer to Audio / Video Attributes for Media Items.

Global Perm Edit

You can globally change the permissions for all of your albums using the Global Album Permission Editor.

Global Album Edit

You can globally change an attribute for all of your albums using the Global Album Attribute Editor. This screen gives you a list of all available album attributes; you will need to check the Update check box for the attributes you wish to change. On submit all albums will be updated with the new attributes.

Media Queue

The Media Queue will display all items currently in the Moderation Queue waiting for approval.

To approve the media items, select the Approve radio button. These items will be placed in their destination album and the user who uploaded the items will receive email notification that their media items have been approved.

To disapprove (delete) the media items, select the Delete radio button. The items will be deleted. No notification will be sent to the user who uploaded the media item. 

Member Albums

Member Albums are a special feature of Media Gallery v1.5 that allows the site administrator to give their site users their own album or albums to upload media into. Member Albums are special in that there are some protected options the member cannot configure, such as setting the album as a featured album or turning on/off moderation. As the site administrator you can specify certain restrictions such as maximum allowed file size, maximum resolution of images or overall disk usage quotas for your members.

Member Album Options

The following options can be configured for Member Albums. Note: These are the default setting used when a member album is created. Any changes to the Album Attributes or Access Rights will not affect existing Member Albums.

Member Albums

Enable Member Albums

This will turn on / off the features of Member Albums. Basically if Member Albums are not enabled, auto-create and auto-delete functions will not be performed.

Default Member Quota

The default quota new Member Albums should start with, 0 means no quota.

Auto Create Albums

By enabling this option, when a new user registers with your site they will have a Member Album automatically created for them.

Allow Creation under Member Root

By default, members can only have one album directly under the Member Album Root Album. If you enable this feature, members can create as many albums as they wish directly under the Member Album Root album.

Member Albums Root Album

Specifies the root album that all member albums should be created under.

Archive Deleted Member Albums

What action to perform with Member Albums when the member is deleted from the Geeklog user database.

Album Attributes

Include in Random Image Block

Determines if new member albums should be included in the Random Image Block

Maximum Image Width

Maximum resolution (width and height in pixels) allowed in the member album. Anything larger will automatically be resized when uploaded.

Maximum Image Height

 

Maximum allowed file size

Specifies the maximum file size that may be uploaded into Member Albums.

Allow registered users to upload media to album

Whether or not to allow logged-in site users the ability to upload to other’s Member Album

Turn on moderation for this album

Enable or disable moderation for Member Albums

Moderator Group

Which Geeklog Group will be the moderator group (if enabled).

Email Moderators on Submission

Email Moderators when new media is uploaded

Access Rights

Owner Permission

Default owner permission for new Member Albums.

Group Permission

Default group permission for new Member Albums.

Member (Logged-in User) Permission

Default permission for Logged-in Users

Anonymous Permission

Default permission for anonymous users

Be sure to click the save button to store the default settings.

Member Album User list

This will show a list of all site users with information specific to their Media Gallery / Member Album quota usage. The list will show the following items:

User Name

Their Geeklog Username

Active

Whether or not they are an active Member Album user. If you have a user who abuses their Member Album privileges, or you need to suspend their administrative access to their Member Album, you can turn off the active flag and they will only have READ access to their Member Albums.

Quota

The total amount of disk space the user can consume.

Quota Used

The total amount of disk space currently used by the user.

To edit the user’s quota or active flag, simply click on the user name and a small edit screen will appear. You can change the Active flag or the user’s quota. Be sure to click save to store the new values.

Batch Create Member Albums

If you are just installing Media Gallery or upgrading you may have a number of users already on your site. This utility will allow you to create Member albums for any of your existing site users. Simply check the check box next to their name and save.

Another use for Batch Create Member Albums could be if you decided to not use the auto-create feature. Depending on how you administer your site, you could require that site users who want a Member Album must email you to request it. Using the Batch Create Member Albums feature will make creating these albums very easy.

Purge Member Albums

To help manage empty user albums, the Purge Member Albums function will present you with a list of only empty Member Albums, who is the owner and when they last logged into your site. This should make house keeping duties of removing non-used Member Albums much easier.

Reset Member Album Create Flag

This function should not have to be used often and more of a development tool than a standard administration tool. This feature will check each of your site users from the Geeklog database and verify if they have a Member Album. If they do, it will ensure their member_gallery flag is set to 1 and if they don’t it will ensure their member_gallery flag is set to 0. The member_gallery flag is used internally by Media Gallery to determine if the user should be included in the Batch Create Member Albums list and also in a few other places.

If you where to move your Member Album Root, you may want to run this utility to ensure everything is in sync.

Media Gallery should keep the member_gallery flag properly set without having to run this utility, but just incase it is here if you need it.

RSS Feeds

Media Gallery will support a full RSS feed which will include all albums and also a per-album RSS feed which can be turned on / off in the Album Attribute Editor. Media Gallery supports the following RSS types; RSS2.0, RSS1.0, RSS0.91, ATOM, ATOM0.3.

RSS Feed Options

Here you will configure how RSS feeds will work for your site’s Media Gallery:

Build Full Album RSS Feed

This option allows you to create a feed for all of your albums

RSS Feed Type

Select which RSS Format to use.

Exclude Empty Albums

This will exclude any albums that do not contain media items

Only include albums available to the public

This will allow you to only include albums that allow anonymous access

Base filename for feed

This is the base file name, Media Gallery will automatically place the extension .rss onto the Full Feed, and will create files named: basefilename##### .rss for your album feeds, where ##### is the album id.

Rebuild Full RSS Feed

This function will rebuild the full Media Gallery RSS feed. Normally you should not have to use this function as the feeds will be maintained automatically any time you make a change (upload, move, delete) items from your albums.

If you were to make several title / description edits to your media, you may want to rebuild the full RSS feed to ensure these changes are included.

Also, when you first enable the RSS Full Feed, you may want to run this to do the initial creation of the file.

Rebuild All Album RSS Feeds

This function will rebuild all of the individual Media Gallery album feed files for those albums that have RSS enabled. Normally you should not have to use this function as the feeds will be maintained automatically any time you make a change (upload, move, delete) items from your albums.

If you were to make several title / description edits to your media, you may want to rebuild the albums RSS feed to ensure these changes are included.

Reports

As Media Gallery continues to add features and functions, more reports may become available. Currently only one report is available;

Usage Reports

This will allow you to generate a Usage Report from the Usage Tracking database, if you have Usage Tracking enabled. This report will show what users have visited Media Gallery and the specific items they viewed.

Batch Sessions

Media Gallery’s Batch Processing System allows you to perform large time and resource consuming tasks without worrying about overloading or optimizing the resources on your server.

Paused Sessions

When a batch process has started, you can interrupt it if necessary by selecting the cancel button from the Batch Processing System screen. This effectively pauses the batch session. The Paused Sessions will list all paused batch sessions. You can continue the session by selecting the continue link or delete them by selecting the Select checkbox and clicking the delete button.

Rebuild Thumbs

This will rebuild all thumbnails in the system using Media Gallery Batch Processing System.

If you have upgraded from a version of Media Gallery prior to v1.2, you may want to rebuild all your thumbnails to take advantage of the larger thumbnail size supported in v1.2 and above.

Other reasons to rebuild all your thumbnails could be if you lost the files on your server.

There is also an option to just rebuild thumbnails for a specific album available in the Album view’s Option Menu.

Resize Images

This will rebuild all the display images in your system using Media Gallery’s Batch Processing System. If you were to change the display image size for all of your albums, this is a quick and convenient method to rebuild all those images using the new size.

Discard Original Images

This option will remove the originally uploaded images from your system, leaving just the display and thumbnail image. You must have the System Option Discard Original Images turned on to use this function.

This function performs several operations to ensure EXIF/IPTC data from the original image is preserved and that the database is properly updated.

If you choose to remove your originally uploaded images, this is the only method you should use to remove any existing original images on your system.

Once you remove the original images, there is no simple method to get them back!

Rebuild User Quota’s

Media Gallery maintains how much disk space each of your site users have used. The maintenance function will rebuild the quota count. Under normal operations, you should not have to run this utility.

Static Sort Albums

This function provides a very quick and simple method to sort all of your albums by one of the following attributes:

You can select a starting album and whether or not the sort should also sort each sub-album.

Static Sort Media

This function provides a quick and simple method to sort all the media items in your albums by one of the following:

You can select which album to start sorting and whether the sorting should process any sub-albums.

Batch Delete Albums

This feature will list all albums on your site and provides you with a quick and simple interface to delete multiple albums. ALL MEDIA ITEMS IN THE ALBUMS ARE ALSO DELETED! There is not confirmation page, the albums and media are simply removed.

USE THIS WITH CAUTION!

Utilities

Geeklog Log Viewer

I have included Tom Willet's Log Viewer in the Media Gallery Administration Screen. This is a great little tool for viewing the Geeklog error.log and access.log on line. This option is available from the Media Gallery Administration Screen.

The log viewer will allow you to easily view any of your Geeklog logs online and delete their contents if you wish.

PHP Information

This option will display the PHP Information Page for your server. It can be very useful in determining how PHP is installed and configured on your site.

FileCheck

FileCheck is a handy utility that will scan your Media Gallery installation and report any old or obsolete files. It can be used to help remove any old, no longer used Media Gallery source files or templates.

FileCheck will use the files included in the Media Gallery distribution as the list for comparison. If you have added or created new files, they will appear on the list, make sure you are not deleting files you have created or want to keep!

It is always a good idea to have a back up of your installation before running FileCheck.

Usage Documentation

This will provide a link to this documentation in HTML format.

Support

Media Gallery has a dedicated website to provide support and updates; Media Gallery Support Site. There are online forums to discuss installation and usage issues and an online FAQ to help answer some common questions. There is an active user community to help provide support and the author of Media Gallery keeps a close eye on the support forums and is always happy to provide assistance when needed.

Common Problems and Troubleshooting

Media Gallery has been designed to run in many diverse environments, but there are always issues that pop up.

Symptom:

Uploading media items results in a blank page.

Solution:

Generally this is a result of trying to upload a file that is larger than the file size specified in the following php.ini configuration directives:

Verify that the php.ini settings are large enough to allow the file upload.

Another issue that can cause a blank screen after upload is insufficient memory. Most default PHP installations are configured to use a maximum of 8 Mb of memory per process. Media Gallery requires at least 32 Mb of memory to process larger image files. Check the value of the memory_limit directive in your php.ini

If these solutions do not solve the issue, check your web server’s error log file to see if there are any diagnostic messages. Please post the issue at the Media Gallery Support site’s forums.

Symptom:

Thumbnails and display images are not being created after image upload.

Solution:

Validate that the directory permissions will allow the web server write access to all the sub-directories under public_html/mediagallery/mediaobjects/.

Also, double check to ensure your graphics package is properly configured.

Both of these can be checked by going into the Media Gallery Administration Screen, selecting System Options and saving. Media Gallery will run a self-check to validate directory permissions and graphics package. If any errors are reported try to fix the issue and try again.

Common Troubleshooting Practices

If you run into problems when using Media Gallery, there are a few standard trouble shooting items you should perform to help isolate the problem.

Check your web server’s error log

One of the first places to look for detailed error messages is in the web server’s error log. Depending on your hosting environment or your hosting service, how you do this varies. Many hosting services will actually place an error_log file in each of the directories that run PHP code. So, for example, if you are having a problem uploading images, check in the public_html/mediagallery/ directory to see if there is an error_log file.

Check your Geeklog error.log

Geeklog maintains its own error file, it is located in the logs/ directory. Depending on the type of problem you are having there may be more detailed information in this file.

Turn on Verbose Logging in Media Gallery

Media Gallery does a very good job of logging its steps as it attempts to process images, etc. By turning on Verbose Logging, it will log much more detail which may help diagnose a problem. These messages are logged to the Geeklog error.log file mentioned above.

Search the Support Forums at the Media Gallery Support Site

There is a very good history of issues and resolutions in the support forums at the Media Gallery Support site. Check and see if there have been others with a similar problem. If not, please post your problem there and it will be addressed as quickly as possible.

Known Issues

There are a few known issues with the latest release of Media Gallery that you may run into:

How Can I Help

There are several opportunities for folks to help out. Developing and supporting a complex program like Media Gallery is a very time consuming task. Anything you can offer will be appreciated.

If you want to get involved in the development efforts, there are plenty of areas where I would appreciate help.

If you enjoy using Media Gallery and just want to say thank you, then post a note in the forums. If you are so inclined, donations are accepted. This is my hardware/software fund, so any amount is always appreciated, but never required!

If you have an idea where you want to get involved, just let me know.

Special Thanks

I want to take a moment to thank several folks who have been very helpful throughout the development process. Without the hard work of everyone who downloaded, installed and tested all the development releases, Media Gallery would not have made it this far.

Also, the number of ideas and features everyone has suggested has been incredible. Again, without the imaginations and creativity of everyone, Media Gallery would not have the robust feature set it has today.

I especially want to thank everyone who has provided a language translation, I know how difficult and time consuming it is to sit down and translate the hundreds of phrases in Media Gallery, but because of your hard work, Media Gallery has been able to move into countries and environments that I could never accomplish alone.

Media Gallery has turned out to be much more than a hobby of mine, it has enabled me to make many new friends around the world, that is what makes this so much fun!


Thank you!
Mark R. Evans

 

Appendix A – Importing

Importing From Other Gallery Programs

Media Gallery provides the ability to import albums and images from other gallery programs. This feature could be used to evaluate Media Gallery. The Import Wizards do not update or disturb the original gallery program, so there is no risk in importing items into Media Gallery.

Inmemoriam Import

This import wizard will import all albums, media items and comments from an existing Inmemoriam Gallery installation. This wizard was written for Inmemoriam v1.01.

To begin the import, select Inmemoriam from the Import Menu under Media Gallery Administration.

Media Gallery will immediately create the album structure from the Inmemoriam system and then will load all the images into the Batch Processing Queue to be processed by the Batch Process System.

You will be redirected to the Batch Processing screen and the import will continue.

Once the import is complete, you should have an exact copy of the items you had in your Inmemoriam albums, including titles, descriptions, hit counts and comments.

Geekary Import

This import wizard will import all albums, media items and comments from an existing Geekary plugin installation. This wizard was written for Geekary vXX.

To begin the import, select Geekary from the Import Menu under Media Gallery Administration.

Media Gallery will immediately create the album structure from the Geekary system and then will load all the images into the Batch Processing Queue to be processed by the Batch Process System.

You will be redirected to the Batch Processing screen and the import will continue.

Once the import is complete, you should have an exact copy of the items you had in your Geekary albums, including titles, descriptions, hit counts and comments.

Gallery v1 Import

This import wizard will import all albums, media items from an existing Gallery v1 installation. This wizard was written for Gallery v1.4+.

To begin the import, select Gallery 1 from the Import Menu under Media Gallery Administration.

Media Gallery will immediately create the album structure from the Gallery system and then will load all the images into the Batch Processing Queue to be processed by the Batch Process System.

You will be redirected to the Batch Processing screen and the import will continue.

Once the import is complete, you should have an exact copy of the items you had in your Gallery albums, including titles and descriptions.

Please double check the album permissions to ensure they were imported correctly.

Gallery v2 Import

This import wizard will import all albums, media items from an existing Gallery v2 installation. This wizard was written for Gallery v2.1+.

To begin the import, select Gallery v2 from the Import Menu under Media Gallery Administration.

Media Gallery will immediately create the album structure from the Gallery system and then will load all the images into the Batch Processing Queue to be processed by the Batch Process System.

You will be redirected to the Batch Processing screen and the import will continue.

Once the import is complete, you should have an exact copy of the items you had in your Gallery albums, including titles and descriptions.

Please double check the album permissions to ensure they were imported correctly.

4images Import

This import wizard will import all albums, media items from an existing 4images installation. This wizard was written for 4images 1.7.3.

To begin the import, select 4Images from the Import Menu under Media Gallery Administration.

Media Gallery will immediately create the album structure from the 4images system and then will load all the images into the Batch Processing Queue to be processed by the Batch Process System.

You will be redirected to the Batch Processing screen and the import will continue.

Once the import is complete, you should have an exact copy of the items you had in your 4images categories, including titles and descriptions.

Please double check the album permissions to ensure they were imported correctly.

Geeklog Story Images Import

This import wizard will scan all existing Geeklog stories and move any embedded images (using the [imageX] or [unscaledX] auto tag) into Media Gallery. The [imageX] auto tag will be replaced with a Media Gallery auto tag so the image will continue to display in the story.

When you choose to import these pictures, you have 4 options to configure:

If you select to create albums using the Story Title, Media Gallery will use the story's Intro Text field as the album description. Depending on how large this is, you may want to edit these after the import.

Media Gallery will automatically use the oimage: auto tag if the embedded tag is unscalled.

Media Gallery will also honor any existing alignment from the current imageX or unscaledX auto tags. If no alignment is specified, then it will use your choice for alignment from the attributes entered above.

THIS IMPORT WILL CHANGE ALL YOUR STORIES THAT CONTAIN EMBEDDED IMAGES Please ensure that you have a valid backup before running this import wizard.