<spanclass="mw-cite-backlink"><ahref="#cite_ref-download_enabled_0-0">^</a></span><spanclass="reference-text">Choose one of the following (default is <code>unchecked</code>)</span>
<ul>
<li>
<spanclass="reference-text"><b>checked</b> to automatically download images / retrieve images from database</span>
<ul>
<li>
<spanclass="reference-text">ImageMagick and Inkscape <b>must</b> be installed (See <ahref="http://xowa.org/home/wiki/Dev/File/Setup.html"id="xolnki_2"title="Dev/File/Setup">Dev/File/Setup</a>)</span>
<spanclass="reference-text">An internet connection must be available, or a local tarball must be set up. (See <ahref="http://xowa.org/home/wiki/Archive/Usage/Offline_images.html"id="xolnki_3"title="Archive/Usage/Offline images">Archive/Usage/Offline_images</a>)</span>
<spanclass="reference-text"><b>unchecked</b> to leave images unprocessed</span>
</li>
</ul>
</li>
<liid="cite_note-cache-1">
<spanclass="mw-cite-backlink"><ahref="#cite_ref-cache_1-0">^</a></span><spanclass="reference-text">Although files are saved in the bin.sqlite3 database, they are also cached locally at <code>C:\xowa\file</code>. This is done for the following reasons:</span>
<ul>
<li>
<spanclass="reference-text"><b>The HTML browser must display the image</b>: The HTML browser cannot read directly from a sqlite database. The "src" attribute must point to a file resource. (It could take a base64 encoded string, but this has its own complications)</span>
</li>
<li>
<spanclass="reference-text"><b>Viewer apps must be able to access the image</b>: Similar to the above, when a file is clicked in the commons wiki, XOWA sends it to an external viewer app. These viewer apps will not be able to access files from the sqlite database or from a base64 encoded string</span>
</li>
<li>
<spanclass="reference-text"><b>Performance</b>: Images will load more quickly if they are already on the file system (as opposed to being continually extracted from the database)</span>
</li>
</ul><spanclass="reference-text">Some other details worth noting:</span>
<ul>
<li>
<spanclass="reference-text">The cache is stored in <code>C:\xowa\user\user-anonymous.xowa</code></span>
</li>
<li>
<spanclass="reference-text">This value should not be set any lower than 5 MB (or else all images may not load on a page)</span>
</li>
</ul>
</li>
<liid="cite_note-fsys_size_min-2">
<spanclass="mw-cite-backlink"><ahref="#cite_ref-fsys_size_min_2-0">^</a></span><spanclass="reference-text">Enter a minimum size for the cache to use (in MB) (default is <code>75</code>) .<br>
This is an advanced configuration tweak. When the cache reaches its maximum size, it will delete files to free space. It will continue deleting files until the minimum size is reached.<br>
For example:</span>
<ul>
<li>
<spanclass="reference-text">If the max is set to 100 MB</span>
</li>
<li>
<spanclass="reference-text">... and the current size of all files in the cache is 99.9 MB</span>
</li>
<li>
<spanclass="reference-text">... and a 200 KB file is added</span>
</li>
<li>
<spanclass="reference-text">Then the cache size will be temporarily 100.1 MB</span>
</li>
<li>
<spanclass="reference-text">... triggering the delete mechanism</span>
</li>
<li>
<spanclass="reference-text">... which will reduce the current size of all files to 75 MB</span>
</li>
</ul>
</li>
<liid="cite_note-fsys_size_max-3">
<spanclass="mw-cite-backlink"><ahref="#cite_ref-fsys_size_max_3-0">^</a></span><spanclass="reference-text">Enter a maximum size for the cache to use (in MB) (default is <code>100</code>) .<br>
</span>
</li>
<liid="cite_note-reduce_to_min-4">
<spanclass="mw-cite-backlink"><ahref="#cite_ref-reduce_to_min_4-0">^</a></span><spanclass="reference-text">Press to reduce the cache to the minimum now (typically 75 MB).</span>
</li>
<liid="cite_note-reduce_to_zero-5">
<spanclass="mw-cite-backlink"><ahref="#cite_ref-reduce_to_zero_5-0">^</a></span><spanclass="reference-text">Press to clear the cache (reduces to 0 MB).</span>
</li>
<liid="cite_note-info-6">
<spanclass="mw-cite-backlink"><ahref="#cite_ref-info_6-0">^</a></span><spanclass="reference-text">Miscellaneous information about the cache</span>
</li>
<liid="cite_note-7">
<spanclass="mw-cite-backlink"><ahref="#cite_ref-7">^</a></span><spanclass="reference-text">Queries image for size (needed for online images; not needed for offline databases) . Recommended: <ahref="http://www.imagemagick.org/"rel="nofollow"class="external text">ImageMagick</a></span>
</li>
<liid="cite_note-8">
<spanclass="mw-cite-backlink"><ahref="#cite_ref-8">^</a></span><spanclass="reference-text">Resizes image (needed for online images; not needed for offline databases) . Recommended: <ahref="http://www.imagemagick.org/"rel="nofollow"class="external text">ImageMagick</a></span>
</li>
<liid="cite_note-9">
<spanclass="mw-cite-backlink"><ahref="#cite_ref-9">^</a></span><spanclass="reference-text">Converts svg to png (needed for online images; not needed for offline databases) . Recommended: <ahref="http://www.inkscape.org/"rel="nofollow"class="external text">Inkscape</a></span>
</li>
<liid="cite_note-10">
<spanclass="mw-cite-backlink"><ahref="#cite_ref-10">^</a></span><spanclass="reference-text">Converts djvu to png (needed for online images; not needed for offline databases) . Recommended: <ahref="http://www.miktex.org/"rel="nofollow"class="external text">MikTeX</a></span>
<li><ahref="http://dumps.wikimedia.org/backup-index.html"title="Get wiki datababase dumps directly from Wikimedia">Wikimedia dumps</a></li>
<li><ahref="https://archive.org/search.php?query=xowa"title="Search archive.org for XOWA files">XOWA @ archive.org</a></li>
<li><ahref="http://en.wikipedia.org"title="Visit Wikipedia (and compare to XOWA!)">English Wikipedia</a></li>
</ul>
</div>
</div>
<divclass="portal"id='xowa-portal-donate'>
<h3>Donate</h3>
<divclass="body">
<ul>
<li><ahref="https://archive.org/donate/index.php"title="Support archive.org!">archive.org</a></li><!-- listed first due to recent fire damages: http://blog.archive.org/2013/11/06/scanning-center-fire-please-help-rebuild/ -->