diff --git a/library/csvparser/varlib.csv b/library/csvparser/varlib.csv index 64b14f7..8cfe2c6 100644 --- a/library/csvparser/varlib.csv +++ b/library/csvparser/varlib.csv @@ -54,3 +54,4 @@ Id,Publication,Author,Year,Custodian,Fields,Type,Publishers,License,LicenseShort 62,Snake rituals and switching circuits,Florian Cramer,2009,Danny,"mass communication, personal communication, new media",paperback,Piet Zwart Institute,Creative Commons Attribution-Share Alike 3.0,Creative Commons,The function of a medium is ultimately decided by its users and not by its creators,, 63,Magium issue 1: On Eating in isolation,Alice Strete,2020,Varia,"food, sharing, personal stories, consumption",zine,Self Published,Free Art License,Free Art License,,,No one 64,Networks of One's Own 2: three takes on taking care,"Varia, Constant and Colm O’Neill",2019,Danny,"Software, internet, taking care, homebrew",paperback,Varia,Copyleft,Copyleft,Networks Of One’s Own is a periodic para-nodal publication that is itself collectively within a network.,,Danny +65,My Hard-Drive Died Along With My Heart ,Thomas Walsklaar,2016,Varia,"Hard-drives, Data, Loss, Trust, Technology, collection, materiality, obsolescence, preservation, progress, writing ",paperback,Self Published, No License Mentioned,No License Mentioned,,"We always seem to be looking for a new technical solution for knowledge and information storage. We hope there is one magical, final solution, one that will solve every issu But easy solutions create their own problems. The perceived view of the stable nature of digital information differs from reality. There are many points of failure, like old physical formats, lost or non functional machines, companies that go bankrupt, file formats with no support in the future, or changing user licenses. It seems that the more technical the technology gets, the more problems it creates.",No one diff --git a/library/page.py b/library/page.py index b78037b..c60b6f4 100644 --- a/library/page.py +++ b/library/page.py @@ -138,8 +138,8 @@ def saveimage(image, id): new_height = int(new_width * orig_image.height / orig_image.width) resized_image = orig_image.resize((new_width, new_height), Image.ANTIALIAS) filename = secure_filename("image-{0}.jpg".format(id)) - resized_image.save(os.path.join("static/images/", filename)) - os.remove(os.path.join(APP.config['UPLOAD_FOLDER'], image.filename)) + resized_image.save(os.path.join("static/images/", filename), "JPEG") + os.remove(os.path.join(APP.config['UPLOAD_FOLDER'], image.filename)) def checksecret(secret): diff --git a/library/static/css/style.css b/library/static/css/style.css index e807965..f8f64d3 100644 --- a/library/static/css/style.css +++ b/library/static/css/style.css @@ -74,6 +74,7 @@ body:after { } #publication { + max-width: 640px; margin-top: 3em; } diff --git a/library/static/images/image-65.jpg b/library/static/images/image-65.jpg new file mode 100644 index 0000000..78c4a5a Binary files /dev/null and b/library/static/images/image-65.jpg differ