From e52a5458b96be46414a864a1052f696e1377953c Mon Sep 17 00:00:00 2001 From: Ruben Date: Sat, 11 Mar 2017 11:53:48 +0100 Subject: [PATCH] Loader process now also creates thumb --- server.py | 5 ++--- thumbs/1.jpg | Bin 0 -> 4104 bytes thumbs/10.jpg | Bin 0 -> 3085 bytes thumbs/100.jpg | Bin 0 -> 9879 bytes thumbs/101.jpg | Bin 0 -> 3789 bytes thumbs/102.jpg | Bin 0 -> 4585 bytes thumbs/103.jpg | Bin 0 -> 4096 bytes thumbs/104.jpg | Bin 0 -> 4176 bytes thumbs/105.jpg | Bin 0 -> 3571 bytes thumbs/106.jpg | Bin 0 -> 3694 bytes thumbs/107.jpg | Bin 0 -> 4746 bytes thumbs/108.jpg | Bin 0 -> 3900 bytes thumbs/109.jpg | Bin 0 -> 5431 bytes thumbs/11.jpg | Bin 0 -> 4329 bytes thumbs/110.jpg | Bin 0 -> 3934 bytes thumbs/111.jpg | Bin 0 -> 4272 bytes thumbs/112.jpg | Bin 0 -> 3949 bytes thumbs/113.jpg | Bin 0 -> 3699 bytes thumbs/114.jpg | Bin 0 -> 3600 bytes thumbs/115.jpg | Bin 0 -> 5332 bytes thumbs/116.jpg | Bin 0 -> 6323 bytes thumbs/117.jpg | Bin 0 -> 3762 bytes thumbs/118.jpg | Bin 0 -> 4302 bytes thumbs/119.jpg | Bin 0 -> 4042 bytes thumbs/12.jpg | Bin 0 -> 4930 bytes thumbs/120.jpg | Bin 0 -> 4156 bytes thumbs/121.jpg | Bin 0 -> 3956 bytes thumbs/122.jpg | Bin 0 -> 5226 bytes thumbs/123.jpg | Bin 0 -> 3750 bytes thumbs/13.jpg | Bin 0 -> 6409 bytes thumbs/14.jpg | Bin 0 -> 5386 bytes thumbs/15.jpg | Bin 0 -> 2881 bytes thumbs/16.jpg | Bin 0 -> 4444 bytes thumbs/17.jpg | Bin 0 -> 5654 bytes thumbs/18.jpg | Bin 0 -> 3877 bytes thumbs/19.jpg | Bin 0 -> 3970 bytes thumbs/2.jpg | Bin 0 -> 4208 bytes thumbs/20.jpg | Bin 0 -> 5728 bytes thumbs/21.jpg | Bin 0 -> 5017 bytes thumbs/22.jpg | Bin 0 -> 6005 bytes thumbs/23.jpg | Bin 0 -> 6150 bytes thumbs/24.jpg | Bin 0 -> 6752 bytes thumbs/25.jpg | Bin 0 -> 3684 bytes thumbs/26.jpg | Bin 0 -> 4924 bytes thumbs/27.jpg | Bin 0 -> 4774 bytes thumbs/28.jpg | Bin 0 -> 5188 bytes thumbs/29.jpg | Bin 0 -> 2670 bytes thumbs/3.jpg | Bin 0 -> 4693 bytes thumbs/30.jpg | Bin 0 -> 4334 bytes thumbs/31.jpg | Bin 0 -> 4190 bytes thumbs/32.jpg | Bin 0 -> 3878 bytes thumbs/33.jpg | Bin 0 -> 3158 bytes thumbs/34.jpg | Bin 0 -> 2841 bytes thumbs/35.jpg | Bin 0 -> 4263 bytes thumbs/36.jpg | Bin 0 -> 6515 bytes thumbs/37.jpg | Bin 0 -> 8254 bytes thumbs/38.jpg | Bin 0 -> 6623 bytes thumbs/39.jpg | Bin 0 -> 7626 bytes thumbs/4.jpg | Bin 0 -> 3833 bytes thumbs/40.jpg | Bin 0 -> 13349 bytes thumbs/41.jpg | Bin 0 -> 5951 bytes thumbs/42.jpg | Bin 0 -> 12030 bytes thumbs/43.jpg | Bin 0 -> 5770 bytes thumbs/44.jpg | Bin 0 -> 6381 bytes thumbs/45.jpg | Bin 0 -> 8646 bytes thumbs/46.jpg | Bin 0 -> 8028 bytes thumbs/47.jpg | Bin 0 -> 6378 bytes thumbs/48.jpg | Bin 0 -> 5282 bytes thumbs/49.jpg | Bin 0 -> 6118 bytes thumbs/5.jpg | Bin 0 -> 5612 bytes thumbs/50.jpg | Bin 0 -> 11358 bytes thumbs/51.jpg | Bin 0 -> 9228 bytes thumbs/52.jpg | Bin 0 -> 8060 bytes thumbs/53.jpg | Bin 0 -> 6008 bytes thumbs/54.jpg | Bin 0 -> 15324 bytes thumbs/55.jpg | Bin 0 -> 5324 bytes thumbs/56.jpg | Bin 0 -> 8024 bytes thumbs/57.jpg | Bin 0 -> 10813 bytes thumbs/58.jpg | Bin 0 -> 7484 bytes thumbs/59.jpg | Bin 0 -> 6507 bytes thumbs/6.jpg | Bin 0 -> 5480 bytes thumbs/60.jpg | Bin 0 -> 2499 bytes thumbs/61.jpg | Bin 0 -> 5097 bytes thumbs/62.jpg | Bin 0 -> 5020 bytes thumbs/63.jpg | Bin 0 -> 7106 bytes thumbs/64.jpg | Bin 0 -> 4453 bytes thumbs/65.jpg | Bin 0 -> 5899 bytes thumbs/66.jpg | Bin 0 -> 7178 bytes thumbs/67.jpg | Bin 0 -> 6037 bytes thumbs/68.jpg | Bin 0 -> 7189 bytes thumbs/69.jpg | Bin 0 -> 5789 bytes thumbs/7.jpg | Bin 0 -> 4794 bytes thumbs/70.jpg | Bin 0 -> 6885 bytes thumbs/71.jpg | Bin 0 -> 11397 bytes thumbs/72.jpg | Bin 0 -> 9837 bytes thumbs/73.jpg | Bin 0 -> 8489 bytes thumbs/74.jpg | Bin 0 -> 7290 bytes thumbs/75.jpg | Bin 0 -> 6096 bytes thumbs/76.jpg | Bin 0 -> 9724 bytes thumbs/77.jpg | Bin 0 -> 10684 bytes thumbs/78.jpg | Bin 0 -> 5050 bytes thumbs/79.jpg | Bin 0 -> 7530 bytes thumbs/8.jpg | Bin 0 -> 4751 bytes thumbs/80.jpg | Bin 0 -> 7186 bytes thumbs/81.jpg | Bin 0 -> 5339 bytes thumbs/82.jpg | Bin 0 -> 5259 bytes thumbs/83.jpg | Bin 0 -> 5112 bytes thumbs/84.jpg | Bin 0 -> 4459 bytes thumbs/85.jpg | Bin 0 -> 4683 bytes thumbs/86.jpg | Bin 0 -> 8367 bytes thumbs/87.jpg | Bin 0 -> 8684 bytes thumbs/88.jpg | Bin 0 -> 10639 bytes thumbs/89.jpg | Bin 0 -> 6212 bytes thumbs/9.jpg | Bin 0 -> 4013 bytes thumbs/90.jpg | Bin 0 -> 4971 bytes thumbs/91.jpg | Bin 0 -> 5035 bytes thumbs/92.jpg | Bin 0 -> 8369 bytes thumbs/93.jpg | Bin 0 -> 7547 bytes thumbs/94.jpg | Bin 0 -> 9178 bytes thumbs/95.jpg | Bin 0 -> 5881 bytes thumbs/96.jpg | Bin 0 -> 8082 bytes thumbs/97.jpg | Bin 0 -> 4903 bytes thumbs/98.jpg | Bin 0 -> 7640 bytes thumbs/99.jpg | Bin 0 -> 6338 bytes 124 files changed, 2 insertions(+), 3 deletions(-) create mode 100644 thumbs/1.jpg create mode 100644 thumbs/10.jpg create mode 100644 thumbs/100.jpg create mode 100644 thumbs/101.jpg create mode 100644 thumbs/102.jpg create mode 100644 thumbs/103.jpg create mode 100644 thumbs/104.jpg create mode 100644 thumbs/105.jpg create mode 100644 thumbs/106.jpg create mode 100644 thumbs/107.jpg create mode 100644 thumbs/108.jpg create mode 100644 thumbs/109.jpg create mode 100644 thumbs/11.jpg create mode 100644 thumbs/110.jpg create mode 100644 thumbs/111.jpg create mode 100644 thumbs/112.jpg create mode 100644 thumbs/113.jpg create mode 100644 thumbs/114.jpg create mode 100644 thumbs/115.jpg create mode 100644 thumbs/116.jpg create mode 100644 thumbs/117.jpg create mode 100644 thumbs/118.jpg create mode 100644 thumbs/119.jpg create mode 100644 thumbs/12.jpg create mode 100644 thumbs/120.jpg create mode 100644 thumbs/121.jpg create mode 100644 thumbs/122.jpg create mode 100644 thumbs/123.jpg create mode 100644 thumbs/13.jpg create mode 100644 thumbs/14.jpg create mode 100644 thumbs/15.jpg create mode 100644 thumbs/16.jpg create mode 100644 thumbs/17.jpg create mode 100644 thumbs/18.jpg create mode 100644 thumbs/19.jpg create mode 100644 thumbs/2.jpg create mode 100644 thumbs/20.jpg create mode 100644 thumbs/21.jpg create mode 100644 thumbs/22.jpg create mode 100644 thumbs/23.jpg create mode 100644 thumbs/24.jpg create mode 100644 thumbs/25.jpg create mode 100644 thumbs/26.jpg create mode 100644 thumbs/27.jpg create mode 100644 thumbs/28.jpg create mode 100644 thumbs/29.jpg create mode 100644 thumbs/3.jpg create mode 100644 thumbs/30.jpg create mode 100644 thumbs/31.jpg create mode 100644 thumbs/32.jpg create mode 100644 thumbs/33.jpg create mode 100644 thumbs/34.jpg create mode 100644 thumbs/35.jpg create mode 100644 thumbs/36.jpg create mode 100644 thumbs/37.jpg create mode 100644 thumbs/38.jpg create mode 100644 thumbs/39.jpg create mode 100644 thumbs/4.jpg create mode 100644 thumbs/40.jpg create mode 100644 thumbs/41.jpg create mode 100644 thumbs/42.jpg create mode 100644 thumbs/43.jpg create mode 100644 thumbs/44.jpg create mode 100644 thumbs/45.jpg create mode 100644 thumbs/46.jpg create mode 100644 thumbs/47.jpg create mode 100644 thumbs/48.jpg create mode 100644 thumbs/49.jpg create mode 100644 thumbs/5.jpg create mode 100644 thumbs/50.jpg create mode 100644 thumbs/51.jpg create mode 100644 thumbs/52.jpg create mode 100644 thumbs/53.jpg create mode 100644 thumbs/54.jpg create mode 100644 thumbs/55.jpg create mode 100644 thumbs/56.jpg create mode 100644 thumbs/57.jpg create mode 100644 thumbs/58.jpg create mode 100644 thumbs/59.jpg create mode 100644 thumbs/6.jpg create mode 100644 thumbs/60.jpg create mode 100644 thumbs/61.jpg create mode 100644 thumbs/62.jpg create mode 100644 thumbs/63.jpg create mode 100644 thumbs/64.jpg create mode 100644 thumbs/65.jpg create mode 100644 thumbs/66.jpg create mode 100644 thumbs/67.jpg create mode 100644 thumbs/68.jpg create mode 100644 thumbs/69.jpg create mode 100644 thumbs/7.jpg create mode 100644 thumbs/70.jpg create mode 100644 thumbs/71.jpg create mode 100644 thumbs/72.jpg create mode 100644 thumbs/73.jpg create mode 100644 thumbs/74.jpg create mode 100644 thumbs/75.jpg create mode 100644 thumbs/76.jpg create mode 100644 thumbs/77.jpg create mode 100644 thumbs/78.jpg create mode 100644 thumbs/79.jpg create mode 100644 thumbs/8.jpg create mode 100644 thumbs/80.jpg create mode 100644 thumbs/81.jpg create mode 100644 thumbs/82.jpg create mode 100644 thumbs/83.jpg create mode 100644 thumbs/84.jpg create mode 100644 thumbs/85.jpg create mode 100644 thumbs/86.jpg create mode 100644 thumbs/87.jpg create mode 100644 thumbs/88.jpg create mode 100644 thumbs/89.jpg create mode 100644 thumbs/9.jpg create mode 100644 thumbs/90.jpg create mode 100644 thumbs/91.jpg create mode 100644 thumbs/92.jpg create mode 100644 thumbs/93.jpg create mode 100644 thumbs/94.jpg create mode 100644 thumbs/95.jpg create mode 100644 thumbs/96.jpg create mode 100644 thumbs/97.jpg create mode 100644 thumbs/98.jpg create mode 100644 thumbs/99.jpg diff --git a/server.py b/server.py index b519137..c0c9764 100644 --- a/server.py +++ b/server.py @@ -21,7 +21,6 @@ config = { emotions = [ e for e in models.Emotion.select().order_by(models.Emotion.name)] - class MainHandler(tornado.web.RequestHandler): def get(self): loader.reset() @@ -73,7 +72,7 @@ class ColourHandler(tornado.web.RequestHandler): if lastGroup != artwork.group.name: imgHtml += "
%s
" % (artwork.group.id, artwork.group.name) lastGroup = artwork.group.name - imgHtml += "" % (artwork.id,artwork.id) + imgHtml += "" % (artwork.id,artwork.id) imgHtml += ""; statHtml = "