Remove the thumbsize selector; 320x256 is where it is at.
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 19 Nov 2015 18:01:13 +0000 (19:01 +0100)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Thu, 19 Nov 2015 18:01:13 +0000 (19:01 +0100)
perl/Sesse/pr0n/Index.pm
templates/bilder.knatten.com/thumbsize [deleted file]
templates/default/thumbsize [deleted file]
templates/images.tg05.gathering.org/thumbsize [deleted file]
templates/itk-bilder.samfundet.no/thumbsize [deleted file]
templates/skoyen.bilder.knatten.com/thumbsize [deleted file]
templates/skoyen.bildereks.knatten.com/thumbsize [deleted file]

index eca84793e1c6ebe0f338673a5a2ed0ff0cf3697c..cd1338631b08e7ce48dc7658416db768a888ded6 100644 (file)
@@ -41,8 +41,8 @@ sub handler {
 
        # Read the appropriate settings from the query string into the settings hash
        my %defsettings = (
-               thumbxres => 80,
-               thumbyres => 64,
+               thumbxres => 320,
+               thumbyres => 256,
                xres => -1,
                yres => -1,
                start => 1,
@@ -220,7 +220,6 @@ sub handler {
                        Sesse::pr0n::Templates::print_template($r, $io, "overloadmode");
                }
 
-               print_thumbsize($r, $io, $event, \%settings, \%defsettings);
                print_viewres($r, $io, $event, \%settings, \%defsettings);
                print_pagelimit($r, $io, $event, \%settings, \%defsettings);
                print_infobox($r, $io, $event, \%settings, \%defsettings);
@@ -451,13 +450,6 @@ sub print_changes {
        $io->print("    </p>\n");
 }
 
-sub print_thumbsize {
-       my ($r, $io, $event, $settings, $defsettings) = @_;
-       my @alternatives = qw(80x64 120x96 160x128 240x192 320x256);
-
-       print_changes($r, $io, $event, 'thumbsize', $settings, $defsettings,
-                     'thumbxres', 'thumbyres', \@alternatives);
-}
 sub print_viewres {
        my ($r, $io, $event, $settings, $defsettings) = @_;
        my @alternatives = qw(320x256 512x384 640x480 800x600 1024x768 1152x864 1280x960 1400x1050 1600x1200 1920x1440 2048x1536 2304x1728);
diff --git a/templates/bilder.knatten.com/thumbsize b/templates/bilder.knatten.com/thumbsize
deleted file mode 100644 (file)
index d579ae0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Størrelse på småbilder
diff --git a/templates/default/thumbsize b/templates/default/thumbsize
deleted file mode 100644 (file)
index 037f0b2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Maximum thumbnail size
diff --git a/templates/images.tg05.gathering.org/thumbsize b/templates/images.tg05.gathering.org/thumbsize
deleted file mode 100644 (file)
index 037f0b2..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Maximum thumbnail size
diff --git a/templates/itk-bilder.samfundet.no/thumbsize b/templates/itk-bilder.samfundet.no/thumbsize
deleted file mode 100644 (file)
index d579ae0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Størrelse på småbilder
diff --git a/templates/skoyen.bilder.knatten.com/thumbsize b/templates/skoyen.bilder.knatten.com/thumbsize
deleted file mode 100644 (file)
index d579ae0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Størrelse på småbilder
diff --git a/templates/skoyen.bildereks.knatten.com/thumbsize b/templates/skoyen.bildereks.knatten.com/thumbsize
deleted file mode 100644 (file)
index d579ae0..0000000
+++ /dev/null
@@ -1 +0,0 @@
-Størrelse på småbilder