-
Notifications
You must be signed in to change notification settings - Fork 4
/
README.html
2061 lines (1990 loc) · 80 KB
/
README.html
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
118
119
120
121
122
123
124
125
126
127
128
129
130
131
132
133
134
135
136
137
138
139
140
141
142
143
144
145
146
147
148
149
150
151
152
153
154
155
156
157
158
159
160
161
162
163
164
165
166
167
168
169
170
171
172
173
174
175
176
177
178
179
180
181
182
183
184
185
186
187
188
189
190
191
192
193
194
195
196
197
198
199
200
201
202
203
204
205
206
207
208
209
210
211
212
213
214
215
216
217
218
219
220
221
222
223
224
225
226
227
228
229
230
231
232
233
234
235
236
237
238
239
240
241
242
243
244
245
246
247
248
249
250
251
252
253
254
255
256
257
258
259
260
261
262
263
264
265
266
267
268
269
270
271
272
273
274
275
276
277
278
279
280
281
282
283
284
285
286
287
288
289
290
291
292
293
294
295
296
297
298
299
300
301
302
303
304
305
306
307
308
309
310
311
312
313
314
315
316
317
318
319
320
321
322
323
324
325
326
327
328
329
330
331
332
333
334
335
336
337
338
339
340
341
342
343
344
345
346
347
348
349
350
351
352
353
354
355
356
357
358
359
360
361
362
363
364
365
366
367
368
369
370
371
372
373
374
375
376
377
378
379
380
381
382
383
384
385
386
387
388
389
390
391
392
393
394
395
396
397
398
399
400
401
402
403
404
405
406
407
408
409
410
411
412
413
414
415
416
417
418
419
420
421
422
423
424
425
426
427
428
429
430
431
432
433
434
435
436
437
438
439
440
441
442
443
444
445
446
447
448
449
450
451
452
453
454
455
456
457
458
459
460
461
462
463
464
465
466
467
468
469
470
471
472
473
474
475
476
477
478
479
480
481
482
483
484
485
486
487
488
489
490
491
492
493
494
495
496
497
498
499
500
501
502
503
504
505
506
507
508
509
510
511
512
513
514
515
516
517
518
519
520
521
522
523
524
525
526
527
528
529
530
531
532
533
534
535
536
537
538
539
540
541
542
543
544
545
546
547
548
549
550
551
552
553
554
555
556
557
558
559
560
561
562
563
564
565
566
567
568
569
570
571
572
573
574
575
576
577
578
579
580
581
582
583
584
585
586
587
588
589
590
591
592
593
594
595
596
597
598
599
600
601
602
603
604
605
606
607
608
609
610
611
612
613
614
615
616
617
618
619
620
621
622
623
624
625
626
627
628
629
630
631
632
633
634
635
636
637
638
639
640
641
642
643
644
645
646
647
648
649
650
651
652
653
654
655
656
657
658
659
660
661
662
663
664
665
666
667
668
669
670
671
672
673
674
675
676
677
678
679
680
681
682
683
684
685
686
687
688
689
690
691
692
693
694
695
696
697
698
699
700
701
702
703
704
705
706
707
708
709
710
711
712
713
714
715
716
717
718
719
720
721
722
723
724
725
726
727
728
729
730
731
732
733
734
735
736
737
738
739
740
741
742
743
744
745
746
747
748
749
750
751
752
753
754
755
756
757
758
759
760
761
762
763
764
765
766
767
768
769
770
771
772
773
774
775
776
777
778
779
780
781
782
783
784
785
786
787
788
789
790
791
792
793
794
795
796
797
798
799
800
801
802
803
804
805
806
807
808
809
810
811
812
813
814
815
816
817
818
819
820
821
822
823
824
825
826
827
828
829
830
831
832
833
834
835
836
837
838
839
840
841
842
843
844
845
846
847
848
849
850
851
852
853
854
855
856
857
858
859
860
861
862
863
864
865
866
867
868
869
870
871
872
873
874
875
876
877
878
879
880
881
882
883
884
885
886
887
888
889
890
891
892
893
894
895
896
897
898
899
900
901
902
903
904
905
906
907
908
909
910
911
912
913
914
915
916
917
918
919
920
921
922
923
924
925
926
927
928
929
930
931
932
933
934
935
936
937
938
939
940
941
942
943
944
945
946
947
948
949
950
951
952
953
954
955
956
957
958
959
960
961
962
963
964
965
966
967
968
969
970
971
972
973
974
975
976
977
978
979
980
981
982
983
984
985
986
987
988
989
990
991
992
993
994
995
996
997
998
999
1000
<!DOCTYPE html>
<html lang="en">
<head>
<meta http-equiv="Content-Type" content="text/html; charset=UTF-8"/>
<title>README: Gallery 2.4</title>
<style>
ul,
ol {
margin: 1.2em 0 1.2em 2.5em;
padding: 0;
}
li {
padding: 0.2em 0;
line-height: 1.5em;
}
ol ul,
ul ul {
margin-top: 0.4em;
margin-bottom: 0.4em;
}
.instructions {
background: #ddd;
border: 1px solid #777;
width: 480px;
margin: 8px;
padding: 0;
}
.instructions h3 {
color: #111;
background-color: #ccc;
border-bottom: 1px solid #777;
font-size: 1.1em;
margin: 0 0 4px 0;
padding: 4px;
}
.instructions p {
margin: 0 0 0 4px;
}
.important {
background: #FACA61;
border: 2px;
width: 600px;
margin: 0.6em 0 0.6em 0;
padding: 0.6em;
color: #C00;
-webkit-box-shadow: 4px 10px 41px 0px rgba(161, 161, 161, 0.75);
-moz-box-shadow: 4px 10px 41px 0px rgba(161, 161, 161, 0.75);
box-shadow: 4px 10px 41px 0px rgba(161, 161, 161, 0.75);
}
.important .email {
font-size: 1.2em;
color: black;
font-weight: 700;
margin: 0.6em 0 0 0;
}
.important h3 {
color: #eee;
background-color: #f00;
font-size: 1.3em;
margin: -0.2em -0.2em 0.2em -0.2em;
padding: 0.2em 0.2em;
}
.fineprint {
font-size: .8em;
color: #ccc;
}
.toggle {
padding-left: .333em;
padding-right: 0.3em;
border: solid #a6caf0 1px;
background: #eee;
cursor: pointer;
}
.toc {
float: right;
border: 1px solid #ccc;
background-color: #dfefdf;
padding: 8px 16px 8px 16px;
margin: 15px auto auto 15px;
-webkit-box-shadow: 4px 10px 41px 0px rgba(161, 161, 161, 0.75);
-moz-box-shadow: 4px 10px 41px 0px rgba(161, 161, 161, 0.75);
box-shadow: 4px 10px 41px 0px rgba(161, 161, 161, 0.75);
}
.toc h2 {
text-decoration: underline;
font-size: 1.1em;
margin-top: -8px;
}
ul.toc-level-1 {
margin: 0 16px 0 16px;
list-style-type: none;
}
ul.toc-level-1 li {
margin: auto;
font-weight: bold;
}
ul.toc-level-2 {
margin: auto 0 auto 15px;
list-style-type: none;
}
ul.toc-level-2 li {
margin: auto;
}
.relurl {
color: #999 !important;
text-decoration: none !important;
border-bottom: #666 dotted;
}
/*!
* bootswatch v3.3.7
* Homepage: http://bootswatch.com
* Copyright 2012-2016 Thomas Park
* Licensed under MIT
* Based on Bootstrap
*/
/*!
* Bootstrap v3.3.7 (http://getbootstrap.com)
* Copyright 2011-2016 Twitter, Inc.
* Licensed under MIT (https://github.com/twbs/bootstrap/blob/master/LICENSE)
*/
*,
*:before,
*:after {
box-sizing: inherit;
vertical-align: baseline;
}
html {
box-sizing: border-box;
font: 16px/1.25 -apple-system, BlinkMacSystemFont, "Segoe UI", Roboto, "Helvetica Neue", Arial, sans-serif, "Apple Color Emoji", "Segoe UI Emoji", "Segoe UI Symbol";
font-weight: 200;
-webkit-tap-highlight-color: rgba(0, 0, 0, 0);
}
body {
background: #fff;
color: #777;
margin: 10px auto;
}
/*! normalize.css v3.0.3 | MIT License | github.com/necolas/normalize.css */
a {
background-color: transparent;
}
a:active,
a:hover {
outline: 0;
}
b {
font-weight: bold;
}
/*! Source: https://github.com/h5bp/html5-boilerplate/blob/master/src/css/main.css */
@media print {
*,
*:before,
*:after {
background: transparent !important;
color: #000 !important;
-webkit-box-shadow: none !important;
box-shadow: none !important;
text-shadow: none !important;
}
a,
a:visited {
text-decoration: underline;
}
a[href]:after {
content: " ("attr(href) ")";
}
p,
h2,
h3 {
orphans: 3;
widows: 3;
}
h2,
h3 {
page-break-after: avoid;
}
}
a:hover,
a:focus {
color: #0a6ebd;
text-decoration: underline;
}
a:focus {
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
p {
margin: 0 0 11.5px;
}
ul,
ol {
margin-top: 0;
margin-bottom: 11.5px;
}
.container {
margin-right: auto;
margin-left: auto;
padding-left: 15px;
padding-right: 15px;
text-align: justify;
}
@media (min-width: 768px) {
.container {
width: 750px;
}
}
@media (min-width: 992px) {
.container {
width: 970px;
}
}
@media (min-width: 1200px) {
.container {
width: 1170px;
}
}
.container:before,
.container:after {
content: " ";
display: table;
}
.container:after {
clear: both;
}
@-ms-viewport {
width: device-width;
}
body {
-webkit-font-smoothing: antialiased;
letter-spacing: .1px;
}
p {
margin: 0 0 1em;
}
a {
-webkit-transition: all 0.2s;
-o-transition: all 0.2s;
transition: all 0.2s;
}
/*!
* Hydrogen CSS
* Copyright 2018 Pim Brouwers
* Licensed under MIT
*https://github.com/pimbrouwers/hydrogen
*/
em {
font-weight: 700;
font-style: italic;
}
em::before,
em::after {
content: "\""
}
ol,
p,
ul {
margin: 0 0 1rem 0;
line-height: 1.5;
}
ol,
ul {
padding: 0;
}
ol li,
ul li {
margin-left: 1.125rem;
}
a {
color: #0080ff;
font-weight: 300;
text-decoration: none;
}
a:hover,
a:focus {
color: red;
text-decoration: underline;
}
a:focus {
outline: 5px auto -webkit-focus-ring-color;
outline-offset: -2px;
}
ul {
list-style-type: square;
}
ol {
list-style-type: upper-roman;
}
h1 {
font-size: 4.0rem;
font-weight: 100;
color: #000;
letter-spacing: 1px;
margin: 3rem 0 1.5rem;
border-bottom: 1px solid #ddd;
}
h2 {
font-size: 2rem;
font-weight: 200;
margin: 2.25rem 0 1rem;
padding: 0.5rem 0 1rem;
}
h3 {
font-size: 1.5rem;
font-weight: 300;
color: #707070;
margin: 1.75rem 0 0.25rem 0;
}
h4 {
font-size: 1.25rem;
font-weight: 400;
margin: 1.25rem 0 0.25rem 0;
color: maroon;
font-variant: small-caps;
}
@media (max-width: 991px) {
h1 {
font-size: 3.5rem;
}
h2 {
font-size: 1.75rem;
}
}
@media (max-width: 767px) {
h1 {
font-size: 2.25rem;
}
h2 {
font-size: 1.5rem;
}
h3 {
font-size: 1.25rem;
}
h4 {
font-size: 1.125rem;
}
}
</style>
<script>
//<![CDATA[
function toggle(objId, togId) {
var o = document.getElementById(objId), t = document.getElementById(togId);
if (o.style.display == 'none') {
o.style.display = 'block'; t.innerHTML = '-';
} else {
o.style.display = 'none';
t.innerHTML = '+';
}
}
/*
* if the URL does not contain http or is on sourceforge, replace relative urls
* with an alert instead of a link that probably would not work
*/
function fixURLs() {
if ((document.location.toString().indexOf('http') != 0) || (document.location.toString().match(/(\bsourceforge\b|\bsf.net\b|\bmenalto\b)/))) {
var as = document.getElementsByTagName("a");
for (var i = 0; i < as.length; i++) {
href = as[i].getAttribute('href');
if (href) {
/* links to replace do not begin with # or http or irc */
if ((href.search('http') != 0) && (href.search('irc') != 0) && (href.toString().charAt(0) != '#')) {
/* Do not use setAttribute for onclick (workaround for IE) */
as[i].onclick = function() {
alert('Link disabled as it seems this file is not on a webserver');
return false;
};
as[i].setAttribute('title', "Link only works when accessing this file on a web server");
as[i].className = "relurl";
}
}
}
}
}
// ]]>
</script>
</head>
<body onload="fixURLs();">
<div class="container">
<div>
<img src="images/g2Logo.gif" alt="Gallery 2"/>
</div>
<h1>
Gallery 2.4.0 "Phoenix"
</h1>
<div class="toc">
<h2 id="toc">
Contents
</h2>
<ul class="toc-level-1">
<li>
Introduction
<ul class="toc-level-2">
<li>
<a href="#quick_start">Quick Start</a>
</li>
<li>
<a href="#what_is_gallery">What is Gallery?</a>
</li>
</ul>
</li>
<li>
About Gallery 2
<ul class="toc-level-2">
<li>
<a href="#system_requirements">System Requirements</a>
</li>
<li>
<a href="#security">Security</a>
</li>
<li>
<a href="#whats_new">What is new in this release?</a>
</li>
</ul>
</li>
<li>Installation
<ul class="toc-level-2">
<li>
<a href="#packages">Choosing a package</a>
</li>
<li>
<a href="#prerequisites">Preparing to install</a>
</li>
<li>
<a href="#installing">Installing</a>
</li>
<li>
<a href="#getting_started">Using your new Gallery</a>
</li>
<li>
<a href="#updating">Updating your installation</a>
</li>
</ul>
</li>
<li>
Help
<ul class="toc-level-2">
<li>
<a href="#getting_help">Getting Help</a>
</li>
<li>
<a href="#known_issues">Known Issues / Bugs</a>
</li>
<li>
<a href="#advanced_topics">Advanced Topics</a>
</li>
</ul>
</li>
</ul>
</div>
<h2 id="introduction">
Introduction
</h2>
<h3 id="welcome">Welcome</h3>
<p>
Welcome to the community release of Gallery 2.4. It is codenamed <em>Phoenix</em> to reflect Gallery 2's rise from ashes.
</p>
<p>
Please read through this document carefully before installing Gallery 2 and before asking for help. We have taken care to try to answer as many of your questions here as possible. If you do not read this and have problems, you may be referred back to this document as a first resource.
</p>
<h3 id="quick_start">Quick Start</h3>
<p>
If you are impatient like us, you just want to get going. The odds are that your system is all set to handle Gallery 2 so just skip right to the <a href="install/index.php">installer</a> and start clicking. It should walk you through everything you need to get going. If you hit a snag, please come back here and read more before asking questions! Enjoy.
</p>
<h3 id="what_is_gallery_2">What is Gallery 2?</h3>
<p>
Gallery 2 is a web based software product that lets you manage your photos on your own website. You must have your own website with PHP and database support in order to install and use it.
</p>
<p>
With Gallery 2, you can easily create and maintain albums of photos via an intuitive interface. Photo management includes automatic thumbnail creation, image resizing, rotation, ordering, captioning, searching and more.
</p>
<p>
Albums and photos can have view, edit, delete and other permissions per individual authenticated user for an additional level of privacy. It is great for communities - give accounts to your friends and family and let them upload and manage their own photos on your website!
</p>
<p>
<span class="toc-link">
<a href="#toc">[table of contents]</a>
</span>
</p>
<h2 id="about_gallery_2">
About Gallery 2
</h2>
<h3 id="system_requirements">System Requirements</h3>
<ul>
<li>
Web server that can run PHP (Versions 5.3.3 through 7.3.x)
</li>
<li>
<a href="http://mysql.com/" target="_blank">MySQL 5.x</a> or equivalent
</li>
<li>
One or more of the following graphics toolkits:
<ul>
<li>
<a href="http://netpbm.sourceforge.net/" target="_blank">NetPBM</a> 9.x or newer
</li>
<li>
<a href="http://www.imagemagick.org/" target="_blank">ImageMagick</a> 5.x or newer
</li>
<li>
<a href="http://php.net/gd" target="_blank">GD</a> 2.x or newer
</li>
<li>
<a href="http://www.graphicsmagick.org/" target="_blank">GraphicsMagick</a> 1.x or newer
</li>
</ul>
</li>
</ul>
<span class="toc-link">
<a href="#toc">[table of contents]</a>
</span>
<h3 id="security">Security</h3>
<div style="float:right; margin:10px;">
<img src="http://www.gdssecurity.com//images/gds_logo_2.png" alt="" width="196" height="52"/>
</div>
<div>
Audits of previous releases were done by the following origanzations:
<dl>
<dt>Gallery 2.3</dt>
<dd>
<a href="http://www.gdssecurity.com/">Gotham Digital Science</a>.
</dd>
<dt>Gallery 2.2 Release Candidate</dt>
<dd>
<a href="http://www.gulftech.org/">Gulftech Research and Development</a>.
</dd>
<dt>Gallery 2.1 Release Candidate</dt>
<dd>
<a href="http://www.intershot.com/security/">Intershot Limited</a>.
</dd>
</dl>
<div class="important">
<h3>Note</h3>
<p>
The Gallery project treats security issues very seriously. If you find a security flaw, please contact us at: <span class="email">security AT gallery.menalto.com</span>
</p>
</div>
<br>
<span class="toc-link">
<a href="#toc">[table of contents]</a>
</span>
</div>
<h3 id="whats_new">What is New in this Release?</h3>
<p>
Several years of design and development have gone into making Gallery 2 the best online photo management product available. We have made it easy to add new features while keeping them in separate modules so that you can customize it to only have the ones that you want. It is a powerful application and you are in the driver's seat.
<br>
<span class="toc-link">
<a href="#toc">[table of contents]</a>
</span>
</p>
<h4>
Highlight of changes in Gallery 2.4 (Phoenix)
<span id="toggle-2-next" class="toggle" onclick="toggle('list-2-next', 'toggle-2-next')">-</span>
</h4>
<ol id="list-2-next">
<li>
Updates to provide compatibility up to PHP 7.3
</li>
<li>
Updates to Smarty 2 to maintain PHP 7 compatibility
</li>
<li>
Updates to AdoDB to maintain PHP 7 compatibility
</li>
<li>
Incorpration of the Symfony PHP Polyfill to allow support for older PHP installations when using new PHP functions.
</li>
<li>
Many bug fixes.
</li>
</ol>
<h4>
Highlight of changes in Gallery 2.3 (Skidoo)
<span id="toggle-2-3" class="toggle" onclick="toggle('list-2-3', 'toggle-2-3')">+</span>
</h4>
<ol id="list-2-3" style="display:none">
<li>
Updates to improve compatibility with PHP 5.3 (Gallery v2.3.2)
</li>
<li>
New version of the slideshow module now uses <a href="http://www.piclens.com/">PicLens</a> to provide a rich, full screen slideshow.
</li>
<li>
Comment module now offers moderation and <a href="http://akismet.com" target="_blank">Akismet</a> support to help weed out spam comments.
</li>
<li>
New email <a href="http://codex.gallery2.org/Gallery2:Modules:notification" target="_blank">notification</a> module allowing users to configure events they wish to get notified for. You can watch albums for changes, items for new comments, etc.
</li>
<li>
New Jpegtran module to support rotation and cropping of jpeg images with no loss in image quality.
</li>
<li>
New SnapGalaxy module for prints from <a href="http://www.snapgalaxy.com/" target="_blank">snapgalaxy.com</a>.
</li>
<li>
Registration module can now send a welcome email to new users upon account activation.
</li>
<li>
EXIF block now uses AJAX to switch between summary and detail display.
</li>
<li>
External image block now has a "rawImage" mode to return a single binary image instead of HTML output.
</li>
<li>
Support in RSS module for Media RSS format and random RSS streams.
</li>
<li>
Remote module now bundles the Gallery Remote client and makes it available via <a href="http://java.sun.com/products/javawebstart/index.jsp" target="_blank">Java Web Start</a>. Users with a Java enabled browser can then launch Gallery Remote with a single click instead of manually downloading and installing.
</li>
<li>
Hybrid theme now uses automatic navigation between pages in its image viewer and slideshow. This means the slideshow will show all images in the album, moving between album pages as needed. Requesting the next/previous image in the image viewer will also load a new album page as needed.
</li>
<li>
Webcam module now accepts file:// URLs to retrieve image from local filesystem.
</li>
<li>
Dcraw module now supports Adobe Digital Negative (dng) files, when used with dcraw v7.0 or newer.
</li>
<li>
Added support for Windows Vista in PublishXP module.
</li>
<li>
New database backup feature. Backup at start of upgrade, or anytime from Site Admin / Maintenance. Restore a backup from lib/support interface.
</li>
<li>
Can now put Gallery into maintenance mode from Site Admin / Maintenance. Setting in config.php file is still available too.
</li>
<li>
New event logging system records Gallery errors, viewable in the Site Admin interface.
</li>
<li>
Themes can now override module template files, allowing a themed look to more aspects of the application.
</li>
<li>
New Language Manager that allows the addition or removal of translations.
</li>
<li>
User interface changes.
<ul>
<li>
Use AJAX to speed up deleting comments(spam) on items/albums.
</li>
<li>
Use quick DHTML confirm dialog for deleting single items. Dialog offers link to bulk delete several items from an album.
</li>
<li>
Use YUI ItemTree instead of plain select box to select target album when moving items, creating replicas or link items.
</li>
</ul>
</li>
<li>
Performance and stability improvements.
<ul>
<li>
Smarty templates now permanently cached by default. Turn this off in Site Admin / Performance when working on tpl files, so changes take effect immediately during development.
</li>
<li>
Avoid reading EXIF data multiple times in Carbon theme.
</li>
<li>
Some added caching in GalleryUrlGenerator.
</li>
<li>
Use progress bar when adding items to avoid server or browser timeouts. Particularly helpful when adding many items from local server.
</li>
<li>
Restructuring to greatly reduce the number of directories for language files.
</li>
<li>
Refactor of translator hints to avoid some processing when translations are not used (en_US).
</li>
<li>
Faster plugin and language package downloads.
</li>
<li>
Refactor of event system working towards a performance improvement in the next release.
</li>
</ul>
</li>
<li>
New database options.
<ul>
<li>
Support for <a href="http://www.sqlite.org/" target="_blank">SQLite</a> 3.x
</li>
<li>
Support for <a href="http://www.postgresql.org/docs/current/static/ddl-schemas.html" target="_blank">PostgreSQL schemas</a>
</li>
</ul>
</li>
<li>
New install package options.
<ul>
<li>
English only variants of installation downloads. The <b>minimal</b> is English only. In addition,<b>Typical</b> and <b>Full</b> are available in English language only variants.
</li>
<li>
Greatly reduced the number of directories for language files.
</li>
</ul>
</li>
<li>
Upgraded to newer versions of several bundled software packages: YUI! 2.3.1, ADOdb 4.98, Smarty 2.6.20, GetID3 1.7.7, BBCode 0.3.3.
</li>
<li>
Many bugs fixed.
</li>
</ol>
<h4>
Highlight of changes in Gallery 2.2 (Double Double)
<span id="toggle-2-2" class="toggle" onclick="toggle('list-2-2', 'toggle-2-2')">+</span>
</h4>
<ol id="list-2-2" style="display:none">
<li>
Downloadable Plugins. This feature allows you to download and install Modules and Themes directly via the Site Admin interface. You can select from different sets of plugins (officially released plugins, experimental plugins under development and plugins provided by the Gallery community). This makes it very easy to stay up to date with the latest changes.
</li>
<li>
Added support for themes to display dynamic albums.
<ul>
<li>
New Keyword Album module makes use of this feature to show albums based on a search of item keywords.
</li>
<li>
New Dynamic Albums module shows albums of newest, most viewed or even random items.
</li>
<li>
Ratings module has a new view to display highly rated items from across the Gallery.
</li>
</ul>
</li>
<li>
Security fixes and improvements
<p>
There are no known exploits for these issues. All of them were discovered during a private, internal security audit. However, we highly recommend that you upgrade to Gallery 2.2 to secure your Gallery installation.
</p>
<ul>
<li>
Added protection from <a href="http://en.wikipedia.org/wiki/Brute_force_attack" target="_blank">brute force attacks</a> on setup and account passwords.
</li>
<li>
Added protection from <a href="http://en.wikipedia.org/wiki/Cross-site_request_forgery" target="_blank">"Cross Site Request Forgery"</a> attacks.
</li>
<li>
Added protection from <a href="http://en.wikipedia.org/wiki/Cross_site_scripting" target="_blank">"Cross Site Scripting"</a> through item titles, summaries and description (only applies to the non-default HTML markup). This has been fixed for comments in Gallery 2.1 already.
</li>
<li>
Added protection from <a href="http://en.wikipedia.org/wiki/HTTP_response_splitting" target="_blank">"HTTP Response Splitting"</a> attacks.
</li>
<li>
Fixed information disclosure through application errors.
</li>
<li>
Hardened Session Handling in upgrade, install and support area.
</li>
</ul>
</li>
<li>
Watermarking changes
<ul>
<li>
Edit Album now has a Watermark tab where watermarks may be added or removed from an entire album, optionally including subalbums too.
</li>
<li>
Edit Watermark now has an option to replace a watermark image and apply the new image everywhere the old was one used.
</li>
<li>
New option to always use a single watermark and give users no watermarking options. Only Site Admins can change/remove existing watermarks.
</li>
<li>
New option to turn off the ability for users to upload their own watermark images.
</li>
</ul>
</li>
<li>
New themes:
<ul>
<li>
Carbon
</li>
<li>
Ajaxian
</li>
</ul>
</li>
<li>
New <a href="http://codex.gallery2.org/Gallery2:Modules:webdav" target="_blank">WebDAV module</a> to mount Gallery as network device on your computer. This allows you to easily manage your Gallery with any WebDAV client like Windows Explorer.
</li>
<li>
New module to send Ecards.
</li>
<li>
New Digibug module for prints from <a href="http://digibug.com/" target="_blank">digibug.com</a>.
</li>
<li>
Added support for Flash Video and Windows ASF video.
</li>
<li>
Added support for mp3 audio using a Flash based player.
</li>
<li>
Added support for HTTP authentication through the new <a href="http://codex.gallery2.org/Gallery2:Modules:httpauth" target="_blank">httpauth module</a>.
</li>
<li>
Photo auto-rotation based on camera sensors or on settings from other applications.
</li>
<li>
Automatically detect dimensions of Flash animations and video.
</li>
<li>
Option in MIME module to restrict file types that may be uploaded.
</li>
<li>
Image Block changes
<ul>
<li>
Now displays any item with a thumbnail (movie, flash, etc) in addition to photos.
</li>
<li>
A new block setting allows showing multiple images or albums.
</li>
</ul>
</li>
<li>
Added some user contributed image frames and icon packs including the <a href="http://www.famfamfam.com/lab/icons/silk/">Silk Icon set</a> by Mark James.
</li>
<li>
You can now add color to item title, description, comments, etc. Click on the "color" button and choose from a handy popup; or just use [color=red] bbcode syntax.
</li>
<li>
Comment module improvements:
<ul>
<li>New block for adding comments directly from an item page.</li>
<li>Guests can now leave their name.</li>
</ul>
</li>
<li>
Added support in Link Items module to make thumbnails for URL links using webpage snapshots generated by an external program like <a href="http://khtml2png.sourceforge.net/" target="_blank">khtml2png</a>. Also, the arrow watermark on thumbnails is now optional.
</li>
<li>
Added RSS functionality: Comments for this album and its subalbums.
</li>
<li>
Added Quotas Block: This allows the site administrator to display a block in the theme that displays the current and total usage of any user that has a quota assigned.
</li>
<li>
Added an option to lock a user account to the current account settings. Useful if one wants to use a single user account for a group of users.
</li>
<li>
Newly created albums from User Albums module now properly inherit permissions from the parent album, for settings like comments, ratings, etc.
</li>
<li>
Moved some functionality out of core and into optional modules: Add items module for adding from local server or other web pages, and Replica module for creating item copies sharing the same original data file.
</li>
<li>
Option in EXIF/IPTC module to set title for new items from IPTC/ObjectName.
</li>
<li>
Improved usability in administration interface for installing modules and themes.
</li>
<li>
New Multiroot module assists in creating alternate guest views of a single Gallery.
</li>
<li>
Added exactSize and link parameters for image block.
</li>
<li>
Resize dimensions now accept percentages of full size in addition to pixel size.
</li>
<li>
Added support for PHP mysqli extension (newer version of mysql interface).
</li>
<li>
Support for <a href="http://www.microsoft.com/sql/" target="_blank">MSSQL</a> database.
</li>
<li>
Minimum PHP version now 4.3.0.
</li>
<li>
Microsoft IIS does not work with PHP-CGI due to a PHP/IIS bug. Microsoft recommends <a href="http://www.iis.net/default.aspx?tabid=1000051" target="_blank">FastCGI</a> instead and does not support PHP-CGI. Please use ISAPI PHP or FastCGI with IIS instead. Users of Apache on Windows can still use PHP-CGI (and mod_php or FastCGI).
</li>
</ol>
<h4>
Highlight of changes in Gallery 2.1 (Blackjack)
<span id="toggle-2-1" class="toggle" onclick="toggle('list-2-1', 'toggle-2-1')">+</span>
</h4>
<ol id="list-2-1" style="display:none">
<li>
New Ratings module allows users to vote for their favorite photos.
</li>
<li>
New RSS module provides syndication of your Gallery's content to the world, so users can track content updates.
</li>
<li>
New Floatrix theme based on our Matrix theme, with a collapsible sidebar and tableless design.
</li>
<li>
New module to support hidden items and albums. Hidden items are restricted from guest users until accessed by the direct URL. Migrate module now imports hidden items from G1 as hidden in G2 if this module is active.
</li>
<li>
New module to support password protected items and albums. Passwords are complementary to the G2 permission management. Passwords are impersonal while the G2 permission system handles access and rights for specific users and user groups.
</li>
<li>
New Reupload module allows replacing an image file while keeping the title, description, comments, etc.
</li>
<li>
New Permalinks module works with the URL Rewrite module to create short URLs using just the album name, as in Gallery 1.x.
</li>
<li>
New Linkitem module creates links to other albums or external URLs.
</li>
<li>
New module to import albums from <a href="http://www.picasa.com/" target="_blank">Picasa</a>.
</li>
<li>
New module to support <a href="http://www.google.com/webmasters/sitemaps/login" target="_blank">Google Sitemaps</a>.
</li>
<li>
New module for retrieving id3 tag information.
</li>
<li>
New link in comments module to view all recent comments. Also an option to require captcha for posting anonymous comments.
</li>
<li>
New option to apply album and theme settings recursively to all subalbums.
</li>
<li>
URL Rewrite module now supports IIS (isapi rewrite) and pathinfo.
</li>
<li>
Captcha module has an improved "medium" security level and now unifies configuration in captcha site admin for all modules making use of validation.
</li>