# Application Note #1
Making Select Images Searchable With Thumbnails

## Problem:

You want your image database to contain references to a few select images in each set. When viewing a slide during a search for individual images, you want to be able to go directly to the index of the directory that contains the image. You also want to automatically generate slide thumbnails for images that are contained in the image database.

## Solution:

### Step 1: Add markers

Add the following line to your master configuration file:

       markerFile=marker.dir

Then, create a file called "marker.dir" in the starting directory and in each directory that is not considered a set. In general, marker files should be placed in directories that meet the following criteria:

1. The directory contains one or more sets (subdirectories)
2. The directory does not have any keywords (not in the index database)
3. The directory is not part of a set (i.e. a subset)

### Step 2: Add keywords

Add one or more keywords to each image you want to include in the index database.

### Step 3: Add thumbnails

If the index is already formatted to display slide thumbnails, then a "thumbs" subdirectory should already exist and you don't have to do anything.

If the index is not formatted to display slide thumbnails, then create a "thumbs" subdirectory and add the following line to the end of the makeindx.bat file:

       keywordThumbs=yes

Thumbnails will automatically be created during the next build.

¹ A set is a group of related images that are kept together and normally viewed together. In ImajSite, a set of images is stored in a directory as slides with a common index. Sometimes, a set may contain subsets, which are stored as subdirectories in ImajSite.

Table of Contents