Browse Source

force JPEG output, added My Hard-Drive Died Along With My Heart ,Thomas Walsklaar,2016

master
crunk 3 years ago
parent
commit
b9a42b219a
  1. 1
      library/csvparser/varlib.csv
  2. 4
      library/page.py
  3. 1
      library/static/css/style.css
  4. BIN
      library/static/images/image-65.jpg

1
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

Can't render this file because it has a wrong number of fields in line 10.

4
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):

1
library/static/css/style.css

@ -74,6 +74,7 @@ body:after {
}
#publication {
max-width: 640px;
margin-top: 3em;
}

BIN
library/static/images/image-65.jpg

Binary file not shown.

After

Width:  |  Height:  |  Size: 68 KiB

Loading…
Cancel
Save