File: gallery1-install.required-programs.html

package info (click to toggle)
gallery 1.5.4-3
  • links: PTS
  • area: main
  • in suites: etch, etch-m68k
  • size: 26,712 kB
  • ctags: 6,567
  • sloc: php: 33,824; sh: 446; xml: 96; makefile: 88; perl: 61
file content (70 lines) | stat: -rw-r--r-- 7,734 bytes parent folder | download | duplicates (4)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
<html><head><meta http-equiv="Content-Type" content="text/html; charset=ISO-8859-1"><title>Installing Required Programs</title><meta name="generator" content="DocBook XSL Stylesheets V1.64.1"><link rel="home" href="index.html" title="Gallery Manual"><link rel="up" href="gallery1-install.html" title="Chapter1.Gallery 1.x Installation Guide"><link rel="previous" href="gallery1-install.help.html" title="Getting Additional Help"><link rel="next" href="gallery1-install.remote-applets.html" title="Installing (or updating) Gallery Remote Applets"><link rel="stylesheet" href="html.css"></head><body bgcolor="white" text="black" link="#0000FF" vlink="#840084" alink="#0000FF"><div class="navheader"><table width="100%" summary="Navigation header"><tr><th colspan="3" align="center">Installing Required Programs</th></tr><tr><td width="20%" align="left"><a accesskey="p" href="gallery1-install.help.html">Prev</a></td><th width="60%" align="center">Chapter1.Gallery 1.x Installation Guide</th><td width="20%" align="right"><a accesskey="n" href="gallery1-install.remote-applets.html">Next</a></td></tr></table><hr></div><div class="sect1" lang="en"><div class="titlepage"><div><div><h2 class="title" style="clear: both"><a name="gallery1-install.required-programs"></a>Installing Required Programs</h2></div></div><div></div></div><div class="toc"><dl><dt><span class="sect2"><a href="gallery1-install.required-programs.html#gallery1-install.required-programs.netpbm">NetPBM (required)</a></span></dt><dt><span class="sect2"><a href="gallery1-install.required-programs.html#gallery1-install.required-programs.imagemagick">ImageMagick (required)</a></span></dt><dt><span class="sect2"><a href="gallery1-install.required-programs.html#gallery1-install.required-programs.jhead">Jhead (Optional)</a></span></dt><dt><span class="sect2"><a href="gallery1-install.required-programs.html#gallery1-install.required-programs.jpegtran">JpegTRAN (optional)</a></span></dt></dl></div><p>
  Gallery, being PHP, cannot do all of the complex image operations required to
  resize and otherwise manipulate images by itself.  It requires other programs
  to be able to do this, and you must install these programs or Gallery cannot
  work.
 </p><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="gallery1-install.required-programs.netpbm"></a>NetPBM (required)</h3></div></div><div></div></div><p>
   NetPBM is easy to install yourself. You can grab the files from
   the <a href="http://sourceforge.net/project/showfiles.php?group_id=7130" target="_top">Gallery
   Download Page</a>. You do not need root access; just upload
   the <tt class="filename">NetPBM</tt> files via your FTP client (in
   <span class="emphasis"><em>binary</em></span> mode) and <tt class="function">CHMOD</tt>
   the directory and all the files in that directory with the
   following permissions: 755. If the configuration wizard can't
   locate the <tt class="filename">NetPBM</tt> directory it will ask you
   for the exact location and you can fill in the correct path.
  </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    NetPBM is not required if you are using ImageMagick.
   </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="gallery1-install.required-programs.imagemagick"></a>ImageMagick (required)</h3></div></div><div></div></div><p>
   ImageMagick is an alternative for NetPBM.  It is usually considered to be
   faster, but can be more difficult to install.  As with NetPBM, you don't
   need root access to install the binaries.  You can download ImageMagick
   builds from <a href="http://www.imagemagick.org/" target="_top">http://www.imagemagick.org
   </a>.  Also as with NetPBM, the binaries must be chmodded 0755 (including
   the directory they are in).
  </p><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    ImageMagick is not required if you are using NetPBM.
   </p></div></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="gallery1-install.required-programs.jhead"></a>Jhead (Optional)</h3></div></div><div></div></div><p>
   If you want to display the EXIF information that many digital
   cameras store in JPEG images, you'll need to install a small
   program called <tt class="filename">Jhead</tt> to your webspace. A few
   hosts have begun having it pre-installed for Gallery users. If you
   are installing Jhead yourself you can install it either in the
   <tt class="filename">gallery</tt> directory or in your
   <tt class="filename">public_html</tt> directory (sometimes called
   <tt class="filename">www</tt> or something similar). If you don't need
   to display the exif information for your photos, skip this
   step.
  </p><p>
   Download the pre-built executable and upload it to your webspace
   via FTP, making sure that you upload it in
   <span class="emphasis"><em>BINARY</em></span> mode. If Windows has saved it with a
   <tt class="filename">.txt</tt> extension, simply remove the extension
   once you've uploaded it and call the file
   <tt class="filename">jhead</tt> (with no file
   extension). <tt class="function">CHMOD</tt> this file to 755. You will
   have to fill in the path to the Jhead file when you run the
   configuration wizard.
  </p><p>
   You can download the correct build for your webspace and find out
   more information here: <a href="http://www.sentex.net/~mwandel/jhead/" target="_top">http://www.sentex.net/~mwandel/jhead/</a>
  </p></div><div class="sect2" lang="en"><div class="titlepage"><div><div><h3 class="title"><a name="gallery1-install.required-programs.jpegtran"></a>JpegTRAN (optional)</h3></div></div><div></div></div><div class="note" style="margin-left: 0.5in; margin-right: 0.5in;"><h3 class="title">Note</h3><p>
    JpegTRAN support added in 1.4.0
   </p></div><p>
   JpegTRAN is a utility to allow Gallery perform lossless rotation on JPEG
   images.  This results in a better quality rotation, as well as a speed
   increase, according to some.
  </p><p>
   JpegTRAN is incredibly easy to install, and is usually included in most
   distributions.  JpegTRAN is usually included in the <tt class="literal">libjpeg</tt>
   or <tt class="literal">libjpeg-progs</tt> package.  Simply install this package
   on your system, and (re)-run the <a href="gallery1-install.config-wizard.html" title="The Configuration Wizard">
   configuration wizard</a> and specify the path to JpegTRAN.
  </p><p>
   For Windows, JpegTRAN can be downloaded from
   <a href="http://www.sf.net/projects/gnuwin32" target="_top">the GNU Win32 project</a>.
   It is in the <tt class="literal">jpeg</tt> package, specifically the <tt class="literal">jpeg-bin</tt>
   package.  Download the file and unzip it in a directory (<span><b class="command">jpegtran</b></span>
   will be in the <tt class="filename">bin/</tt> directory), then specify the full
   path to it in the config wizard.
  </p></div></div><div class="navfooter"><hr><table width="100%" summary="Navigation footer"><tr><td width="40%" align="left"><a accesskey="p" href="gallery1-install.help.html">Prev</a></td><td width="20%" align="center"><a accesskey="u" href="gallery1-install.html">Up</a></td><td width="40%" align="right"><a accesskey="n" href="gallery1-install.remote-applets.html">Next</a></td></tr><tr><td width="40%" align="left" valign="top">Getting Additional Help</td><td width="20%" align="center"><a accesskey="h" href="index.html">Home</a></td><td width="40%" align="right" valign="top">Installing (or updating) Gallery Remote Applets</td></tr></table></div></body></html>