crccheck / gallery-cms

A simple online gallery where the images are the database.
GNU General Public License v3.0
3 stars 0 forks source link

Thumbail generation #5

Closed crccheck closed 8 years ago

crccheck commented 8 years ago

Think Flickr. They always show a thumbnail but you can still get the original

Will need to go through files in two passes.

  1. group by unique item
  2. Item

Thumbnails should be named the same but have obvious generated content at the end of the filename.

crccheck commented 8 years ago

Not exif embedded thumbnails. Just regular downsampled thumbnails. Blocked by #18

crccheck commented 8 years ago

Current thought is to store everything in redis and render on demand. I'm using redis already. I really want this project to be database-less, but oh well. Maybe with a generic cache backend that supported files...

I've used dogpile before http://dogpilecache.readthedocs.io/en/latest/api.html#redis-backends http://dogpilecache.readthedocs.io/en/latest/api.html#file-backends

But the file backend uses dbm, not actual files. That's a -1