Mounting an Image Class Collection

From DLXS Documentation

(Difference between revisions)
Jump to: navigation, search
Current revision (16:05, 15 July 2008) (edit) (undo)
 
(6 intermediate revisions not shown.)
Line 6: Line 6:
See [[Getting Started with DLXS]] and [[Installing DLXS]] for information on Image Class and installing a sample image class collection.
See [[Getting Started with DLXS]] and [[Installing DLXS]] for information on Image Class and installing a sample image class collection.
-
Read the Image Class [http://www.dlxs.org/training/workshop200607/ workshop tutorial] for a useful introduction to working with Image Class.
+
Read the Image Class [http://www.dlxs.org/training/workshop200808/ workshop tutorial] for a useful introduction to working with Image Class.
<table border="2" cellpadding="10" cellspacing="0">
<table border="2" cellpadding="10" cellspacing="0">
Line 23: Line 23:
</td>
</td>
</tr>
</tr>
-
<tr><td><strong>Advanced</strong></td><td align="MIDDLE">[[Mapping Image Structures]]</td>
+
<tr><td><strong>Advanced</strong></td><td align="MIDDLE">[[Mapping Image Structures]]<br />
 +
[[Guidelines for Mapping to Core Categories for Image Services]]</td>
</tr>
</tr>
Line 30: Line 31:
[[Image File Naming]]<br />
[[Image File Naming]]<br />
[[Data Requirements]]<br />
[[Data Requirements]]<br />
-
[[Access Control]]</p>
+
[[Image Class Access Control]]
 +
[[Image Class Access Control Summary and Examples Table]]</p>
</td></tr>
</td></tr>
<tr><td><strong>Interface</strong></td>
<tr><td><strong>Interface</strong></td>
-
<td align="MIDDLE"><p>[[Dynamic Browse]]<br>
+
<td align="MIDDLE"><p>[[Setting up Dynamic Browsing]]<br>
-
[[User Interface]]<br />
+
[[Customizing the User Interface]]<br />
-
[[Collmgr/Collection Database]]<br />
+
[[Image Class Collmgr/Collection Database]]<br />
</p>
</p>
</td></tr>
</td></tr>
Line 65: Line 67:
<code>REPAIR TABLE tbl_name USE_FRM</code>
<code>REPAIR TABLE tbl_name USE_FRM</code>
<br /><br />
<br /><br />
-
Thanks to Aaron Brenner for the tip and this link http://dev.mysql.com/doc/mysql/en/Fulltext_Fine-tuning.html">http://dev.mysql.com/doc/mysql/en/Fulltext_Fine-tuning.html.
+
Thanks to Aaron Brenner for the tip and this link: http://dev.mysql.com/doc/mysql/en/Fulltext_Fine-tuning.html
</li>
</li>
</ul>
</ul>
Line 85: Line 87:
-
<p>&nbsp;</p>
+
[[#top|Top]]
-
 
+
-
 
+
-
 
+
-
 
+
-
 
+
-
<p> </p>
+

Current revision

Main Page > Mounting Collections: Class-specific Steps > Mounting an Image Class Collection


See Image Class in Action

See Getting Started with DLXS and Installing DLXS for information on Image Class and installing a sample image class collection.

Read the Image Class workshop tutorial for a useful introduction to working with Image Class.


Migration Migration to DLXS13
MediaLoading Image Files
Image Class and JPEG2000

Metadata

Image Class Data Loading: MySQL
Media Table

AdvancedMapping Image Structures
Guidelines for Mapping to Core Categories for Image Services
General

Not To Be Missed

Image File Naming
Data Requirements
Image Class Access Control

Image Class Access Control Summary and Examples Table

Interface

Setting up Dynamic Browsing

Customizing the User Interface
Image Class Collmgr/Collection Database


[edit] Not To Be Missed

Worth Noting

  • MySQL, by default, indexes words 4 characters or longer. Shorter words are therefore not searchable. This can be changed if desired. It requires having the following configuration directive in the [mysqld] section of the MySQL configuration file (usually /etc/my.cnf):

    ft_min_word_len=2

    Once this is done, existing fulltext indexes will need to be rebuilt. The following command does the job nicely in MySQL.

    REPAIR TABLE tbl_name QUICK

  • There are other situations where you might need to repair tables or rebuild indexes. Migration of tables from one version of MySQL to another can be such a case. Signs of trouble may be subtle. Boolean searching has been known to fail quietly. In addition to the REPAIR command above, you can try...

    REPAIR TABLE tbl_name USE_FRM

    Thanks to Aaron Brenner for the tip and this link: http://dev.mysql.com/doc/mysql/en/Fulltext_Fine-tuning.html

[edit] Easily Overlooked

  • The amount of time it takes for thumbnail images to display in the browser can be reduced dramatically by creating a symlink for each collection like this....
    cd $DLXSROOT/web/c/coll
    ln -s $DLXSROOT/img/c/coll/index thumb


    The only drawback to this approach is that it bypasses the cgi and authentication for thumbnails by essentially putting them under the web document root. If thumbnail security is important, don't create the symlink.

[edit] A Common Problem

  • If you get a division by zero error from the Image Class CGI when trying to view a full size image, double check the installation of mrsid_retrieve. Most likeley, it is not installed properly.


Top

Personal tools