From 0d94c302534584de439b115a9140ceac4163fd69 Mon Sep 17 00:00:00 2001 From: "Steinar H. Gunderson" Date: Thu, 29 May 2008 03:31:15 +0200 Subject: [PATCH] Add two extra notches of resolution, for the Googlers with huge screens. --- files/pr0n-fullscreen.js | 2 ++ perl/Sesse/pr0n/Index.pm | 2 +- 2 files changed, 3 insertions(+), 1 deletion(-) diff --git a/files/pr0n-fullscreen.js b/files/pr0n-fullscreen.js index 7b89003..1d82ebc 100644 --- a/files/pr0n-fullscreen.js +++ b/files/pr0n-fullscreen.js @@ -64,6 +64,8 @@ function parse_image_num(url, default_value) { * pick_image_size, below. */ var fixed_sizes = [ + [ 2048, 1536 ], + [ 1920, 1440 ], [ 1600, 1200 ], [ 1400, 1050 ], [ 1280, 960 ], diff --git a/perl/Sesse/pr0n/Index.pm b/perl/Sesse/pr0n/Index.pm index df06bce..08491bb 100644 --- a/perl/Sesse/pr0n/Index.pm +++ b/perl/Sesse/pr0n/Index.pm @@ -476,7 +476,7 @@ sub print_thumbsize { } sub print_viewres { my ($r, $event, $settings, $defsettings) = @_; - my @alternatives = qw(320x256 512x384 640x480 800x600 1024x768 1152x864 1280x960 1400x1050 1600x1200); + my @alternatives = qw(320x256 512x384 640x480 800x600 1024x768 1152x864 1280x960 1400x1050 1600x1200 1920x1440 2048x1536); chomp (my $unlimited = Sesse::pr0n::Templates::fetch_template($r, 'viewres-unlimited')); chomp (my $original = Sesse::pr0n::Templates::fetch_template($r, 'viewres-original')); push @alternatives, [ $unlimited, undef, undef ]; -- 2.39.2