mason/.perl-lib/TrivGal.pm: Add a couple more size options.
authorMark Wooding <mdw@distorted.org.uk>
Mon, 12 Jun 2023 10:47:20 +0000 (11:47 +0100)
committerMark 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

index 80cce08..50c2f45 100644 (file)
@@ -148,6 +148,8 @@ export qw{%SIZE};
 our %SIZE = (smallthumb => 96,
             medthumb => 144,
             bigthumb => 228,
+            small => 480,
+            embed => 720,
             view => 1200);
 
 export qw{init};