-
Notifications
You must be signed in to change notification settings - Fork 1
/
Copy pathUPGRADE
118 lines (81 loc) · 3.41 KB
/
UPGRADE
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
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
For users upgrading to 1.0
If you are using mod_perl2 version mod_perl-2.0 is now required.
Also, CGI 3.08 is required if using mod_perl2.
To enable access keys for navigation update the navpicture.tpl and
showpicture.tpl templates.
For users upgrading from 0.7 to 0.8
You need to create new directory called gallery in Apaches
icons directory. Copy the png files from the htdocs dictory
to this new directory.
For those of you with pre-existing templates, a simple
cd templates; perl -pi -e 's/(?<!\\)(\$[\w\_\d]+)/\{ $1 \}/g' *.tpl
should get your templates but directory.tpl and file.tpl
working correctly. The last two needs to be updated from
the distribution.
For users upgrading from 0.6 to 0.7
Apache::Gallery now uses the module Image::Imlib2 instead
of Inline::C. This enables us to ship binary distributions.
Copy htdocs/agfolder.png to your Apache
icons directory.
If you enable the GalleryMaxThumbnailsPerPage option you
need to update your index.tpl template file or use the
new templates. You also need to copy templates/default/gallery.css
to your DocumentRoot.
To update to the new layout, copy templates/new/gallery.css
to your DocumentRoot and copy templates/new/*.tpl to your
GalleryTemplateDir and set the following option in your virtual
host:
PerlSetVar GalleryEXIFMode 'values'
For users upgrading from 0.5.1 to 0.6
templates/movie.tpl has been removed and replaced by
templates/file.tpl
Remember to update templates/picture.tpl
htdocs/video-wmv.png
htdocs/application-doc.png
htdocs/application-mp3.png
htdocs/application-ogg.png
htdocs/application-pdf.png
htdocs/application-rtf.png
htdocs/application-wav.png
have been added and should be copied to our Apache icons
directory.
For users upgrading from 0.5 to 0.5.1
InlineDir is no longer honored, File::Spec is used to find a temporary
directory (usually /tmp)
Since 0.5, your .cache subdirectories are no longer used and can be
safely deleted. All cached images are now kept in
/var/tmp/Apache-Gallery/ unless you set GalleryCacheDir.
For users upgrading from 0.4 to 0.5
Remember to update the following templates:
templates/interval.tpl
templates/intervalactive.tpl
templates/layout.tpl
templates/refresh.tpl
templates/scaleactive.tpl
templates/showpicture.tpl
templates/slideshowisoff.tpl
templates/slideshowoff.tpl
templates/pictureinfo.tpl
templates/nopictureinfo.tpl
A new option has been added:
PerlSetVar GalleryCacheDir '/var/tmp/Apache-Gallery/'
GalleryCacheDir is optional but you can use it to decide
where Apache::Gallery should place the scaled pictures.
For users upgrading from 0.3 to 0.4:
Two new options have been added, they are both optional:
PerlSetVar GalleryThumbnailSize '100x75'
PerlSetVar GalleryCopyrightImage 'htdocs/c.png'
The templates and the htdocs/gallery.css file has been updated
so remember to copy them to your template dir and documentroot!
To use the new movie feature make sure you add the movie.tpl file
to your templates dir and copy the video-* files from htdocs to
your apache icons directory.
For users upgrading from 0.2 to 0.3:
There has been som changes to the templates. info.tpl and scale.tpl
were added and showpicture.tpl was changed a little.
InlineDir, imageinfo and imagesizes have been made configurable,
so please add
PerlSetVar InlineDir '/usr/local/apache/Inline'
PerlSetVar GalleryInfo 'Picture Taken => DateTimeOriginal, Flash => Flash'
PerlSetVar GallerySizes '640 1024 1600 2272'
to your virtualhost.