Retired Documentation:  You are using the documentation for version 1.7.3 which was retired in 2013. Go here for the latest version documentation or check here for your available upgrades to the latest version.

Photo Gallery Preferences

Once you have selected a photo gallery to access (Modules > Photo Gallery) you may choose the Preferences menu option to alter the settings for the gallery.

General Configuration

Photo Gallery Name

This is the full, descriptive name for your Photo Gallery. This is the name of your gallery that you will show to visitors and display on your site.

The Photo Gallery name is a required field. Spaces, punctuation, and other special characters are allowed. For example, the gallery's descriptive name might be Joe's Personal Gallery.

Photo Gallery Short Name

The "short name" for the gallery is the name used internally within the program. It is also used when specifying a gallery in variables or parameters in your Templates. It is not normally shown to visitors or otherwise exposed outside of your gallery "setup".

The gallery's short name is a required field. It must be a single word with no spaces. The underscore character is allowed. For example, the gallery's "short name" might be joe_gallery.

Gallery URL

The full URL to the main page for this gallery.

Comment Page URL

The full URL to the "comments" page for this gallery. The URL should include the Template Group and Template. For example: http://example.com/index.php/gallery/comments/

Image Paths

Image Folder Name

The name of the folder/directory you created on the server for this gallery.

Server Path to Image Directory

For this setting, you may put in either the relative path (from the Control Panel) or the full server path to the directory you created for this gallery. A server path is typically something similar to /home/domain.com/http_docs/images/gallery/. The specific setting will vary from server to server so you may need to contact your Host or server admin to determine what your correct "server path" is.

Full URL to Image Directory

The full URL for the directory you created for this gallery.

Batch Processing Preferences

Batch Processing Folder

The name of the folder/directory you have set up to hold the images to be batch processed. See the Batch Entries section for more information on the process.

Server Path to Batch Folder

This is the full server path to the directory you have designated for batch processing. A server path is typically something similar to /home/domain.com/http_docs/images/gallery_batch/. The specific setting will vary from server to server so you may need to contact your Host or server admin to determine what your correct "server path" is.

Full URL to Batch Directory

The full URL to the directory you have designated for batch processing.

Caption Formatting Preferences

Text Formatting

You may specify what type of formatting to apply to the "Caption" field of gallery entries.

Auto-link URLs

The determines whether or not URLs placed in the "Caption" field of gallery entries are automatically converted to be links.

Image Conversion Preferences

Image Conversion Protocol

You may specify which image library to use for the Photo Gallery Module. You must ensure that whichever one you select is correctly installed and configured on your server. "GD" or "GD2" are the most common choices.

Image Converter Path

If you selected either "NetPBM" or "Image Magick" for the preference above, then you must supply the server path to the directory in which the image library files are installed.

Thumbnail Preferences

Create Thumbnail Upon Upload?

This determines whether ExpressionEngine should create a thumbnail image automatically when you submit a new entry to the gallery.

Thumbnail Indicator

This is the suffix that will be added to the filename of automatically created thumbnail images.

Create Medium Sized Image Upon Upload?

This determines whether ExpressionEngine should create a "medium sized" image automatically when you submit a new entry to the gallery.

Medium Sized Image Indicator

This is the suffix that will be added to the filename of automatically created medium sized images.

Thumbnail Resizing Preferences

Thumbnail Width x Height

Here you set the width and height for the thumbnail images if you selected to have one created. The first box is "width" while the second box is "height".

You may also check the "Constrain proportions" checkbox, which will ensure that the values you place in the input boxes maintain the same ratio.

Medium Sized Image Width x Height

Here you set the width and height for the medium sized images if you selected to have one created. The first box is "width" while the second box is "height".

You may also check the "Constrain proportions" checkbox, which will ensure that the values you place in the input boxes maintain the same ratio.

Maintain Aspect Ratio

If a thumbnail can not be scaled proportionally to your desired width and height, the values will be adjusted as close as possible while maintaining the original proportions if you select this preference.

Thumbnail Quality

This setting is done in percentage and indicates the quality setting that the automatically created thumbnail should use. Higher quality settings will result in better looking images but also in larger file sizes. Settings of "70%" to "90%" are typically used.

Medium Sized Image Quality

This setting is done in percentage and indicates the quality setting that the automatically created medium sized image should use. Higher quality settings will result in better looking images but also in larger file sizes. Settings of "70%" to "90%" are typically used.

Watermarking Preferences

Enable Watermarking

This preference allows you to set whether or not watermarking is used for your images and, if so, how. See the Watermarking section for details. Selecting "Text Version" will reveal preferences related to setting a text watermark. Selecting "Graphic Version" will reveal preferences related to setting a graphic watermark.

Custom Field Preferences

The Photo Gallery comes with six custom fields which can be used for additional content. Each field can be one of three field types: Input field, texteara, or drop-down menu.

Note: To specify a custom filed in your templates you will use the following variable names:

Comment Preferences

Allow Comments By Default?

When you create an entry for the gallery, you may choose on a per-entry basis whether comments are allowed. This preference simply sets the default state for that choice.

Require membership to post comments?

This determines whether or not membership is required in order to be able to post a comment on a gallery entry.

Enable Captcha for Comment Posting?

Determines whether or not you require CAPTCHAs to be used when submitting comments.

Comment Expiration

The number of days after an entry is posted in which to allow comments. After that period has expired, the entry will be closed to commenting and the comment form will no longer appear. Existing comments will still be displayed. Enter 0 (zero) for no expiration.

Maximum number of characters allowed in comments

You may set a maximum number of characters allowed in any comment. Setting this preference to 0 (zero) will not place a restriction on the number of characters allowed.

Comment Re-submission Time Interval

This is the optional number of seconds that must lapse after a comment is posted before that same user can post another comment. This setting can help reduce comment "spam". The preference can be left blank or set to 0 (zero) if you do not want to impose a limit.

Require email address to post comments?

You can optionally require that anyone posting comments must list an email address. Requiring an email address in order to post comments can help reduce the number of "spam" comments you receive since the visitor must submit a valid email address.

Comment Text Formatting

This setting determines how comments are formatted by the system. There are three possible choices:

  1. None: No automatic formatting is done; the comment is left as-is. This could be useful if you want people to be able to use full HTML in their comments.
  2. xhtml: Comments will be formatted as valid XHTML. Text blocks with double line breaks will be turned into paragraphs, line breaks will be replaced by <br /> tags, special characters will be formatted as character entities, etc.
  3. Auto <br />: All line breaks in the comment will be converted into <br /> tags. This includes any line breaks that may occur inside HTML code, which could cause unexpected displays.

Comment HTML Formatting

Like the weblog setting, this preference determines how raw HTML code within comments is handled. There are three options:

  1. Convert HTML into character entities: This will convert the HTML tags so that they will display as plain text on a page when viewed. This would be useful if you want to display example code often.
  2. Allow only safe HTML: This will allow "safe" HTML (<b>, <i>, <u>, <em>, <strike>, <strong>, <pre>, <code>, <blockquote>, <h2>, <h3>, <h4>, <h5>, <h6>) to be kept so that they are interpreted by the browser when the entry is viewed. All other HTML is converted to character entities and the raw code will be seen upon viewing.
  3. Allow all HTML (not recommended): This leaves the HTML code as written and the code will then be interpreted by the browser when the entry is viewed. This is generally not recommended since visitors would be able to submit HTML code which could drastically alter the display of your webpage.

Allow image URLs in comments?

You can determine whether or not you want people to be able to display images within comments simply by using the URL for the image.

Automatically turn URLs and email addresses into links?

When this option is set to "Yes", any full URLs or email addresses will be automatically formatted as a valid HTML link to the address. If the option is "No" then the URL or email address will simply be treated and displayed as plain text.

Comment Notification Preferences

Notify the author of an entry whenever a comment is submitted?

Whenever a new comment is submitted, the author of the entry can be notified. An email will be sent to the email address associated with the author member in the system.

Enable recipient list below for comment notification?

You can specify a list of email addresses to receive notifications when a comment is posted. This setting determines whether or not the list will receive the updates. The addresses are specified in the next setting.

Email address of Notification Recipient(s)

If the previous setting is set to "Yes", then these are the recipients of the email alert. You may define a single email address or list multiple addresses by separating them with a comma. Ex: "admin@example.com, joe@example.com"

Top of Page