Add two extra notches of resolution, for the Googlers with huge screens.
authorSteinar H. Gunderson <sesse@debian.org>
Thu, 29 May 2008 01:31:15 +0000 (03:31 +0200)
committerSteinar H. Gunderson <sesse@debian.org>
Thu, 29 May 2008 01:31:15 +0000 (03:31 +0200)
files/pr0n-fullscreen.js
perl/Sesse/pr0n/Index.pm

index 7b890036f93a695559f5ad85aec941b2e4c2ea2a..1d82ebc3280e05631a01c4ee62488479cf689e89 100644 (file)
@@ -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 ],
index df06bcee438f271002b2081bd6b491ee08ed6c44..08491bb775830224f4e99a2d281c46a0276e0853 100644 (file)
@@ -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 ];