Add a new 2304x1728 resolution (twice 1152x864), for fitting better into 30-inch...
authorSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 7 Apr 2015 15:52:31 +0000 (17:52 +0200)
committerSteinar H. Gunderson <sgunderson@bigfoot.com>
Tue, 7 Apr 2015 15:52:31 +0000 (17:52 +0200)
files/pr0n-fullscreen.js
perl/Sesse/pr0n/Index.pm

index 8c02b45e13cad0a442f5442aae1c50d38b6148f8..fe31090131fd1b7a546482e2219ad0a5fb59c2db 100644 (file)
@@ -50,6 +50,7 @@ function find_width()
  * pick_image_size, below.
  */
 var fixed_sizes = [
+       [ 2304, 1728 ],
        [ 2048, 1536 ],
        [ 1920, 1440 ],
        [ 1600, 1200 ],
index 760e2421206d27eb49da9295e25ce300ceb82b75..22d233b1d26276cfe0e3ae94eb408a13af79b21b 100644 (file)
@@ -479,7 +479,7 @@ sub print_thumbsize {
 }
 sub print_viewres {
        my ($r, $event, $settings, $defsettings) = @_;
-       my @alternatives = qw(320x256 512x384 640x480 800x600 1024x768 1152x864 1280x960 1400x1050 1600x1200 1920x1440 2048x1536);
+       my @alternatives = qw(320x256 512x384 640x480 800x600 1024x768 1152x864 1280x960 1400x1050 1600x1200 1920x1440 2048x1536 2304x1728);
        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, -2, -2 ];