Add 1600px size. Remove unused 800px size.

This commit is contained in:
Joachim Tingvold 2014-03-16 15:03:54 +01:00
parent 20fe79eb4e
commit c9ce27eb87
2 changed files with 3 additions and 3 deletions

View File

@ -104,7 +104,7 @@ class Album(object):
return None
class Photo(object):
thumb_sizes = [ (75, True), (150, True), (640, False), (800, False), (1024, False) ]
thumb_sizes = [ (75, True), (150, True), (640, False), (1024, False), (1600, False) ]
def __init__(self, path, thumb_path=None, attributes=None):
self._path = trim_base(path)
self.is_valid = True

View File

@ -27,7 +27,7 @@ $(document).ready(function() {
var previousPhoto = null;
var originalTitle = document.title;
var photoFloat = new PhotoFloat();
var maxSize = 800;
var maxSize = 1024;
/* Displays */
@ -314,7 +314,7 @@ $(document).ready(function() {
$("#fullscreen-divider").show();
$("#fullscreen").show().click(function() {
$("#photo").fullScreen({callback: function(isFullscreen) {
maxSize = isFullscreen ? 1024 : 800;
maxSize = isFullscreen ? 1600 : 1024;
showPhoto();
}});
});