Mounting an Image Class Collection
From DLXS Documentation
(Difference between revisions)
(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/ | + | 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 | + | <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 | + | 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: | ||
- | + | [[#top|Top]] | |
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + | ||
- | + |
Current revision
Main Page > Mounting Collections: Class-specific Steps > Mounting an 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 workshop tutorial for a useful introduction to working with Image Class.
[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.