forked from bgoglin/llgal
-
Notifications
You must be signed in to change notification settings - Fork 0
/
llgal.1
1313 lines (1079 loc) · 29.4 KB
/
llgal.1
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
.\" Process this file with
.\" groff -man -Tascii foo.1
.\"
.TH LLGAL 1 "NOVEMBER 2006"
.SH NAME
llgal \- On-line gallery generator
.SH SYNOPSIS
.B llgal
.I [-option1 -option2 ...]
.SH DESCRIPTION
.B llgal
is a quick and easy program for placing your images and movies online with
just one command-line. It generates a pretty good-looking set of static HTML
slides even with its default settings. To try it out just run
.B llgal
in a directory with
.BR "jpg" ", " "png" ", " "mpg" ", etc"
files and check the output in a web browser. You can adjust the
appearance of the image gallery with the many options listed below or
(if you know a bit of HTML) by modifying the
.I llgal.css
files in the
.I .llgal/
subdirectory that appeared in your image directory, or
by defining
.IR "indextemplate.html" " or " "slidetemplate.html" " files."
llgal also checks for the existence of a
.I $HOME/.llgal/
directory where users can store their own templates, overriding the
site-wide
.IR "/usr/share/llgal" "."
(See
.B FILES
for details).
The HTML webpages are generated from the templates by replacing
several fields
(See
.BR TEMPLATES ).
The layout might be configured through the list of options
that are given in
.BR "LAYOUT" "."
llgal uses all images and videos it finds in the current directory.
See
.B SELECTING FILES
to include directories or other files and excludes some filenames.
The index includes thumbnails that llgal generates from original
images.
It is possible to provide custom thumbnails by placing them in the
.I .llgal/
directory with the
.I mythumb_
prefix.
Custom thumbnails for movies have to be suffixed with an image-type
extension.
For instance, to enforce the thumbnail for image
.IR image.jpg " and movie " movie.avi ,
thumbnails may be named
.IR mythumb_image.jpg " and " mythumb_movie.avi.jpg .
The slide pages may include a scaled image in the
.B --sx
or
.B --sy
option is passed.
Similarly, it is also possible to define custom scaled images with the
.I myscaled_
prefix to appear in the slides.
Note that all command line options (except those from
.BR "BEHAVIOR OPTIONS" ),
and even more, might be stored in a configuration file
to help generation of multiple galleries with the same
layout.
See
.B CONFIGURATION
for details.
.SH BEHAVIOR OPTIONS
By default, llgal generates a gallery.
If one of the following option is passed,
it will process it and exit immediately.
.TP
.B --clean
Remove all files that llgal may have created earlier and that user did
not modify since.
.TP
.B --cleanall
Remove all files that llgal may have created earlier. This includes
thumbnails, scaled down slides, all HTML files, captions file, film
effect picture, indextemplate and slidetemplate and the style-sheet
file.
.TP
.B --gc
Generate slide captions in
.I .llgal/captions
file that you may edit. The format of this file is very simple.
.RB "See " CAPTIONS " for details."
These captions may then be modified by the user.
The file will be automatically used next time
.B llgal
is invoked.
.B --gc
might also be used to update the
.I captions
file when new files were added to the working directory.
.TP
.BI --gt " [<dir>]"
Copy template files to the directory.
The special value
.I local
might be used for the local
.I .llgal/
directory, while
.I user
might be used for the user
template directory
.IR $HOME/.llgal/ .
Any other directory is acceptable.
llgal will create the target directory if it does not exist.
The argument is optional.
Its default value is
.BR local .
See
.B FILES
for details about template files.
.TP
.B -h, --help
Display brief help.
.TP
.B -V, --version
Display llgal version.
.SH ADDITIONAL BEHAVIOR OPTIONS
llgal behavior may be modified with the following options,
either when generating a gallery or not.
.TP
.BI --config " <file>"
Read the file
.I file
as a configuration.
See
.B CONFIGURATION
for details.
Note that
.B --config
may be used several times on the same command line.
The corresponding configuration file option is
.IR additional_configuration_file .
.TP
.BI -d " <dir>"
Operate in directory
.I <dir>
when generating the HTML files, thumbnails and scaled images.
The default is the current directory.
.TP
.B -f
Force thumbnail regeneration. Also forces medium-slide regeneration if
.BR --sx " or " --sy
is given. Otherwise llgal will not regenerate these files if they
already exist, and you may end up with stale copies. Definitely use
.B -f
between two runs where you've changed the value of
.BR --tx ", " --ty ", " --sx " or " --sy "."
The corresponding configuration file option is
.IR force_image_regeneration .
.TP
.BI --gencfg " <file>"
Output configuration in
.I file
for future reutilization through
.BR --config "."
If
.B local
is passed as
.IR file ", then the local"
.B .llgal/llgalrc
file is created in each gallery that is processed (in case of recursion).
See
.B CONFIGURATION
for details.
.TP
.BI --option " 'variable = value'"
Configure using a configuration file option.
See
.B CONFIGURATION
for details.
Note that
.B --option
may be used several times on the same command line.
.TP
.B -R
Enable recursive mode.
llgal will be run inside subdirectories.
This option might be used either to generate galleries
in all subdirectories, or their captions files, or to
clean recursively, etc.
The corresponding configuration file option is
.IR recursive .
When generating a gallery, this option implies
.B -S
that means llgal will use all existing subdirectories in no captions
file is defined.
If a captions file is defined, only the
.B DIR:
entries will be entered recursively.
See
.B CAPTIONS
for details abour
Note that recursive behavior does only use the contents
of the captions file to choose which subgalleries to
enter when generating the gallery or the captions file.
All other behaviors, including recursive cleaning (
.B -R
used together with
.B --clean
or
.BR --cleanall ),
will
.B not
check whether a subdirectory is in the captions file.
All not-dot-beginning subdirectories will be cleaned.
.TP
.B -v, --verbose
Display notice messages.
The corresponding configuration file option is
.IR verbose .
.SH SELECTING FILES
.TP
.B -A
All files in the current directory will get a slides,
except .html or dot-beginning files.
Files are matched as images or movies first, and then
reverted as simple files instead.
The corresponding configuration file option is
.IR add_all_files .
See
.B -S
for details about adding slides for subdirectories.
.TP
.BI --exclude " <s>"
Exclude files whose name matches
.IR <s> .
The corresponding configuration file option is
.IR exclude .
.TP
.BI --include " <s>"
Include files whose name matches
.I <s>
and where previously excluded.
The corresponding configuration file option is
.IR include .
.TP
.BI -P " <subdir>"
Use photos in the subdirectory instead of the working directory.
May be used multiple times to group multiple subdirectories in the
same gallery.
The path of the subdirectory must be given as a relative path
(relative to
.BR . " or to the path given to " -d ")."
The corresponding configuration file option is
.IR section_dir .
.TP
.B --Pall
Use photos in all subdirectories all the working directory as if
.B -P
was used for all of them.
The corresponding configuration file option is
.IR recursive_sections .
.TP
.BI --Ps
Add a horizontal line and the subdirectory name as a title at
the beginning of each section.
The corresponding configuration file options are
.IR entitle_sections " and " separate_sections .
.TP
.B -S
Each subdirectory will get a dedicated slide.
If a captions file exists, only the subdirectories that
it defines will be processed.
If no captions file exists, llgal will process all subdirectories but
those whose name begins with a dot.
The corresponding configuration file option is
.IR add_subdirs .
Contrary to
.B -R
this option will not make llgal run recursively in subdirectories.
.B -S
does only define the list of subdirectories that appear
in the current gallery.
.SH LAYOUT OPTIONS
.TP
.B -a
Write image dimensions and sizes under each thumbnail on the index page,
and under each slide if
.BR --sx " or " --sy
was passed.
The corresponding configuration file options are
.IR show_dimensions " and " show_size .
This only works if the ImageMagick command
.B identify
is present.
.TP
.B --ad
Like
.B -a
but write only the image dimensions.
The corresponding configuration file option is
.IR show_dimensions .
.TP
.B --as
Like
.B -a
but write only the image sizes.
The corresponding configuration file option is
.IR show_size .
.TP
.BI --asu " <s>"
Define the unit used to show file sizes.
Default is \fB"kB"\fR.
The corresponding configuration file option is
.IR show_size_unit .
.TP
.BI --cc " [<s>]"
Generates
.I captions
from image comment tag.
If no argument is given, llgal first tries the standard comment (for
instance JFIF or GIF), then tries Exif comments if the previous
one is empty, and then tries Exif image description.
The corresponding configuration file option is
.IR make_caption_from_image_comment .
An argument such as
.I std
or
.I exif
or
.I exifdesc
might be added to force the use of only standard comment,
only Exif comment, or only Exif image description.
An argument such as
.I exif,std
will make llgal try Exif comment first.
An argument such as
.I std+exifdesc
will use the combination of standard comment and Exif description.
Passing
.B --cc
without argument is thus equivalent to passing
.B --cc
.IR std,exif,exifdesc .
.TP
.B --cf
Generates
.I captions
from file names (strips extension, except for directories).
The corresponding configuration file option is
.IR make_caption_from_filename .
.TP
.B --ct " [strftime_format]"
Add image timestamp tag to the generated captions,
and change its format if the optional argument is given
(replaces the old \-\-ctf option).
The corresponding configuration file option are
.IR make_caption_from_image_timestamp " and " timestamp_format_in_caption .
.TP
.BI --codeset " codeset"
Change the encoding in the header of the generated HTML pages.
By default, the encoding is got from the locale configuration.
The corresponding configuration file option is
.IR codeset .
.TP
.BI --exif " [<tag1,tag2,...>]"
Display a table of EXIF tags under each image slide.
The corresponding configuration file options are
.IR show_exif_tags " and " show_all_exif_tags .
If an argument is given, it contains a comma-separated list
of tags.
The tag names have to be passed as shown by
.BR "exiftool -list" .
If no argument is given, all available Exif tags are displayed.
The tags are displayed using their description as given by
.BR "exiftool -s myimage" .
.TP
.B --fe
Show a film effect in the index of thumbnails. The aspect of this
effect may be configured by replacing the tile file that llgal
puts in
.IR .llgal .
The corresponding configuration file option is
.IR show_film_effect .
.TP
.BI -i " <file>"
Name of the main thumbnail index file. The default is
.BR index ,
as desirable for most web servers.
The corresponding configuration file option is
.IR index_filename .
The default extension is
.B html
and might be changed with
.B --php
or the
.I www_extension
configuration option.
.TP
.B -k
Use the image captions for the HTML slide titles.
The default behavior is to use the image names.
The corresponding configuration file option is
.IR make_slide_title_from_caption .
.TP
.B -L
Do not create thumbnails for text and links (including video, file and url),
but list them as a text line between thumbnail rows in the main gallery index.
Might be used when the directory only contains subgalleries and thus does
not need any thumbnail.
The corresponding configuration file option is
.IR list_links .
.TP
.BI --lang " locale"
Change the locale used to translate the text that is automatically
generated in the HTML pages.
The corresponding configuration file option is
.IR language .
Note that the
.B LANGUAGE
environment variable might prevent this option from working if set.
.TP
.B --li
Replace link labels in slides (usually
.BR Index ", " Prev " and " Next )
with images (usually
.IR index.png ", " prev.png " and " next.png ).
The corresponding configuration file options are
.IR index_link_image ", " prev_slide_link_image " and " next_slide_link_image .
.TP
.B --lt
Replace link labels in slides (usually
.BR Prev " and " Next )
with a thumbnail to preview previous/next slide.
The corresponding configuration file options are
.IR prev_slide_link_preview " and " next_slide_link_preview .
If passed together with
.BR --li ,
thumbnail preview is used for links to previous/next slide
while the image is for the link to the index is kept.
.TP
.B -n
Use the image file names for the HTML slide files.
Otherwise the default behavior is to simply name your slides
.IR slide_1.html ", " slide_2.html ", "
and so on.
The corresponding configuration file option is
.IR make_slide_filename_from_filename .
.TP
.B --nc
Omit the image count from the captions.
The corresponding configuration file option is
.IR slide_counter_format .
.TP
.B --nf
Omit the link from scaled images in slides to full unscaled images.
The corresponding configuration file option is
.IR slide_link_to_full_image .
.TP
.BI -p " <n>"
The cellpadding value of the thumbnail index tables.
The default is
.BR 3 .
The corresponding configuration file option is
.IR index_cellpadding .
.TP
.B --php
Change the default extension of generated webpages from
.I html
to
.IR php .
The corresponding configuration file option is
.IR www_extension .
Note that template names are not modified and keep their
.I html
extension even if they contain some PHP code.
Note that llgal will only remove existing webpages corresponding to
this extension when generating a new gallery or cleaning.
.TP
.B --parent-gal
Add links to the parent directory.
The corresponding configuration file option is
.IR parent_gallery_link .
This option is used internally for recursive galleries, and
thus not documented in
.BR --help .
These links are stored as a header and a footer for the index.
The text in the links might be changed through the
.B parent_gallery_link_text
configuration option.
.TP
.B --Rl
Add links between subgalleries.
The corresponding configuration file option is
.IR link_subgalleries .
.TP
.B -s
For the simplest setup, omit all HTML slides.
Clicking the thumbnails on the main page will just take users to the plain image files.
The corresponding configuration file option is
.IR make_no_slides .
.TP
.BI --sort " [rev]<name|iname|size|time|none>"
Change sort criteria when scanning files in the working directory.
Default is \fB"name"\fR.
Setting to the empty string means
.BR none .
.BR iname " is case insensitive sort by names."
.BR date " means " time .
.BR rev " might be added for reverse sort."
The corresponding configuration file option is
.IR sort_criteria .
.TP
.BI --sx " <n>"
Instead of using the original image in the slides, insert a scaled
image whose width is less than
.BR <n> " pixels."
The corresponding configuration file option is
.IR slide_width_max .
Useful if your digital camera spits out large images, like 1600x1200.
Clicking on the scaled copies in the HTML slides lets users see the
full unscaled images.
The default is
.B 0
(width is unlimited).
You must use
.B -f
to force regeneration of scaled images if you want to change the value of
.BR --sx .
.TP
.BI --sy " <n>"
Instead of using the original image in the slides, insert a scaled
image whose height is less than
.BR <n> " pixels."
The corresponding configuration file option is
.IR slide_height_max .
Useful if your digital camera spits out large images, like 1600x1200.
Clicking on the scaled copies in the HTML slides lets users see the
full unscaled images.
The default is
.B 0
(height is unlimited).
You must use
.B -f
to force regeneration of scaled images if you want to change the value of
.BR --sy .
.TP
.BI --templates " <dir>"
Add a directory to the list of template locations.
The corresponding configuration file option is
.IR additional_template_dir .
.TP
.BI --title " <s>"
Substitutes the string
.I <s>
for
.B <!--TITLE-->
in the index.
The default is
.BR "Index of Pictures" .
It overrides the configuration file option
.IR index_title_default .
.TP
.BI --tx " <n>"
Scale thumbnails so that their width is at most
.IR <n> " pixels."
The default is
.BR 113 .
The corresponding configuration file option is
.IR thumbnail_width_max .
If
.B 0
is used, the width is unlimited.
Changing this value does not affect the maximal height (see
.BR --ty ).
You must use
.B -f
to force regeneration of thumbnails if you want to change the value of
.BR --tx .
.TP
.BI --ty " <n>"
Scale thumbnails so that their height is at most
.IR <n> " pixels."
The default is
.BR 75 .
The corresponding configuration file option is
.IR thumbnail_height_max .
Changing this value does not affect the maximal width (see
.BR --tx ).
You must use
.B -f
to force regeneration of thumbnails if you want to change the value of
.BR --ty .
.TP
.B -u
Write image captions under each thumbnail on the index page.
If you have a
.I captions
file, then the captions are read from there.
The corresponding configuration file option is
.IR show_caption_under_thumbnails .
.TP
.BI --uc " <url>"
Assume the CSS file is available on
.I <url>
and thus do not use a local one.
If ending with a slash, the CSS filename will be appended.
The corresponding configuration file option is
.IR css_location .
.TP
.BI --ui " <url>"
Assume that the filmtile image and index/prev/next slide link images
are available on
.I <url>
and thus do not use local ones.
Their filename will be appended to the given location.
Each image location may be also changed independently
(See
.B CONFIGURATION
for the list of configuration options).
The corresponding configuration file options are
.IR filmtile_location ", " index_link_image_location ", "
.IR prev_slide_link_image_location " and " next_slide_link_image_location .
.TP
.BI -w " <n>"
Set the thumbnail rows to be
.I <n>
images wide in the main index file.
Default is
.BR 5 .
The corresponding configuration file option is
.IR thumbnails_per_row .
.TP
.BI --wx " <n>"
Set the thumbnail rows to be
.I <n>
pixels wide at maximum.
The number of thumbnails per row, given in
.B -w
is reduced if necessary.
The corresponding configuration file option is
.IR pixels_per_row .
Default is to honor
.B -w
without regard to the resulting row width.
.TP
.B --www
Make all generated files world-readable.
The corresponding configuration file option is
.IR www_access_rights .
.SH CAPTIONS
When called with
.B --gc
llgal generates (or updates if already existing) the
.I captions
file in the
.I .llgal/
subdirectory.
When
.B --gc
is not passed, if the
.I captions
file exists, llgal will automatically use it to generate slide
captions in the gallery.
If
.I captions
does not exist, llgal generates captions on the fly and use them in
the gallery.
Generating the
.I captions
file with
.B --gc
before actually using it makes it possible to modify them
(especially to add comments)
or change the order of the slides in the gallery
.B IMG: <filename> ---- <caption>
.RS
defines an image (when omitted,
.B IMG:
is the default type).
.RE
.B MVI: <filename> ---- <linktext> ---- <caption>
.RS
defines a movie.
.RE
.B TXT: <text in slide> ---- <caption>
.RS
defines a text slide.
.RE
.B LNK: <url> ---- <linktext> ---- <caption>
.RS
defines a link slide.
.RE
.B LNKNOSLIDE: <url> ---- <linktext>
.RS
defines a direct link to the target, without any slide.
.RE
.B FIL: <url> ---- <linktext> ---- <caption>
.RS
defines a link to another file (typically neither an image nor a movie)
.RE
.B DIR: <dir> ---- <linktext> ---- <caption>
.RS
defines a subdirectory slide.
.RE
.B BREAK
.RS
forces a line break in the row of thumbnails
.RE
.B LINE
.RS
forces a line break in the row of thumbnails
and inserts a horizontal line.
.RE
.B TITLE: <title>
.RS
defines the title of the gallery.
.RE
.B INDEXHEAD: <one header>
.RS
defines a header (multiple ones are possible).
.RE
.B INDEXFOOT: <one footer>
.RS
defines a footer (multiple ones are possible).
.RE
.B PARENT: <linktext>
.RS
defines the label of the link to the parent gallery.
.RE
.B PREV: <linktext> ---- <url>
.RS
defines the label of the link to the previous gallery located by
.IR <url> .
.RE
.B NEXT: <linktext> ---- <url>
.RS
defines the label of the link to the next gallery located by
.IR <url> .
.RE
.B REPLACE: <text> ---- <replacement>
.RS
adds a substitution to be applied to generated HTML pages.
.RE
.TP
Note that you can use whatever HTML syntax in the captions.
.RE
Line beginning with a
.RI #
are ignored.
When generating a captions file, the
.I captions.header
file is inserted at the top of the file to detail
the syntax.
.SH CONFIGURATION
Before parsing command line options, llgal reads several configuration
files. It starts with
.I /etc/llgal/llgalrc
then reads
.I $HOME/.llgal/llgalrc
and finally the
.I .llgal/llgalrc
file in the gallery directory.
Additional configuration files may also be defined with the
.B --config
option.
These will be parsed during command-line parsing, when
.B --config
is met.
In case of recursive generation (with
.B -R
) in multiple subdirectories, the system- and user-wide configuration
files and those passed to
.B --config
are taken in account for all galleries.
However, only the local
.I .llgal/llgalrc
file is used for each gallery.
Especially, the one in the root gallery directory is only taken in
account when generating the root gallery, not when generating those
in subdirectories.
To use a same specific configuration file for the root gallery and all
subgalleries, the
.B --config
option may be used.
All these files may change llgal configuration in the same way command
line options do, and even more.
All following options may also be used on the command line through
.B --option
.IR "'variable = value'" .
See also the manpage of
.I llgalrc
or
.I /etc/llgal/llgalrc
for details about these options and their default values.
.SH THUMBNAILS AND SCALED IMAGES GENERATION
By default, llgal uses convert to create thumbnails and scaled images
(the ones that appear in the slides when
.IR --sx " or " --sy
was passed).
The command lines used to generate those images from your original images
are defined by the following configuration options:
.RS
.I scaled_create_command = "convert -scale <MAXW>x<MAXH> -- <IN> <OUT>"
.RE
.RS
.I thumbnail_create_command = "convert -scale <MAXW>x<MAXH> -- <IN> <OUT>"
.RE
You may change the value of these options to change the way the generation
is done.
.BR <IN> " and " <OUT>
will be replaced by
.B llgal
at runtime with the filename of the original and generated target images.
.BR <MAXW> " and " <MAXH>