summaryrefslogtreecommitdiff
path: root/bin/dthumb
diff options
context:
space:
mode:
authorDaniel Friesel <derf@finalrewind.org>2021-04-08 11:59:16 +0200
committerDaniel Friesel <derf@finalrewind.org>2021-04-08 11:59:16 +0200
commit9b243c81dac2a08e3cc1436d28903433b7c6f1da (patch)
tree060cee9978182736c7dde97e4a0fdca33518080b /bin/dthumb
parent8a3a3d1e723a0e5b803ebf9f122c28d1d1052208 (diff)
add optional HTML include header
Diffstat (limited to 'bin/dthumb')
-rwxr-xr-xbin/dthumb5
1 files changed, 5 insertions, 0 deletions
diff --git a/bin/dthumb b/bin/dthumb
index 32931f9..6e94c84 100755
--- a/bin/dthumb
+++ b/bin/dthumb
@@ -24,6 +24,7 @@ GetOptions(
$opt,
qw{
all|a
+ header=s
help|h
no-names|n
quality|q=i
@@ -137,6 +138,10 @@ no border at all, etc.
Set HTML document title. Defaults to the basename of the current directory
+=item B<--header> I<file>
+
+Include I<file> contents in the generated HTML, right after the opening div tag.
+
=item B<-q>, B<--quality> I<int> (default: 75)
Set thumbnail quality.