chiark
/
gitweb
/
~mdw
/
tgal
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
6e51720
)
mason/.perl-lib/TrivGal.pm: Add a couple more size options.
author
Mark Wooding
<mdw@distorted.org.uk>
Mon, 12 Jun 2023 10:47:20 +0000
(11:47 +0100)
committer
Mark Wooding
<mdw@distorted.org.uk>
Mon, 12 Jun 2023 10:49:10 +0000
(11:49 +0100)
These are useful when images are embedded into documents such as blog
articles.
mason/.perl-lib/TrivGal.pm
patch
|
blob
|
blame
|
history
diff --git
a/mason/.perl-lib/TrivGal.pm
b/mason/.perl-lib/TrivGal.pm
index 80cce08b123923cc638373fe859705f6d6931718..50c2f45e031d3871f619fc108dc0d3343cf9a8c7 100644
(file)
--- a/
mason/.perl-lib/TrivGal.pm
+++ b/
mason/.perl-lib/TrivGal.pm
@@
-148,6
+148,8
@@
export qw{%SIZE};
our %SIZE = (smallthumb => 96,
medthumb => 144,
bigthumb => 228,
our %SIZE = (smallthumb => 96,
medthumb => 144,
bigthumb => 228,
+ small => 480,
+ embed => 720,
view => 1200);
export qw{init};
view => 1200);
export qw{init};