Commit Graph

9 Commits

Author SHA1 Message Date
Rasmus Kaj
965dcab486 Make photo size required in db. 2019-05-18 21:43:58 +02:00
Rasmus Kaj
ee7b497745 More work on sizing in image lists. 2019-05-12 17:27:01 +02:00
Rasmus Kaj
4d333741dd WIP: Edition 2018. 2019-03-26 18:10:00 +01:00
Rasmus Kaj
b3bcdec2dd Improve template markup for img size attrs. 2018-04-08 02:37:02 +02:00
Rasmus Kaj
fc1ed81561 Store width and height of images.
Use it to calculate width and height of small images in lists.

Since the old database should be migratable to the new, the width and
height fields are nullable.  I aim to make them not nullable later,
after all images in the database has got width and height.
2018-03-05 00:29:39 +01:00
Rasmus Kaj
7aa4a0fb30 Unify groups and index.
Remove the groups template, use the index template instead.

Remove the Group struct, add an optional title to the PhotoLink struct
instead.
2018-03-03 14:35:50 +01:00
Rasmus Kaj
0a6a7f8f1c Improve shoing of time spans. 2017-12-17 16:02:47 +01:00
Rasmus Kaj
8e7a3a36b6 Cleanup. 2017-11-20 10:27:27 +01:00
Rasmus Kaj
63fac99f27 Split long list for person in chunks. 2017-11-19 23:46:03 +01:00