0
|
1 <!DOCTYPE html PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> |
|
2 <html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><meta name="generator" content="Website XSL Stylesheet V2.2 |
|
3 "><link rel="home" href="index.html" title="BINS Photo Album"><link rel="up" href="usage.html" title="Usage"><link rel="previous" href="usage.html" title="Usage"><link rel="next" href="usage_desc.html" title="Setting description fields"><link rel="last" href="usage_tools.html" title="Tools"><link rel="stylesheet" href="example.css" type="text/css"> |
|
4 <title>Creating an album</title> |
|
5 <meta name="keyword" content="SAUTRET, BINS, album, gallery, photos, EXIF"> |
|
6 </head><body class="tabular" bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div id="usage_album" class="webpage"><a name="usage_album"></a><table border="0" cellpadding="0" cellspacing="0" width="100%" summary="Navigation"><tr><td valign="top" align="left" bgcolor="#4080FF" width="220"><p class="navtoc"><a href="index.html"><img align="left" border="0" src="graphics/banner.png" alt="Banner"></a><br clear="all"><br><span class="toplevel"><img src="graphics/blank.gif" alt="???"><a href="intro.html"><img src="graphics/navicons/triangle/other/leaf.gif" alt="?" border="0"></a><span class="otherpage"><a href="intro.html">Introduction</a></span><br></span><span class="toplevel"><img src="graphics/blank.gif" alt="???"><a href="examples.html"><img src="graphics/navicons/triangle/other/leaf.gif" alt="?" border="0"></a><span class="otherpage"><a href="examples.html">Examples</a></span><br></span><span class="toplevel"><img src="graphics/blank.gif" alt="???"><a href="faq.html"><img src="graphics/navicons/triangle/other/leaf.gif" alt="?" border="0"></a><span class="otherpage"><a href="faq.html">FAQ</a></span><br></span><span class="toplevel"><img src="graphics/blank.gif" alt="???"><a href="download.html"><img src="graphics/navicons/triangle/other/leaf.gif" alt="?" border="0"></a><span class="otherpage"><a href="download.html">Download</a></span><br></span><span class="toplevel"><img src="graphics/blank.gif" alt="???"><a href="install.html"><img src="graphics/navicons/triangle/other/closed.gif" alt="?" border="0"></a><span class="otherpage"><a href="install.html">Installation</a></span><br></span><span class="toplevel"><img src="graphics/blank.gif" alt="???"><a href="usage_album.html"><img src="graphics/navicons/triangle/other/open.gif" alt="?" border="0"></a><span class="ancestor"><a href="usage_album.html">Usage</a></span><br></span><span class="shrink1"><img src="graphics/blank.gif" alt="???"><img src="graphics/blank.gif" alt="???"><a href="usage_album.html"><img src="graphics/navicons/triangle/current/leaf.gif" alt="+" border="0"></a><span class="curpage">Creating an album?<img src="graphics/navicons/triangle/current/pointer.gif" alt="<-"></span><br></span><span class="shrink1"><img src="graphics/blank.gif" alt="???"><img src="graphics/blank.gif" alt="???"><a href="usage_desc.html"><img src="graphics/navicons/triangle/other/closed.gif" alt="?" border="0"></a><span class="otherpage"><a href="usage_desc.html">Setting description fields</a></span><br></span><span class="shrink1"><img src="graphics/blank.gif" alt="???"><img src="graphics/blank.gif" alt="???"><a href="usage_custom.html"><img src="graphics/navicons/triangle/other/leaf.gif" alt="?" border="0"></a><span class="otherpage"><a href="usage_custom.html">Customization</a></span><br></span><span class="shrink1"><img src="graphics/blank.gif" alt="???"><img src="graphics/blank.gif" alt="???"><a href="usage_httpd.html"><img src="graphics/navicons/triangle/other/leaf.gif" alt="?" border="0"></a><span class="otherpage"><a href="usage_httpd.html">Web server configuration</a></span><br></span><span class="shrink1"><img src="graphics/blank.gif" alt="???"><img src="graphics/blank.gif" alt="???"><a href="usage_tools.html"><img src="graphics/navicons/triangle/other/leaf.gif" alt="?" border="0"></a><span class="otherpage"><a href="usage_tools.html">Tools</a></span><br></span><span class="toplevel"><img src="graphics/blank.gif" alt="???"><a href="contact.html"><img src="graphics/navicons/triangle/other/leaf.gif" alt="?" border="0"></a><span class="otherpage"><a href="contact.html">Contact and contribution</a></span><br></span><span class="toplevel"><img src="graphics/blank.gif" alt="???"><a href="license.html"><img src="graphics/navicons/triangle/other/leaf.gif" alt="?" border="0"></a><span class="otherpage"><a href="license.html">License</a></span><br></span><br></p></td><td valign="top" align="left" bgcolor="white"><h1>Creating an album</h1><p>Put all your images in a directory, say |
|
7 <code class="filename">~/images</code>. Your images can be ordered into |
|
8 sub-directories. Then, create an empty directory, where the album |
|
9 will be created, say <code class="filename">~/album</code>?:</p><pre class="programlisting"> |
|
10 mkdir ~/album |
|
11 </pre><p>and run bins with the two directories (source and destination) |
|
12 as parameters?:</p><pre class="programlisting"> |
|
13 bins ~/images ~/album |
|
14 </pre><p>This will create an HTML album, with sub-albums, thumbnails |
|
15 and scaled images.</p><p>To change the appearance of the HTML album, a style can be |
|
16 chosen with the <code class="option">-s</code> command line option or via the |
|
17 <code class="literal">templateStyle</code> parameter in the configuration or |
|
18 description files (see <a href="usage_custom.html">Customization</a> below for information |
|
19 about these files). In this case, BINS will use the HTML templates |
|
20 found is the subdirectory named |
|
21 <code class="filename">templates.</code><strong class="userinput"><code>style</code></strong> (where |
|
22 <strong class="userinput"><code>style</code></strong> is the style name).</p><p>BINS looks for this subdirectory in the directory specified by |
|
23 the <code class="option">-t</code> command line option, then in |
|
24 <code class="filename">~/.bins</code> and finally in |
|
25 <code class="filename">/etc/bins</code>.</p><p>See the <a href="bins_man.html" target="_top">man page</a> for all |
|
26 style names available. If someone has the artistic talent to create |
|
27 HTML templates for a new style, <a href="mailto:jerome@sautret.org.ANTISPAM" target="_top">I am |
|
28 interested</a>...</p><p><span><strong class="command">bins</strong></span> has some other command line options, |
|
29 type</p><pre class="programlisting"> |
|
30 bins -h |
|
31 </pre><p>to see them and see the <span><strong class="command"><a href="bins_man.html" target="_top">bins(1)</a></strong></span> man page.</p><br></td></tr></table><div class="navfoot"><hr><table width="100%" border="0" summary="Footer navigation"><tr><td width="33%" align="left"><span class="footdate">$Date: 2005/08/22 19:58:27 $</span></td><td width="34%" align="center"><span class="foothome"><a href="index.html">Home</a></span></td><td width="33%" align="right">?</td></tr><tr><td colspan="3" align="right"><span class="footcopy"><span class="copyright">Copyright ? 2001, 2005, J?r?me SAUTRET. </span></span></td></tr></table></div></div></body></html> |