Mounting an Image Class Collection

From DLXS Documentation

Revision as of 14:46, 14 August 2007 by Cboulay (Talk | contribs)
(diff) ←Older revision | Current revision (diff) | Newer revision→ (diff)
Jump to: navigation, search





See <a href="../../intro/index.html">DLXS, Getting Started</a> for installation of DLXS, including sample data.


Read the Image Class <a href="http://www.dlxs.org/training/workshop200607/">workshop tutorial</a> for a useful introduction to working with Image Class.

<tbody>


Migration <a href="migration13.html">Migration to DLXS13</a>
Media<a href="imageloading.html">Loading Image Files</a>
<a href="jpeg2000.html">Image Class and JPEG2000</a>

Metadata

<a href="mysql.html">Image Class Data Loading: MySQL

   </a><a href="mediatable.html">Media Table</a><a href="mysql.html">
</a>

Advanced<a href="imagestructures.html">Mapping Image Structures</a>
General

<a href="#nottobemissed">Not To Be

       Missed</a> 
<a href="imagefilenaming.html">Image File Naming</a>
<a href="datareqs.html">Data Requirements</a>
<a href="accesstable.html">Access Control</a>

Interface

<a href="../../collmeta/browse.html">Dynamic Browse</a>

 User Interface 
<a href="colldb.html">Collmgr/Collection Database</a>

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 <a href="http://dev.mysql.com/doc/mysql/en/Fulltext_Fine-tuning.html">http://dev.mysql.com/doc/mysql/en/Fulltext_Fine-tuning.html</a>.

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.

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.


 



Personal tools