diverse fixes
This commit is contained in:
@@ -67,7 +67,8 @@ def thumb(size=64,name=''):
|
||||
image=image.rotate(270, expand=True)
|
||||
elif exif[orientation] == 8:
|
||||
image=image.rotate(90, expand=True)
|
||||
thumb=ImageOps.fit(image,s,Image.ANTIALIAS)
|
||||
thumb=ImageOps.fit(image,s,Image.ANTIALIAS)
|
||||
|
||||
print("writing %s"% thumb_name)
|
||||
|
||||
os.makedirs(thumb_path,exist_ok=True)
|
||||
@@ -80,7 +81,7 @@ def thumb(size=64,name=''):
|
||||
return send_from_directory(os.path.join("../thumbs","thumbs_%i" % size),name)
|
||||
|
||||
|
||||
@page_blueprint.route('/<path:name>/',strict_slashes=True)
|
||||
@page_blueprint.route('/<path:name>/',strict_slashes=False)
|
||||
@page_blueprint.route('/')
|
||||
def post(name=''):
|
||||
print("Post: %s" % name)
|
||||
|
||||
@@ -1,11 +1,9 @@
|
||||
{# -*-jinja2-*- #}
|
||||
<html>
|
||||
<!DOCTYPE html>
|
||||
<html>
|
||||
<head>
|
||||
|
||||
<meta name="viewport" content="width=device-width, initial-scale=1.0">
|
||||
<link rel="shortcut icon" href="https://www.fet.at/logo2014_64.png">
|
||||
<link rel="shortcut icon" href="galleries/logo2014_64.png">
|
||||
|
||||
<link rel="alternate" hreflang="de" href="/de/home/search" />
|
||||
<link rel="alternate" hreflang="en" href="/en/home/search" />
|
||||
@@ -14,7 +12,6 @@
|
||||
<link rel="stylesheet" href="/galleries/css/blueimp-gallery.min.css" />
|
||||
|
||||
|
||||
|
||||
<script src="https://www.fet.at/assets/application-7cbec5b180d121b587cfe58e2d4517d1.js" type="text/javascript"></script>
|
||||
<title>Fetsite</title>
|
||||
</head>
|
||||
|
||||
Reference in New Issue
Block a user